Guides - Access Your Desktop Environment Using Glish (Linode Graphical Shell)
Linux virtual machines equipped with a tailored set of resources designed to run any cloud-based workload.
Glish is the graphical version of Lish (the Linode Shell). It allows you to run a desktop environment on your Compute Instance and access it through the Cloud Manager.
By default, Glish is enabled on all Compute Instances as part of the distro helper configuration tool. There is no additional configuration needed. Glish works by accessing the
tty1 console over the virtual VGA device.
If you have disabled distro helper on your Compute Instance’s Configuration Profile, manually launch a getty on
tty1 using the command below. This command may vary depending on the installed distribution.
exec /sbin/getty -8 38400 tty1 &
Before using Glish, a display manager and desktop environment must be installed on the Compute Instance. You can use any desktop environment that you wish, including Gnome, KDE, MATE, and Xfce. When choosing one, consider the size of your Compute Instance and the requirements of that desktop environment. For instance, Xfce and MATE are lightweight and can run on the smallest Compute Instance. When running Gnome, at least 2 GB of memory is recommended. For KDE, at least 4 GB of memory is recommended.
Follow all of the instructions within the Set Up and Secure a Compute Instance guide, including updating your system, setting the timezone, and adding a limited user account. Most display managers do not allow root login by default.
sudo apt update && sudo apt upgrade
Install your preferred desktop environment. The command below installs Xfce, along with the optional enhancements package and a web browser.
sudo apt install xfce4 xfce4-goodies dbus-x11 firefox-esr
Install a display manager, which provides a graphical login screen. This allows you to log in as your desired user and with your preferred desktop environment. There are many display managers available, including LightDM, GDM (Gnome Desktop Manager), SDDM, and Ly. This guide uses LightDM.
sudo install lightdm
Set your new display manager as the system default. The command below opens up a prompt that allows you to select your preference from all display manager’s that are currently installed.
sudo dpkg-reconfigure lightdm
Log in to the Cloud Manager, click the Linodes link in the sidebar, and select your desired Compute Instance from the list.
To open the console, click on the Launch Console button in the top right corner of the summary page.
Log in to the Weblish prompt (or use SSH) and start the display manager. The example below is for LightDM.
sudo systemctl start lightdm
Once the display manager has started, select the Glish tab.
The display manager’s login prompt should appear within the Glish tab. If you are using LightDM, it should look similar to the screenshot below. Enter your username and password. Since the root user is likely disabled by default, use a limited user account on your system.
If you have multiple desktop environments, you can select between them by using the configuration button in the top left of the screen.
If your display manager is not working properly, you may still see the tty prompt as shown below. If this is the case, go back to weblish and troubleshoot.
Once you are successfully logged in, your desktop environment should be visible. From here, you can use your mouse and keyboard to control your desktop.Glish does not offer copy and paste functionality.
This page was originally published on