[KLUG Members] Re: Xwindow system and chroot

Peter Buxton somercet at core.com
Tue Jul 6 08:02:41 EDT 2004


On Sun, Jul 04, 2004 at 10:59:20PM +0530, komal was only escaped
   alone to tell thee:

> (c) So I mounted /dev/hda7 my Fedora Core 2 partition on /mnt/hda7 and
> chrooted to /mnt/hda7.
> 
> (d) Then I ran xmms from the root console in chrooted environment and after
> while I got error that critical error unable to open display.

You need two of three things to run an X program:

1. TCP access to the X server, or

2. X server's Unix domain socket (usually /tmp/.X11-unix/X0) and

3. The proper key in ~/.Xauthority

You need the third and either the first or second.

-- 
Black Ops. Silent, undetected and above all
*untraceable* acts of system administration.


More information about the Members mailing list