Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openbox woes (SOLVED)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 3:48 pm    Post subject: Reply with quote

Miracle of miracles, I somehow managed to get a core dump (the results of which are below):

http://img.photobucket.com/albums/v329/munkustrap33/coredump1.jpg
http://img.photobucket.com/albums/v329/munkustrap33/coredump2.jpg

Of course, it doesn't make much sense to me personally. But it's progress :)
Back to top
View user's profile Send private message
didumos
Guru
Guru


Joined: 19 Jan 2006
Posts: 322
Location: uk

PostPosted: Sun Feb 03, 2008 3:52 pm    Post subject: Reply with quote

Well I can't see anything out of the ordinary there. You do have a couple of outdated packages that openbox depends on (pango and glib) plus there is now the new openbox-3.4.6 in portage which you may want to try.

Personally I would do the following:
1) Add "X" to the USE flags in /etc/make.conf (from your output it looks like you have this disabled)
2) emerge -uDavNt world
3) emerge --depclean
4) revdep-rebuild

But bear in mind that that will take a long time as I spotted that gcc is due to be re-emerged due to a USE flag change. So, you might want to first try upgrading just pango, glib and openbox.

Edit: Looking at the core dump now
Back to top
View user's profile Send private message
didumos
Guru
Guru


Joined: 19 Jan 2006
Posts: 322
Location: uk

PostPosted: Sun Feb 03, 2008 4:17 pm    Post subject: Reply with quote

Ok, it doesn't make much sense to me either and I may be totally wrong :P but my best guess (from looking at the core dump and the indicated lines in the code) is that openbox is having trouble finding the number of monitors you are using.

Edit: I think I'm close to discovering what the real issue is here. One question: do you have x11-libs/libXinerama installed?
Back to top
View user's profile Send private message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 6:35 pm    Post subject: Reply with quote

Not as far as I know. I thought that was only for multiple-monitor setups? :?

LOL, seems funny now...

EDIT: Nope, I have it. Did an emerge -av, and it said it would reinstall (at which point I pressed "n"). Is that what you were expecting? IIRC, though, USE="-xinerama" is in my make.conf :oops:
Back to top
View user's profile Send private message
didumos
Guru
Guru


Joined: 19 Jan 2006
Posts: 322
Location: uk

PostPosted: Sun Feb 03, 2008 6:44 pm    Post subject: Reply with quote

Ok, what you need to do is find out what depends on x11-libs/libXinerama (i.e. what keeps pulling it in). You can do this by installing app-portage/gentoolkit (if you don't already have it installed) and running equery depends x11-libs/libXinerama

You're right, if you're not running a multi-monitor set-up then you don't need it - and I believe it is libXinerama that is the root of the problem.
Back to top
View user's profile Send private message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 6:51 pm    Post subject: Reply with quote

equery says this:

x11-apps/xdpyinfo-1.0.2
x11-base/xorg-x11-7.2
x11-libs/gtk+-2.12.1-r2
x11-wm/openbox-3.4.6
Back to top
View user's profile Send private message
didumos
Guru
Guru


Joined: 19 Jan 2006
Posts: 322
Location: uk

PostPosted: Sun Feb 03, 2008 7:01 pm    Post subject: Reply with quote

The only problematic entry there is x11-base/xorg-x11 which depends on x11-libs/libXinerama unconditionally (i.e. it is unaffected by the xinerama USE flag).

What I would do is the following:

1) Uninstall xorg-x11 because all it does is pull in some common tools and libraries which can be installed separately if you need them anyway: emerge -C x11-base/xorg-x11
2) Add x11-base/xorg-server to /var/lib/portage/world so that portage doesn't start trying to uninstall everything related to X: echo "x11-base/xorg-server" >> /var/lib/portage/world
3) Uninstall x11-libs/libXinerama: emerge -C x11-libs/libXinerama
4) Re-emerge x11-wm/openbox: emerge -1 x11-wm/openbox

That should do it :wink:
Back to top
View user's profile Send private message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 7:06 pm    Post subject: Reply with quote

The only thing is, I'm still in the middle of that emerge -uDavNt world.

But as far as I know, gcc isn't being updated, which in some ways is a good thing :)
Back to top
View user's profile Send private message
didumos
Guru
Guru


Joined: 19 Jan 2006
Posts: 322
Location: uk

PostPosted: Sun Feb 03, 2008 7:11 pm    Post subject: Reply with quote

Oh, I see. Well, unless it is halfway through compiling a big package that you'd rather not start compiling all over again you can just cancel that with Ctrl+C and run it again later.
Back to top
View user's profile Send private message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 7:25 pm    Post subject: Reply with quote

I was contemplating that. Would it be possible to do everything in another tab?
Back to top
View user's profile Send private message
didumos
Guru
Guru


Joined: 19 Jan 2006
Posts: 322
Location: uk

PostPosted: Sun Feb 03, 2008 7:31 pm    Post subject: Reply with quote

Yes, it should be ok :)
Back to top
View user's profile Send private message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 9:36 pm    Post subject: Reply with quote

Huzzah! I went to lunch and came back to a working system :D
Back to top
View user's profile Send private message
didumos
Guru
Guru


Joined: 19 Jan 2006
Posts: 322
Location: uk

PostPosted: Sun Feb 03, 2008 10:05 pm    Post subject: Reply with quote

Excellent! :D It turns out it isn't a openbox bug in the end but an xorg-server bug. On some configurations/systems querying Xinerama as to whether it is active returns TRUE but it then returns the number of screens as 0 (fd.o Bug #11504). This is fixed in xorg-server-1.4.

The reason openbox was affected but pekwm wasn't for you is that the openbox build system doesn't seem to allow explicit disabling of the xinerama extension, it will always scan the system to see if it is there (and it found it on yours).

pekwm, on the other hand, does allow support for xinerama to be disabled (even if it exists on the system).


Last edited by didumos on Sun Feb 03, 2008 10:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 10:11 pm    Post subject: Reply with quote

Now all that remains is finding a file-manager, etc. that are lightweight enough for me :P I used to use rox-filer, but not any more.

(Incidentally, if I couldn't get Openbox working, pekwm would be my second choice.)
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 698
Location: The Village

PostPosted: Sun Feb 03, 2008 10:21 pm    Post subject: Reply with quote

manicman01 wrote:
Now all that remains is finding a file-manager, etc. that are lightweight enough for me :P I used to use rox-filer, but not any more.

http://thunar.xfce.org/index.html

Have a look at thunar, it's not too heavy, and will automount if your in the plugdev group.
Back to top
View user's profile Send private message
manicman01
n00b
n00b


Joined: 26 Jan 2008
Posts: 31

PostPosted: Sun Feb 03, 2008 10:23 pm    Post subject: Reply with quote

Is it just me, or does it seem to have a lot of dependencies?

I'd love to continue this chat elsewhere: you've been a great help :)

Oops, shows how tired I am. Sorry, I thought you were didumos for a sec.
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 698
Location: The Village

PostPosted: Sun Feb 03, 2008 10:55 pm    Post subject: Reply with quote

Heh,
Yeah, it does. Youll almost have a xfce desktop when your done. :lol:
It really does "feel" light though. Maybe someone will have a sugestion for something lighter. Since your problem has been solved I figured it wouldn't hurt much to go OT.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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