Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
*panel
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
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Thu Aug 26, 2004 5:46 pm    Post subject: *panel Reply with quote

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
View user's profile Send private message
rush_ad
l33t
l33t


Joined: 22 Jul 2004
Posts: 863
Location: New Jersey, USA

PostPosted: Thu Aug 26, 2004 7:53 pm    Post subject: Reply with quote

not sure about amd64 but fbpanel works well on my 32.
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Mon Aug 30, 2004 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tsonn
Guru
Guru


Joined: 03 Jun 2004
Posts: 550

PostPosted: Tue Aug 31, 2004 4:17 pm    Post subject: Reply with quote

Yes -- use sudo to run su. Root can su to any user without a password. There's more detail over in the 32-bit chroot topic:

https://forums.gentoo.org/viewtopic.php?t=183173
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Tue Aug 31, 2004 7:03 pm    Post subject: Reply with quote

thanx, really great - gonna try that one as soon as I'm at home tonight... :o didn't know that sudo takes a command
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Fri Sep 03, 2004 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tsonn
Guru
Guru


Joined: 03 Jun 2004
Posts: 550

PostPosted: Fri Sep 03, 2004 12:33 pm    Post subject: Reply with quote

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 :twisted:

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 8)
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Fri Sep 03, 2004 12:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Fri Sep 03, 2004 12:52 pm    Post subject: Reply with quote

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!

:D :twisted:
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Fri Sep 03, 2004 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tsonn
Guru
Guru


Joined: 03 Jun 2004
Posts: 550

PostPosted: Fri Sep 03, 2004 2:27 pm    Post subject: Reply with quote

:D
Back to top
View user's profile Send private message
Bill Cosby
Guru
Guru


Joined: 22 Jan 2005
Posts: 430
Location: Aachen, Germany

PostPosted: Wed Feb 16, 2005 9:33 pm    Post subject: Reply with quote

Hello everyone,

I tried pypanel-2.2 with no luck, anyone got it running?

How is it with perlpanel or pypanel-1.3, because gentoo-portage says that neither perlpanel nor pypanel-1.3 works for amd64
http://packages.gentoo.org/search/?sstring=pypanel
http://packages.gentoo.org/search/?sstring=perlpanel

Here are my problems I encountered, posted this in Portage & Programming, cause I don't really know whether it's really because of AMD64
https://forums.gentoo.org/viewtopic-t-296188.html
Back to top
View user's profile Send private message
Bill Cosby
Guru
Guru


Joined: 22 Jan 2005
Posts: 430
Location: Aachen, Germany

PostPosted: Fri Feb 18, 2005 10:29 am    Post subject: Reply with quote

Hello guys,

I got PyPanel-2.2 running with a patch from ziljian from PyPanel :)
see: https://forums.gentoo.org/viewtopic-t-296188.html

Now it works perfectly under AMD64.
_________________
The Creature from Jekyll Island.
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