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 634761 - session tries to restart mutter after alt+f2 restart
session tries to restart mutter after alt+f2 restart
Status: RESOLVED DUPLICATE of bug 648828
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2010-11-13 16:11 UTC by William Jon McCann
Modified: 2011-04-29 17:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2010-11-13 16:11:34 UTC
Start gnome-session with shell running by default.  Then do alt+f2 "restart".  You'll notice stuff like the following in the .xsession-errors if you run gnome-session with --debug:

gnome-session[31895]: DEBUG(+): GsmXSMPClient: New client '0x93c2a40 []'
gnome-session[31895]: DEBUG(+): GsmStore: Adding object id /org/gnome/SessionManager/Client8 to store
gnome-session[31895]: DEBUG(+): GsmManager: Client added: /org/gnome/SessionManager/Client8
gnome-session[31895]: DEBUG(+): GsmXSMPClient: Initializing client 0x93c2a40 []
gnome-session[31895]: DEBUG(+): GsmXSMPClient: Client '0x93c2a40 []' received RegisterClient(10c551192f9332df2a128966392148057600000318950024)
gnome-session[31895]: DEBUG(+): GsmManager: Adding new client 10c551192f9332df2a128966392148057600000318950024 to session
gnome-session[31895]: DEBUG(+): GsmXSMPClient: Sending RegisterClientReply to '0x93c2a40 [10c551192f9332df2a128966392148057600000318950024]'
gnome-session[31895]: DEBUG(+): GsmXSMPClient: Set properties from client '0x93c2a40 [10c551192f9332df2a128966392148057600000318950024]'
gnome-session[31895]: DEBUG(+): GsmXSMPClient:   Program = 'mutter'
gnome-session[31895]: DEBUG(+): GsmXSMPClient:   UserID = 'mccann'
gnome-session[31895]: DEBUG(+): GsmXSMPClient:   RestartStyleHint = 2
gnome-session[31895]: DEBUG(+): GsmXSMPClient:   ProcessID = '32117'
gnome-session[31895]: DEBUG(+): GsmXSMPClient:   CurrentDirectory = '/home/mccann'
gnome-session[31895]: DEBUG(+): GsmXSMPClient:   _GSM_Priority = 20
Window manager warning: Screen 0 on display ":2.0" already has a window manager; try using the --replace option to replace the current window manager.
gnome-session[31895]: DEBUG(+): GsmXsmpServer: ice_io_error_handler (0x93f5248)
gnome-session[31895]: DEBUG(+): GsmXSMPClient: IceProcessMessagesIOError on '0x93c2a40 [mutter 10c551192f9332df2a128966392148057600000318950024]'
gnome-session[31895]: DEBUG(+): GsmManager: disconnect client
gnome-session[31895]: DEBUG(+): GsmManager: disconnect client: /org/gnome/SessionManager/Client8
gnome-session[31895]: DEBUG(+): GsmXSMPClient: getting restart style
gnome-session[31895]: DEBUG(+): GsmManager: restarting app
gnome-session[31895]: DEBUG(+): Re-starting app: /org/gnome/SessionManager/App25
gnome-session[31895]: DEBUG(+): GsmAutostartApp: Couldn't stop app: Not running
gnome-session[31895]: DEBUG(+): Starting app: /org/gnome/SessionManager/App25
gnome-session[31895]: DEBUG(+): GsmAutostartApp: starting gnome-shell.desktop: command=/opt/gnome/bin/gnome-shell startup-id=10c551192f9332df2a128966392148057600000318950024
gnome-session[31895]: DEBUG(+): GsmAutostartApp: started pid:32119
gnome-session[31895]: DEBUG(+): GsmStore: Unreffing object: 0x93c2a40
gnome-session[31895]: DEBUG(+): GsmManager: Client removed: /org/gnome/SessionManager/Client8
gnome-session[31895]: DEBUG(+): GsmClient: disposing /org/gnome/SessionManager/Client8
gnome-session[31895]: DEBUG(+): GsmXSMPClient: xsmp_finalize (0x93c2a40 [mutter 10c551192f9332df2a128966392148057600000318950024])
gnome-session[31895]: DEBUG(+): GsmAutostartApp: (pid:32112) done (status:0)
Comment 1 Matthias Clasen 2011-04-28 01:29:27 UTC
I think this happens because gnome-shell is now started as /usr/bin/gnome-shell, but mutter still sets a restart command using /usr/bin/mutter.

Basically, the libmutter conversion broke session support in gnome-shell.
There are F15 blocker bugs about 'session saving breaks with gnome-shell' that have the same cause.
Comment 2 Brian Beardall 2011-04-28 06:21:09 UTC
I'm experiencing this too. gnome-shell.desktop is saved for the session but the file contents are filled with the restart commands for mutter. This breaks session saving for gnome-shell.
Comment 3 Dan Winship 2011-04-29 17:06:40 UTC

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