Here’s how to remotely log into a Linux machine desktop session from a windows machine. With x11vnc you can log into a running desktop machine session connected to a physical screen. I am assuming a Debian or Ubuntu-based host machine with a running X environment.
- Download and install x11vnc.
sudo apt-get install x11vnc
- Now let’s create a password.
The password is written to:
(Note: The vnc connection is unencrypted and therefore should only be used within trusted network. See the x11vnc documentation for secure connection via SSH tunneling)
- Once you have created your password, start the server with
x11vnc -usepw -forever -viewonly
- You can now connect to your machine via a VNC client and are promted for the password by doing so. For Windows, I recommend ultravnc viewer.