Auto login with Kubuntu 14.10 KDE 5 plasma
How can I start a VNC server before log on?
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.
Required-Stop:' entry: please add even if empty. insserv: Script vncserver is broken: incomplete LSB comment. insserv: missing
Required-Stop:' entry: please add even if empty.