1

I'm trying to enable the guest session even if it's disabled by default on Ubuntu 18.04.

My lightdm --show-congif gives me this:

   [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

I've already edited /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf, with this:

# Disable guest sessions due to them not being confined in systemd
# CVE-2017-8900
# https://bugs.launchpad.net/bugs/1663157
[Seat:*]
allow-guest=true

But for some reason that I can't undestand, I still can't see the guest account on the login screen.

Can anyone give me a hint?

Cheers!

1 Answers1

2

I'm posting a little recap here, that maybe can help people like me, who are a little bit confused about how to enable guest session on Ubuntu 18.04 LTS.

Ubuntu 18.04 comes with GDM as the default display manager. GDM does not have guest session support.

If you are using Ubuntu 18.04 and you need the guest session, you have to switch the display manager: form GDM to lightdm. But pay attenction, in doing this, you expose your machine with this vulnerability, that at this very day, is still open.