View previous topic :: View next topic |
Author |
Message |
mwiertz Tux's lil' helper
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Thu Aug 26, 2004 5:46 pm Post subject: *panel |
|
|
Hi there,
I was just wondering if there someone running on of the *panels (fbpanel, perlpanel and/or pypanel) under 64 bit - I wasn't able to get them up and running without crashes and errors etc.
please let me know...
thanx |
|
Back to top |
|
|
rush_ad l33t
Joined: 22 Jul 2004 Posts: 863 Location: New Jersey, USA
|
Posted: Thu Aug 26, 2004 7:53 pm Post subject: |
|
|
not sure about amd64 but fbpanel works well on my 32. |
|
Back to top |
|
|
mwiertz Tux's lil' helper
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Mon Aug 30, 2004 7:53 pm Post subject: |
|
|
got two panels running now in a 32bit chroot environment: fbpanel and pypanel
but now while i'm starting them via sudo they start as root - that's a pitty, at least in the pypanel case, because then the configuration file has to be in the /root dir...
is it possible to start apps as a normal user in the chroot? |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
|
Back to top |
|
|
mwiertz Tux's lil' helper
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Tue Aug 31, 2004 7:03 pm Post subject: |
|
|
thanx, really great - gonna try that one as soon as I'm at home tonight... didn't know that sudo takes a command |
|
Back to top |
|
|
mwiertz Tux's lil' helper
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Fri Sep 03, 2004 12:18 pm Post subject: |
|
|
OK - I did the trick for fbpanel and perlpanel too, but now I'm running into the next problem...
both panel have a menu - but starting applications from it seems impossible - I always get errors - the cause seems to be that the panel is running in the 32bit chroot enviroment and tries to access (start) binaries outside it (in the 64bit environment)...
Is it possible to get it working anyway?
thanx |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Fri Sep 03, 2004 12:33 pm Post subject: |
|
|
From inside a chroot you can't see anything outside... unless it's been mounted using mount --bind.
Sadly any way of doing this will put you right back where you started... you'll have 64-bit programs unable to run because they can't find their 64-bit libraries.
So, er... actually. I have an idea so crazy it might just work
You could use mount --bind to mount your root partition inside the chroot, then chroot to it to get back into 64-bit territory!
So if your first chroot is /mnt/gentoo32, you'll need to have /mnt/gentoo32/mnt/gentoo64 as well.
So, from outside the chroot:
Code: |
mkdir /mnt/gentoo32/mnt/gentoo64
mount --bind / /mnt/gentoo32/mnt/gentoo64
|
Then, from inside the 32-bit chroot, you should be able to do:
Code: |
chroot /mnt/gentoo64 linux64 /bin/bash
|
And be back in 64-bit space! Then you can use sudo to run 64-bit binaries from 32-bit space.
This strikes me as incredibly amusing |
|
Back to top |
|
|
mwiertz Tux's lil' helper
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Fri Sep 03, 2004 12:42 pm Post subject: |
|
|
I would realy like to try this, sounds amusing to me too - but there is no linux64 command (binary) inside my 32bit chroot - any clue where could get this from (which ebuild)?
thanx |
|
Back to top |
|
|
mwiertz Tux's lil' helper
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Fri Sep 03, 2004 12:52 pm Post subject: |
|
|
found it myself in the meanwhile - it's in sys-apps/linux32
emerged it and gave it a try and.... believe it or not: it works...
have to mount some more filesystems (like /home etc) to get everything up and running... but basicly it works - cool!
|
|
Back to top |
|
|
mwiertz Tux's lil' helper
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Fri Sep 03, 2004 1:51 pm Post subject: |
|
|
Hi,
in the meanwhile I found another solution to my original problem too - I just emerge perlpanel so I get all the needed dependencies - then I unmerge perlpanel and build and install the new version (0.7) I downloaded from jodrell.net by hand... and now it works perfectly under 64 bit |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Fri Sep 03, 2004 2:27 pm Post subject: |
|
|
|
|
Back to top |
|
|
Bill Cosby Guru
Joined: 22 Jan 2005 Posts: 430 Location: Aachen, Germany
|
|
Back to top |
|
|
Bill Cosby Guru
Joined: 22 Jan 2005 Posts: 430 Location: Aachen, Germany
|
|
Back to top |
|
|
|