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 625881 - Autorestart doesn't work except for autostarted applications
Autorestart doesn't work except for autostarted applications
Status: RESOLVED OBSOLETE
Product: gnome-session
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-02 22:08 UTC by Owen Taylor
Modified: 2021-06-14 18:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2010-08-02 22:08:13 UTC
The autorestart code in _disconnect_client requires an application ID to restart the application (e.g., for GSM_CLIENT_RESTART_IMMEDIATELY). 

However, I don't think we ever set an application ID except when we are autostarting an application. There is code in gsm-xsmp-client.c to to find a desktop file for an arbitrary client, but it is only called when we are saving the session. It isn't used to set the application ID for the client object on connection.

This means, for example, that metacity restarts on crash if started with the session, but if you switch managers, or run 'metacity --replace' manually, it will no longer restart on crash.

(See bug 569289)
Comment 1 André Klapper 2021-06-14 18:21:38 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of gnome-session, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-session/-/issues/

Thank you for your understanding and your help.