======Applications - Display Managers - LightDM - Notes======
=====Autologin=====
// Tested on Alpine Linux 3.21. //
- Archive a copy of the lightdm.conf:cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.original
- Open /etc/lightdm/lightdm.conf in vi:vi /etc/lightdm/lightdm.conf
- Locate the line:[Seat:*]
- BELOW that line add:autologin-user=USER
- Replace "USER" with the login name of the account that should automatically logon.
- Restart the computer. It should now automatically logon with the configured user.
Source:
* [[https://christitus.com/lightdm-configuration/|Chris Titus - LightDM Configuration]]
=====Start VNC server=====
// Tested on Alpine Linux 3.21. //
- Install tigervnc:
- On Alpine Linux: apk add tigervnc
- Archive a copy of the lightdm.conf:cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.original
- Open /etc/lightdm/lightdm.conf in vi:vi /etc/lightdm/lightdm.conf
- 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:
* [[https://christitus.com/lightdm-configuration/|Chris Titus - LightDM Configuration]]
* [[https://superuser.com/questions/1718646/xvnc-and-lightdm-connect-to-primary-display-0-and-login-remotely|superuser - Xvnc and Lightdm connect to primary display :0 and login remotely]]
* [[https://users.dcs.aber.ac.uk/auj/en/office-remote-linux/|Remote access to your office desktop under Linux]]