User Tools

Site Tools


applications:displaymanagers:lightdm:notes

Applications - Display Managers - LightDM - Notes

Autologin

Tested on Alpine Linux 3.21.

  1. Archive a copy of the lightdm.conf:
    cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.original
  2. Open /etc/lightdm/lightdm.conf in vi:
    vi /etc/lightdm/lightdm.conf
  3. Locate the line:
    [Seat:*]
  4. BELOW that line add:
    autologin-user=USER
  5. Replace “USER” with the login name of the account that should automatically logon.
  6. Restart the computer. It should now automatically logon with the configured user.

Source:

Start VNC server

Tested on Alpine Linux 3.21.

  1. Install tigervnc:
    1. On Alpine Linux:
      apk add tigervnc
  2. Archive a copy of the lightdm.conf:
    cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.original
  3. Open /etc/lightdm/lightdm.conf in vi:
    vi /etc/lightdm/lightdm.conf
  4. Edit below the [VNCServer] block to set it to enabled (enabled=true), remove password (command=Xvnc -SecurityTypes=None), and up the bitdepth to at least 16 (depth=32) to as the default 8 bits are no longer supported:
    --- /etc/lightdm/lightdm.conf.original
    +++ /etc/lightdm/lightdm.conf
    @@ -155,9 +155,11 @@
     #
     [VNCServer]
     #enabled=false
    +enabled=true
     #command=Xvnc
    +command=Xvnc -SecurityTypes=None
     #port=5900
     #listen-address=
     #width=1024
     #height=768
    -#depth=8
    +depth=32

Source:

applications/displaymanagers/lightdm/notes.txt · Last modified: 2025/05/29 11:46 by bas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki