Public bug reported: I am trying to use a custom gnome-session with the Awesome window manager, but the session is not working.
The configuration is based on http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome#Gnome_3.9_.2F_Ubuntu_13.10 and was working with Ubuntu 14.04. I have upgraded to 15.04, through 14.10. In the resulting session, which I start from lightdm, the following command will not result in an error on the first call, but does nothing (no dialog etc). Calling it again will then result in an error (see below). % gnome-session-quit --logout >From syslog, with `gnome-session --debug` May 15 04:54:36 lenny gnome-session[5883]: message repeated 3 times: [ DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged] May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager interface=org.gnome.SessionManager method=Logout May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager interface=org.gnome.SessionManager method=Logout May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: Logout called May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: requesting logout May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: ending phase RUNNING May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: starting phase QUERY_END_SESSION May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): gsm_xsmp_server_stop_accepting_new_clients May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: Client /org/gnome/SessionManager/Client1 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: Client /org/gnome/SessionManager/Client2 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: Client /org/gnome/SessionManager/Client3 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: sending query-end-session to clients (logout mode: normal) May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: sending QueryEndSession signal to :1.10 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: adding client to query clients: /org/gnome/SessionManager/Client1 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: adding client to query clients: /org/gnome/SessionManager/Client2 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: sending QueryEndSession signal to :1.2 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: adding client to query clients: /org/gnome/SessionManager/Client3 May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmXSMPClient: Client '0xf92330 [pulseaudio 1051471282f40f1e67143165844077496300000058830062]' received SaveYourselfDone(success = True) May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: Response from end session request: is-ok=1 do-last=0 cancel=0 reason= May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmXsmpServer: sms_error_handler (0xfb0a00, FALSE, 3, c, 32771, 0) May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager/Client1 interface=org.gnome.SessionManager.ClientPrivate method=EndSessionResponse May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: got EndSessionResponse is-ok:1 reason= May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: Response from end session request: is-ok=1 do-last=0 cancel=0 reason= May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager/Client3 interface=org.gnome.SessionManager.ClientPrivate method=EndSessionResponse May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager/Client3 interface=org.gnome.SessionManager.ClientPrivate method=EndSessionResponse May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: got EndSessionResponse is-ok:1 reason= May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: Response from end session request: is-ok=1 do-last=0 cancel=0 reason= May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmManager: query end session complete May 15 04:54:36 lenny gnome-session[5883]: DEBUG(+): GsmShell: Not connected to the shell Running `gnome-session-quit --logout` then again, will result in this error: ** (gnome-session-quit:10444): WARNING **: Failed to call logout: Logout interface is only available during the Running phase The log: May 15 04:59:28 lenny gnome-session[5883]: message repeated 7 times: [ DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged] May 15 04:59:28 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager interface=org.gnome.SessionManager method=Logout May 15 04:59:28 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager interface=org.gnome.SessionManager method=Logout May 15 04:59:28 lenny gnome-session[5883]: DEBUG(+): GsmManager: Logout called May 15 04:59:28 lenny gnome-session[5883]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerChanged After this, Firefox will also display: (firefox:10055): GnomeUI-WARNING **: While connecting to session manager: IO error occured doing Protocol Setup on connection. I've seen that there is some magic behaviour via /etc/upstart-xsessions etc. Is it required to hook into this for gnome-session to work? ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: gnome-session 3.14.0-2ubuntu5 ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3 Uname: Linux 3.19.0-16-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 CurrentDesktop: GNOME Date: Fri May 15 04:57:29 2015 InstallationDate: Installed on 2012-05-28 (1081 days ago) InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) PackageArchitecture: all SourcePackage: gnome-session UpgradeStatus: Upgraded to vivid on 2015-05-14 (0 days ago) ** Affects: gnome-session (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug package-from-proposed third-party-packages vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1455304 Title: gnome-session-quit stopped working: phase changed after first call to QUERY_END_SESSION To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1455304/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs