Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694552 - Cannot switch user in GNOME
Summary: Cannot switch user in GNOME
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-16 11:41 UTC by Horea Christian
Modified: 2019-10-01 18:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,6.04 KB, text/plain)
2019-09-16 11:41 UTC, Horea Christian
Details
eix -I gnome (gnome_packages.txt,13.15 KB, text/plain)
2019-09-16 11:41 UTC, Horea Christian
Details
gray GNOME screen (1.jpg,231.29 KB, image/jpeg)
2019-09-16 11:42 UTC, Horea Christian
Details
GNOME lock screen with time display (2.jpg,304.31 KB, image/jpeg)
2019-09-16 11:42 UTC, Horea Christian
Details
GNOME user log-in screen (3.jpg,239.61 KB, image/jpeg)
2019-09-16 11:43 UTC, Horea Christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horea Christian 2019-09-16 11:41:41 UTC
Created attachment 589988 [details]
emerge --info

I cannot switch the user in GNOME. Currently I am running version 3.30.2, but this issue has persisted at least since 3.26

1) Once I press “Switch User” in the top-right-hand drop-down, I get sent to a gray GNOME screen with no user login prompts (1.jpg).

2) I can escape this screen with `Ctrl+Alt+F3` and then go back with `Ctrl+Alt+F2`, at which point I am greeted with the typical GNOME lock screen with the time display (2.jpg).

3) Once I drag the lock screen up, I get greeted with a log-in prompt for the user I just wanted to switch away from (3.jpg).

4) If I click “Log in as another user”, I get sent back to the gray GNOME screen (1.jpg).

Please find emerge info and package versions attached, but, as mentioned previously, the exact same thing happened with previous versions.
Comment 1 Horea Christian 2019-09-16 11:41:59 UTC
Created attachment 589990 [details]
eix -I gnome
Comment 2 Horea Christian 2019-09-16 11:42:21 UTC
Created attachment 589992 [details]
gray GNOME screen
Comment 3 Horea Christian 2019-09-16 11:42:44 UTC
Created attachment 589994 [details]
GNOME lock screen with time display
Comment 4 Horea Christian 2019-09-16 11:43:02 UTC
Created attachment 589996 [details]
GNOME user log-in screen
Comment 5 Mart Raudsepp gentoo-dev 2019-09-16 15:04:03 UTC
Might want to look at the journal for that boot (journalctl -b).

For context, this is how "Switch user" really works under the hood:

GDM keeps running on its own VT (currently VT1 with systemd and VT7 with openrc) when you log in. Though when GDM used gnome-shell (GDM has no UI, it lets gnome-shell handle it) is running with wayland, it stop the UI with a short timeout after you switch away from its VT (e.g., by logging in).
Logging in starts the logged in users session in the next available VT (typically VT2 on systemd, unless you had gone on it before to get it occupied by agetty; and VT8 on openrc).
Now when you "Switch user", all it really does is lock the current users GNOME session (if it already wasn't, e.g. it was chosen from gnome-shell top right menu instead of lock screen) and switch you back to GDM's VT (and it starts up the UI again if it was shut down to conserve resources in case of wayland).
There then if you log in another user, it just opens another GNOME session on the next available VT and that's it; if you log in a user that's already logged in, it just switches to that existing VT and unlocks it for you, as you entered the credentials in GDM already.

Now with that out of the way, should really look what's in the journal for this to have any guesses what might be wrong.
Comment 6 Horea Christian 2019-10-01 18:55:27 UTC
After a few more updates and restarts, this long-standing issue seems to have been resolved. Many thanks for your help.