RPi – Remote desktop to main screen

You can connect to Raspberry Pi via SSH with no problem, but sometimes it is not enough. Sometimes you need to connect to GUI. Yes you can connect display to HDMI but I show you better way.

I show you how to enable Remote Desktop on Raspberry and setup it to connect to main screen so everything what you make via remote desktop is the same what is on HDMI output.

How to enable RDP on RaspberryPi ?

Run commands via SSH:

sudo apt-get update
sudo apt-get install x11vnc

Now you have install x11vnc server to your Raspberry Pi.

Run commands via SSH:

x11vnc -display :0 -usepw -noxdamage -ncache 10 -ncache_cr

This will run VNC server connected to your main Xsession.

How to connect to remote desktop ?

Now you can download any VNC client for example  VNC VIEWER