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 685062 - 'Switch Session' does not work
'Switch Session' does not work
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
3.6.1
Depends on:
Blocks:
 
 
Reported: 2012-09-28 16:43 UTC by Matthias Clasen
Modified: 2012-10-04 06:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
userMenu: Remove 'Switch Session' item (1.74 KB, patch)
2012-09-28 17:10 UTC, Florian Müllner
committed Details | Review

Description Matthias Clasen 2012-09-28 16:43:19 UTC
We rename the 'Switch User' menuitem to 'Switch Session' when there is only one user, but multiple defined sessions. Therefore, clicking on 'switch session' is in effect a user-switching operation. The problem with that is that we don't allow the same user to log in multiple times. If you get to to he login screen, your user has the 'glow', and we don't show a session chooser, because there is already a session for the user.

To make session switching work, it must operate like 'log out', not like 'switch user'.
Comment 1 Florian Müllner 2012-09-28 16:49:45 UTC
(In reply to comment #0)
> To make session switching work, it must operate like 'log out', not like
> 'switch user'.

'Switch session' doesn't sound like 'loose all running state', so maybe we should just remove the item altogether rather than make it an alias of 'log out' (which we show anyway if multiple sessions are available)
Comment 2 Florian Müllner 2012-09-28 17:10:05 UTC
Created attachment 225346 [details] [review]
userMenu: Remove 'Switch Session' item

GDM does not allow concurrent logins of a single user, so making
'Switch Session' a user switch operation does not work - in order
to choose a different session, users have to log out.
Rather than making 'Switch Session' an alias of 'Log out' (which
is available anyway when multiple sessions are defined), remove
the item altogether - 'Switch Session' suggests an operation that
does not loose state, and we currently favor 'Switch Session' over
'Switch User', so on systems that have both multiple users and
multiple sessions, the latter would become unavailable.
Comment 3 Matthias Clasen 2012-09-28 17:25:16 UTC
Removing it is fine with me.
Comment 4 Matthias Clasen 2012-09-28 17:31:28 UTC
Removing it is fine with me
Comment 5 drago01 2012-09-29 12:45:02 UTC
Review of attachment 225346 [details] [review]:

Makes sense.
Comment 6 Jeremy Bicha 2012-10-01 15:09:55 UTC
GDM used to allow logging in to multiple sessions with the same user.
Comment 7 Matthias Clasen 2012-10-01 16:08:15 UTC
Afaik, it hasn't done that for a long time
Comment 8 Florian Müllner 2012-10-04 06:58:50 UTC
Attachment 225346 [details] pushed as 0e01a81 - userMenu: Remove 'Switch Session' item