Ok I got it the X11 & chroot issue resolved. Here is what I did in
case someone has the same problem:

EDIT /etc/fstab on your original system (non-chroot)

# Setup chroot system

proc-exp        /mnt/exp/proc   proc    none            0       0
/tmp            /mnt/exp/tmp    none    bind            0       0
/home           /mnt/exp/home   none    bind            0       0

For convenience, I have created an alias in my .bashrc:

alias exp='xhost local:localhost; sudo chroot /mnt/exp /bin/bash'

Make sure you have the xclient stuff installed inside the chroot.

I hope this helps,
Alex


On 7/3/06, Alexander Horn <[EMAIL PROTECTED]> wrote:
I have setup chroot on my machine. How would I bring up (say) xlogo
from within the chroot? My goal is to avoid having another separate
xserver for the chroot. So I was thinking to enable SSH/chroot with
XForwarding. However, I would like to find a better solution that uses
the socket for X directly from within the jail. Has anyone a good
idea?  Thanks,

--
Alexander Horn
http://www2.truman.edu/~ah428



--
Alexander Horn
http://www2.truman.edu/~ah428

-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------

Reply via email to