From 6ba8be605f32002a12e81a256c7695b285a891da Mon Sep 17 00:00:00 2001 From: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Date: Sat, 14 Mar 2026 04:46:47 -0400 Subject: [PATCH] [Update] Fix LightDM installation for Glish guide * Correct LightDM install steps for Glish. * Explicitly install "lightdm-gtk-greeter" for Ubuntu. * Add `systemctl set-default graphical.target` for next booting. * Put "dpkg-reconfigure lightdm" at the end as an optional step. * Some minor fixes. Co-authored-by: Codex <242516109+Codex@users.noreply.github.com> Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../compute-instances/guides/glish/index.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/products/compute/compute-instances/guides/glish/index.md b/docs/products/compute/compute-instances/guides/glish/index.md index 812bdc598eb..b906698f441 100644 --- a/docs/products/compute/compute-instances/guides/glish/index.md +++ b/docs/products/compute/compute-instances/guides/glish/index.md @@ -52,13 +52,19 @@ The instructions below install Xfce4 and LightDM on Debian 11. You are not limit sudo apt install xfce4 xfce4-goodies dbus-x11 firefox-esr ``` -1. Install a display manager, which provides a graphical login screen. This lets you log in as your desired user and with your preferred desktop environment. There are many display managers available, including [LightDM](https://wiki.debian.org/LightDM), [GDM](https://wiki.debian.org/GDM) (Gnome Desktop Manager), [SDDM](https://wiki.debian.org/SDDM), and [Ly](https://github.com/fairyglade/ly). This guide uses LightDM. +1. Install a display manager, which provides a graphical login screen. This lets you log in as your desired user and with your preferred desktop environment. There are many display managers available, including [LightDM](https://wiki.debian.org/LightDM), [GDM](https://wiki.debian.org/GDM) (Gnome Desktop Manager), [SDDM](https://wiki.debian.org/SDDM), and [Ly](https://github.com/fairyglade/ly). This guide uses LightDM with the GTK greeter. ```command - sudo install lightdm + sudo apt install lightdm lightdm-gtk-greeter ``` -1. Set your new display manager as the system default. The command below opens up a prompt that lets you select your preference from all display manager's that are currently installed. +1. Configure the system to boot into the graphical target so LightDM starts automatically on restart. + + ```command + sudo systemctl set-default graphical.target + ``` + +1. (Optional) Confirm LightDM is selected as the default display manager. You may be prompted to select a default display manager when installing LightDM; if prompted, select LightDM. If you installed other display managers afterward, you can rerun the selector at any time. ```command sudo dpkg-reconfigure lightdm @@ -90,7 +96,7 @@ The instructions below install Xfce4 and LightDM on Debian 11. You are not limit ![Select the desktop environment within LightDM](glish-login-lightdm-select-desktop.png) - 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. + 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* or SSH and troubleshoot. ![Screenshot of tty in Glish](glish-tty1.png)