After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638677 - gnome-session starts saved-sessions before the windowmanager/panel components from the gconf dir
gnome-session starts saved-sessions before the windowmanager/panel components...
Status: RESOLVED DUPLICATE of bug 642367
Product: gnome-session
Classification: Core
Component: gnome-session
2.32.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-04 17:44 UTC by Thomas Hisch
Modified: 2011-03-09 17:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gs with an non empty save_session dir (contains entries for gnome-panel and metacity) (59.87 KB, application/octet-stream)
2011-01-04 18:50 UTC, Thomas Hisch
Details
gs with an empty save_session dir (62.39 KB, application/octet-stream)
2011-01-04 18:51 UTC, Thomas Hisch
Details
xsession startup script loaded from GDM (2.00 KB, application/octet-stream)
2011-01-04 18:55 UTC, Thomas Hisch
Details

Description Thomas Hisch 2011-01-04 17:44:31 UTC
I'm using from time to time the awesome WM (with gnome-session) instead of gnome-panel/metacity. Sometimes after wanting to start awesome(set /desktop/gnome/session/required_components windowmanager to awesome and panel to nil) gnome-panel and metacity got started. 

Today I figured out why: because of the entries in .conf/gnome-session/saved-session/ . If this folder contains entries for apps which provide certain services (X-Gnome-Provides) then these services are started before the required_components. If in the /desktop/gnome/session/required_components gconf dir is an app which is different from an app in saved_sessions but provides the same (X-Gnome-Provides) service then the app in required_components is ignored!! 

warning in .xsession-errors:  
GsmManager: service 'windowmanager' is already provided
Comment 1 Thomas Hisch 2011-01-04 18:50:52 UTC
Created attachment 177507 [details]
gs with an non empty save_session dir (contains entries for gnome-panel and metacity)
Comment 2 Thomas Hisch 2011-01-04 18:51:47 UTC
Created attachment 177508 [details]
gs with an empty save_session dir
Comment 3 Thomas Hisch 2011-01-04 18:55:55 UTC
Created attachment 177509 [details]
xsession startup script loaded from GDM

awesome-gnomesession.desktop calls a script which contains
exec $curdir/start-gnome-session awesome false

same with gnome-gnome-session.desktop except
exec $curdir/start-gnome-session metacity true
Comment 4 Colin Walters 2011-03-09 17:10:07 UTC
We don't have a sane story here, see bug 642367

*** This bug has been marked as a duplicate of bug 642367 ***