Perhaps xhost should output some error message if you attempt to do a 'xhost +localhost' on a X server that isn't listening to TCP connections? It would be nice if it output an error message that provided information such as the following, or that made it easy to look up.
For the benefit of anyone else who hits this 'bug', I've found it easy to work around: For the purposes of allowing a chroot jail to communicate to the X server, the following is sufficient: xhost +local: mount --bind /tmp/.X11-unix /choot_jail/tmp/.X11-unix This can be tested with the chroot using sudo apt-get install xclock (DISPLAY=:0.0 xclock) Using xterm instead of xclock can fail if you haven't run MAKEDEV pty in /chroot_jail/dev Whenever I've used X over a network, 'ssh -Y' has sufficed. -- xhost +localhost does not work https://bugs.launchpad.net/bugs/182252 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
