Re: X programs inside chroot

2006-10-04 Thread Lubos Vrbka
hi, I solved my own problem, Here is the solution: I bind mounted /tmp in the chroot (e.g. mount --bind /tmp /chroots/sarge-ia32/tmp). Why did this solve the problem? * The X server on the host did not have a TCP/IP listener, only a unix * domain listener (e.g. /tmp/.X11-unix) which was not

RE: X programs inside chroot

2006-10-02 Thread Stephen Yorke
I may be wrong on this BUT... I have just done a similar task for a LiveCD which I created and in order to run X programs from within a CHROOT environment I had to do 2 things... First, on your actual box within X, run Xnest -ac :1 Second, with in your CHROOT, run export DISPLAY=localhost:1 or

Re: X programs inside chroot

2006-10-02 Thread James Richardson
James Richardson wrote: Greetings! I have setup an i386 chroot (sarge) on my amd64 (also sarge) on my laptop. However I cannot run X programs inside. I get the error can't open display: :0.0. I get the error from xterm and OpenOffice. I have mount /proc inside the chroot. At first I

Re: X programs inside chroot

2006-10-02 Thread James Richardson
James Richardson wrote: Greetings! I have setup an i386 chroot (sarge) on my amd64 (also sarge) on my laptop. However I cannot run X programs inside. I get the error can't open display: :0.0. I get the error from xterm and OpenOffice. I have mount /proc inside the chroot. At first I