The default Ubuntu 20.04 installation uses GDM as a default display manager. Since GDM does not support Guest session in this article you will learn how to switch to and alternative display manager LightDM and enable guest session.
In this tutorial you will learn:
- How to install LightDM display manager
- How to switch from GDM to LightDM
- How to enable Guest session
- How to login to Guest session
π Guest session on Ubuntu 20.04 Focal Fossa Linux
Guest session on Ubuntu 20.04 Focal Fossa Linux
Software Requirements and Conventions Used
| Category | Requirements, Conventions or Software Version Used |
|---|---|
| System | Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa |
| Software | N/A |
| Other | Privileged access to your Linux system as root or via the sudo command. |
| Conventions |
# β requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command$ β requires given linux commands to be executed as a regular non-privileged user |
Enable Guest session Ubuntu 20.04 step by step instructions
- First step is to install and switch to LightDM display manager. To do so execute the bellow command:
$ sudo apt install lightdm
- Enable Guest session by executing the following command:
sudo sh -c 'printf "[Seat:*]\nallow-guest=true\n" > /etc/lightdm/lightdm.conf.d/40-enable-guest.conf'
- Reboot your system:
$ reboot
- Login to Guest session:
π Click on users menu
Click on userβs menu. Please note that your login screen might be different.
