Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chroot and xorg - Running 64 and 32 bit X at the same time??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
jsnorman
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2005
Posts: 131

PostPosted: Fri Mar 04, 2005 5:53 am    Post subject: Chroot and xorg - Running 64 and 32 bit X at the same time?? Reply with quote

I am currently emerging a basic 32 bit chroot. I need the 32 bit chroot because I could not get ICA and Java working with firefox, netscape or mozilla in 64 bit but I do not understand how to run both 32 bit inside of 64 bit.

The docs say:
mount -o bind /tmp /mnt/gentoo32/tmp
xhost local:localhost
linux32 chroot /mnt/32-bit /bin/bash --login

Here are my questions, most importantly the ** ones:

1. Do I run the foregoing commands from within 64 bit X before chrooting (I assume this is right)?
2. Must I be root when I run these commands?
** 3. Once inside the chroot, when I fire up X, will I be able to switch between the 32 bit session and the 64 bit session?
** 4. Do I run the fglxconfigure program (I have a radeon) INSIDE the chroot to create the xorg.conf file? Or can I just copy over my working file from my 64 bit install? Or do I need to setup a special pipe of some kind to run within another X session????
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 973
Location: New Zealand

PostPosted: Fri Mar 04, 2005 8:36 am    Post subject: Reply with quote

Bind all (tmp, proc, dev) directories, not just one. You will need to be root. Do this before executing chroot.
xhost may be run as a normal user within an xterm.
Having run xhost, do the chroot (your command line above is fine) in an xterm as root.
Maybe drop privileges: su - your_login
Indicate your X server by: export DISPLAY=:0.0
Run a gui program: firefox &
Back to top
View user's profile Send private message
jsnorman
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2005
Posts: 131

PostPosted: Fri Mar 04, 2005 5:44 pm    Post subject: Reply with quote

Works like a charm - THANKS!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum