← Back to team overview

desktop-packages team mailing list archive

[Bug 1478364] [NEW] invalid session being saved

 

Public bug reported:

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.

** Affects: gnome-session
     Importance: Unknown
         Status: Unknown

** Affects: gnome-session (Ubuntu)
     Importance: Undecided
         Status: New

** Bug watch added: GNOME Bug Tracker #752893
   https://bugzilla.gnome.org/show_bug.cgi?id=752893

** Also affects: gnome-session via
   https://bugzilla.gnome.org/show_bug.cgi?id=752893
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/1478364

Title:
  invalid session being saved

Status in gnome-session:
  Unknown
Status in gnome-session package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-session/+bug/1478364/+subscriptions


Follow ups