GNOME Bugzilla – Bug 634761
session tries to restart mutter after alt+f2 restart
Last modified: 2011-04-29 17:06:40 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)
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.
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.
*** This bug has been marked as a duplicate of bug 648828 ***