Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 275138

Summary: x11-wm/openbox GNOME/Openbox session does not work with gnome-base/gnome-session > 2.22
Product: Gentoo Linux Reporter: Matt Michalowski <me>
Component: Current packagesAssignee: Desktop WM Team (OBSOLETE) <desktop-wm+disabled>
Status: RESOLVED UPSTREAM    
Severity: normal CC: gentoo, lxde+disabled, omp, transacid
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch allowing gnome-session/2.26.1 to launch the GNOME/Openbox session

Description Matt Michalowski 2009-06-23 05:44:18 UTC
Using x11-wm/openbox-3.4.8_rc1 with gnome-session/2.26.1 fails to launch the GNOME/Openbox session (after selecting the session in GDM).

The following error is given:
/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- /usr/bin/openbox-gnome-session

** (gnome-session:28100): WARNING **: Unknown option --choose-session=openbox-session

Reproducible: Always
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-07-02 11:41:18 UTC
fedora has a patch for this in their SRPM.
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-11 17:02:06 UTC
Created attachment 200944 [details, diff]
Patch allowing gnome-session/2.26.1 to launch the GNOME/Openbox session

I have no way to test if it works with stable gnome, please give some feedback
Comment 3 Room Cays 2009-10-09 07:44:41 UTC
Instead of:

exec openbox-gnome-session

I put this lines into my .xinitrc:

exec openbox &
exec gnome-session

and it solved the problem
Comment 4 Marc Arens 2009-10-10 18:06:12 UTC
Thanks, i just tried the patch after updating my gnome-light components to 2.28 and it works for me.
Comment 5 Víctor Ostorga (RETIRED) gentoo-dev 2009-11-06 01:08:23 UTC
Applied in openbox-3.4.8_rc1-r1
Comment 6 Matt Michalowski 2009-11-22 03:28:17 UTC
I've tried openbox-3.4.8_rc1-r1 with GNOME 2.26 stable and GNOME 2.28 via GDM and it doesn't work for me. openbox-session launches OK and doesn't throw up any errors, however after login and the desktop launches it is metacity running and not openbox.
Comment 7 danakj 2009-12-08 20:56:09 UTC
This is changed in openbox 3.4.8, and this patch should *not* be applied.  As stated it doesn't fix anything anyhow.
Comment 8 Ben de Groot (RETIRED) gentoo-dev 2009-12-09 01:33:22 UTC
Bumped to 3.4.8. Please let us know if this fixes the issue.
Comment 9 Marc Arens 2009-12-10 16:39:51 UTC
Login works for me with gnome-session-2.26.2 and openbox 3.4.8.
Comment 10 Matt Michalowski 2009-12-14 21:56:07 UTC
Login works for me with gnome-session-2.28.0 and openbox-3.4.8