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 752893 - invalid session being saved
invalid session being saved
Status: RESOLVED OBSOLETE
Product: gnome-session
Classification: Core
Component: gnome-session
3.9.x
Other Linux
: Normal critical
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-26 16:18 UTC by Brian J. Murrell
Modified: 2015-07-26 16:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Brian J. Murrell 2015-07-26 16:18:28 UTC
When I log out of my desktop I get some files in ~/.config/gnome-session/saved-session/, pressumably the saving of my session so that it can be restored on next login.

But on next login I get an error from gnome-session:

env: unrecognized option '--sm-client-id'
Try 'env --help' for more information.
...
gnome-session[9609]: WARNING: Application 'gnome-panel.desktop' failed to register before timeout
gnome-session[9609]: CRITICAL: We failed, but the fail whale is dead. Sorry....

and the session aborts.  Investigation leads to the following:

$ cat ~/.config/gnome-session/saved-session/gnome-panel.desktop 
[Desktop Entry]
Type=Application
Name=Panel
Comment=Launch other applications and provide various utilities to manage windows, show the time, etc.
Icon=gnome-panel
Exec=env --sm-client-id 1037b9c00525f898c4143792614760363700000101790000 XDG_MENU_PREFIX=gnome-flashback- gnome-panel
Terminal=false
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-panel
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.8.0
Categories=GNOME;GTK;System;Core;
OnlyShowIn=GNOME;Unity;
NoDisplay=true
X-GNOME-AutoRestart=true
X-GNOME-Autostart-Phase=Panel
X-GNOME-Provides=panel
X-Ubuntu-Gettext-Domain=gnome-panel-3.0
X-GNOME-Autostart-startup-id=1037b9c00525f898c4143792614760363700000101790000

Clearly the "env --sm-client-id" is causing this problem.  But why is gnome-session saving this incorrect .desktop file for the session?

This is gnome-session-3.9.90-0ubuntu12.1 on Ubuntu Trusty.
Comment 1 André Klapper 2015-07-26 16:46:32 UTC
Thanks for taking the time to report this.

Version 3.9 is an ancient unstable development version and not supported anymore by GNOME developers. GNOME developers are no longer working on that older version, so there will not be any bug fixes by GNOME developers for the version that you use.

Please feel free to reopen this bug if the problem still occurs with a recent and supported version of GNOME (3.16 or 3.14), and feel free to file a bug report in the bug tracking system of your Linux distribution if your distribution still supports your version 3.9.