Lightdm VNC Connection with Password

To connect to a session being started with lightdm, install a vnc server such as tightvnc.

Run vncpasswd as the user who will connect.

Add the following to /etc/lightdm/lightdm.conf. Where john is replaced by the user.

[VNCServer]
command=/usr/bin/Xvnc -rfbauth /home/john/.vnc/passwd
enabled=true
port=5900
width=1920
height=1080
depth=16

Last updated