0

Auto login with Kubuntu 14.10 KDE 5 plasma

How can I start a VNC server before log on?

1 Answers1

0

Drop into Root:

sudo -s

First off, install X11vnc:

apt-get install x11vnc

Make a place for its files:

mkdir /etc/x11vnc

Set up auth:

x11vnc -storepasswd in /etc/x11vnc/passwd
x11vnc -storepasswd /etc/x11vnc/passwd

You will be asked to choose a password. Follow the on-screen instructions.

Edit the configs:

nano /etc/init/x11vnc.conf

Add this to the config:

start on login-session-start

script

sudo x11vnc -xkb -forever -auth /var/run/kdm/root/:0 -display :0 -rfbauth /etc/x11vnc/passwd -rfbport 5900 -bg -o /var/log/x11vnc.log

end script

Save with Ctrl+X.

Reboot and you can now use VNC.

(Src)

Kaz Wolfe
  • 34,680