Re: X11 clients in chroot

2011-08-10 Thread Cyril Brulebois
Robert Millan r...@debian.org (10/08/2011): I've mounted /home and /tmp with nullfs, and verified that both ~/.Xauthority and /tmp/.X11-unix/X0 are present (and that the latter is a socket). On Linux, this is sufficient, with foo being the user running the :0 display, on the host: - mount

Re: X11 clients in chroot

2011-08-10 Thread Timo Juhani Lindfors
Hi, Cyril Brulebois k...@debian.org writes: No need to mess around with xhost… Indeed. My recipe is $ curl http://lindi.iki.fi/lindi/schroot.txt 1) sudo apt-get install debootstrap schroot 2) sudo mkdir /sid 3) sudo debootstrap sid /sid http://ftp.fi.debian.org/debian 4) Add the following to

Re: X11 clients in chroot

2011-08-10 Thread Robert Millan
2011/8/10 Cyril Brulebois k...@debian.org: I might be missing something here, this used to be tricky.  Or perhaps there's a bug somewhere? Running gdm3 maybe? In which case, that brain-damaged thing stores ~/.Xauthority under the (/var)/run directory… Yes, running gdm3. I notice a pair of

Re: X11 clients in chroot

2011-08-10 Thread Timo Juhani Lindfors
Robert Millan r...@debian.org writes: no effect. How are programs inside the chroot supposed to know about this directory anyway? gdm3 is not installed there. The XAUTHORITY environment variable. -Timo -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of