GNOME Bugzilla – Bug 324653
How to change sessions?
Last modified: 2021-06-14 18:20:25 UTC
System -> Preferences -> Sessions will allow me to create new sessions but then... how can I choose a session different than the current one? GDM will only let me go to the last session or GNOME. I'd expect to have a session chooser in GDM or at least in the same window where I'm adding new sessions... Other information: I'm assuming changing sessions should be possible without opening a console, inside the desktop. If there is a way to do this I haven't found it, sorry.
I'm confirming this because I can't figure out a way to choose a session either. Not sure if this is a bug in gnome-session or GDM though.
Same here : http://bugs.debian.org/232080 gnome-session indeeds lacks a graphical chooser that the user could enable to choose a session upon login. Otherwise, having several sessions doesn't make much sense.
Two things, I guess: + gdm people should change the default setting of GDM_KEY_SESSION_DESKTOP_DIR to contain a user directory so the user can have his own sessions seen by GDM + gnome-session should create desktop files for the sessions when creating new sessions. Now, I removed the UI to create new sessions in HEAD for various reasons. And we have to consider the session vs autostart issue (since the autostart spec isn't session aware, and I guess most people would want to configure sessions by listing which apps to autostart...) (Luis convinced me that this could be of some use: http://www.vuntz.net/journal/2006/11/19/403-mygnome-bits-1#c1327)
I tried to put the following lines: exec gnome-session --choosesession=test (of course session test had been created) in my .xinitrc and then load in GDM the "default system session" which should point to it, but no success (the default gnome session would be started). Moreover, I tried with NX to load a custom unix session and ask again gnome-session --choosesession=test and no success, as before. Thus I think the issue is in gnome-session.
Created attachment 152635 [details] [review] Select the saved session with command line This patch doesn’t resolve the issue entirely, but it allows to choose a name for the saved session directory, instead of the "saved-session" default. With this, plus the existing --default-session-key, you can achieve the desired results without too much pain.
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.