#2 Create a Barebones Linux Desktop GUI without a Display Manager (Even lighter!)

Опубликовано: 27 Февраль 2026
на канале: DorianDotSlash
29,700
514

This is kind of a "Part 2" video which makes an even more barebones GUI system by not installing a desktop manager. Annotations will tell you where to skip to if you want to skip some parts.

The autologin stuff I did is below for you to copy and paste:


sudo mkdir -pv /etc/systemd/system/[email protected]/
sudo nano /etc/systemd/system/[email protected]/autologin.conf

In the autologin.conf file, put the following:

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin USERNAME --noclear tty1 38400


Then enable the service with this:

sudo systemctl enable [email protected]

Now edit/create the following file:

sudo nano ~/.bash_profile

And put this text in it:

[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx