重启后,我通常可以切换用户,而且这种方法在一段时间内有效。但是,过了一段时间后,切换用户选项会让我返回当前用户的密码对话框,点击密码屏幕上的“切换到其他用途”链接会让我返回密码屏幕。
我需要更改用户,而无需重新启动以重置此功能。我该怎么做?
这来自我的 auth.log
Jan 26 09:54:50 eclipse gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0) Jan 26 09:54:50 eclipse systemd-logind[1248]: New session c2 of user gdm.
Jan 26 09:54:53 eclipse gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session closed for user gdm Jan 26 09:54:53 eclipse systemd-logind[1248]: Removed session c2.
Jan 26 09:54:58 eclipse gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session opened for user gdm by (uid=0) Jan 26 09:54:58 eclipse systemd-logind[1248]: New session c3 of user gdm. Jan 26 09:55:00 eclipse gdm-launch-environment]: pam_unix(gdm-launch-environment:session): session closed for user gdm
Jan 26 09:55:00 eclipse systemd-logind[1248]: Removed session c3.
Jan 26 09:55:09 eclipse gdm-password]: gkr-pam: unlocked login keyring
我跟踪了系统日志并看到了这一点。
Jan 26 10:10:36 eclipse /usr/lib/gdm3/gdm-x-session[31595]: #011ABI class: X.Org Video Driver, version 23.0
Jan 26 10:10:36 eclipse /usr/lib/gdm3/gdm-x-session[31595]: (EE) open /dev/fb0: Permission denied
Jan 26 10:10:36 eclipse /usr/lib/gdm3/gdm-x-session[31595]: (WW) Falling back to old probe method for vesa
Jan 26 10:10:36 eclipse /usr/lib/gdm3/gdm-x-session[31595]: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
答案1
gdm 存在缺陷,遗憾的是他们还没有解决这个问题,但安装 lightdm 可以改善它:
sudo apt-get install lightdm
这样我就可以切换用户,但这样做时我必须输入两次密码,第一次是在切换用户屏幕上,这会将我带回到锁定的登录屏幕