View Full Version : X programs from chroot
rdmelin
06-13-2003, 09:07 PM
I would like to be able to run X programs (e.g. synaptic) from my chrooted source directory and have them use the display of my host system. Can someone tell me what I need to do to make that happen. A recent post covered how to start kde from chroot using Xnest and that worked as advertized but its not what I need. I have started sshd on the chrooted system and used X forwarding via ssh but it seems there should be a simpler way. Sorry if this has been covered and I missed it.
Ghandalfar
06-14-2003, 12:54 PM
enable incoming connections on you X11
then in your chroot do:
export DISPLAY=":0"
and it will work :)
rdmelin
06-15-2003, 11:06 PM
Thanx. That did the trick. :)
ignuu2
08-20-2003, 01:51 PM
It didn't work for me. I enabled x connections with xhost+ and it said clients could connect from anywhere but chroot still tells me can't connect to X server :0
How do I enable the connection?
ignuu2
08-20-2003, 02:27 PM
It worked but I had to export my display to 127.0.0.1:0
thanks
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.