-   Debian (
-   -   cant open display within 32bit sarge chroot (

linuxmandrake 12-17-2005 09:49 AM

cant open display within 32bit sarge chroot
I dont understand why I cant access xserver within the chroot. I am using dchroot to login. when I do dchroot xclock it works fine however when I do dchroot then xclock when am logged onto the chroot it says "cant open display". I have binded my config file to /etc/X11/ of chroot like this

mount --bind /etc/X11/XF86Config-4 "$CHROOTDIR/etc/X11/XF86Config-4"
when i do mount it shows it has mounted to the correct place

/etc/X11/XF86Config-4 on /var/chroot/sarge/etc/X11/XF86Config-4 type none (rw,bind)
any ideas?

Matir 12-17-2005 10:57 AM

I don't think you can bind mount a single file or directory, only a full filesystem, to another point. You could make a copy or a hard link, which would probably be more successful. Also, posting the exact error message regading the display might be helpful.

linuxmandrake 12-17-2005 10:59 AM

thanks that helped alot

All times are GMT -5. The time now is 06:19 PM.