Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-17-2005, 10:49 AM   #1
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
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?

Last edited by linuxmandrake; 12-17-2005 at 10:51 AM.
Old 12-17-2005, 11:57 AM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
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.
Old 12-17-2005, 11:59 AM   #3
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
thanks that helped alot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD64 - 3d accel in a 32bit chroot don't work ssobeht Debian 2 12-22-2005 11:11 AM
debian stuck within 32bit chroot on 64bit sarge linuxmandrake Debian 8 12-13-2005 04:01 PM
chroot 32bit on 64bit install of sarge linuxmandrake Debian 1 12-06-2005 11:14 AM
Debian 32bit chroot setup question Oxyacetylene Debian 4 11-28-2005 09:01 AM
chroot for 32bit progs in debian64 port Jaster Debian 2 03-06-2005 09:34 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration