[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X Display does not work without devices



On Thu, Jan 12, 2006 at 08:48:17PM +0100, Sjoerd wrote:
> I followed the Debian AMD64 HOWTO to set up a chroot environment with an 
> ia32 setup in it. However, when I tried to start up a program, I got the 
> following error:
> 
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> The following seemed to solve this (in the chroot, as root):
> # cd /dev
> # ./MAKEDEV generic-i386

You failed to bind mount /dev to the chroot.  If this isn't in the
howto, it should be.

> Furthermore, do not try to run X programs as root, it will probably not 
> work.
> 
> Just for your information and for people who also get this error.

dchroot I believe passes the X environment variables through.  Of course
/home must be bind mounted too for everything to work properly.

Len Sorensen



Reply to: