我正在尝试启用访客会话,即使它在 Ubuntu 18.04 上默认禁用。
我的lightdm --show-congif给了我这个:
[Seat:*]
A allow-guest=true
C greeter-wrapper=/usr/lib/lightdm/lightdm-greeter-session
D guest-wrapper=/usr/lib/lightdm/lightdm-guest-session
G user-session=unity
F greeter-session=unity-greeter
H xserver-command=X -core
[LightDM]
B backup-logs=false
Sources:
A /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
B /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
C /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
D /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
E /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
F /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
G /usr/share/lightdm/lightdm.conf.d/50-unity.conf
H /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
我已经编辑了 /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf,如下:
# Disable guest sessions due to them not being confined in systemd
# CVE-2017-8900
# https://bugs.launchpad.net/bugs/1663157
[Seat:*]
allow-guest=true
但是由于某种我无法理解的原因,我仍然无法在登录屏幕上看到访客帐户。
谁能给我一个提示?
干杯!