Robert Millan <email@example.com> (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 --bind /tmp/.X11-unix /home/foo/chroots/sid/tmp/.X11-unix - cp ~foo/.Xauthority /home/foo/chroots/sid/root in the chroot: - apt-get install x11-utils - DISPLAY=:0 xmessage mraw No need to mess around with xhost… > 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… Mraw, KiBi.
Description: Digital signature