我正在尝试启用访客会话即使默认情况下处于禁用状态在 Ubuntu 18.04 上。
我的lightdm——显示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
但由于某些我无法理解的原因,我仍然无法在登录屏幕上看到访客帐户。
有人可以给我提示吗?
干杯!