11 Feb
2021
11 Feb
'21
20:44
I'm using x0vncserver, which is available in package xorg-x11-Xvnc. With vncpasswd command you can create a password file ($HOME/.vnc/passwd by default). Then I have a script in ~/.config/autostart-scripts/vnc.sh: #!/bin/bash exec x0vncserver -PasswordFile ~/.vnc/passwd And that's it. KDE automatically executes it on startup (other DE might as well, IDK). When connecting with vncviewer you're asked for password, that was set up in the first step. If you want no security at all (NOT RECOMMENDED!!!) you can use x0vncserver -SecurityTypes None