- Install x11vnc:
$sudo apt-get install x11vnc
- Set VNC password for security (password is saved by default in ~/.vnc/):
- Enable remote desktop login: open with sudo the file
/etc/kde4/kdm/kdmrcfind and change the following lines of [Xdmcp] section to be:
- Turn on VNC server after each reboot: open with sudo the file
/etc/kde4/kdm/Xsetupand append the line (see also the 4th comment(σχόλια) of "Ed" for a better solution):
/usr/bin/x11vnc -dontdisconnect -shared -forever -rfbport 5900 -bg -o /var/log/x11vnc.log -rfbauth /home/your_login_name/.vnc/passwdThis way you can login to the remote PC, without loosing your login session each time you disconnect your VNC client. Thus, the next time(s) that you will connect with your VNC client again, you will see your RD session (until you logout -or reboot- the remote PC).
- Restart kdm:
sudo /etc/init.d/kdm restartor (better?) reboot remote PC.
Time to resurrect this blog.
6 years ago