Start |
You are here: Start » Remote

Remote Desktop


Remote Desktop Connection to the Pi

If you need to reach the Pi via graphical user interface, the easiest way is the following:

If you are running Windows on a PC, install xrdp on your Pi (apt-get install xrdp) and use Window's remote desktop.

Please note it may not work over the internet, as the firewalls can block the RDP port, but it works perfectly over LAN, in your home network.

Raspberry Pi remote-desktop-conection

Remote Desktop into the Raspberry Pi Using VNC
- linux home server / linux home PC
- Raspberry Pi - wheezy linux

SSH is great if you want to remotely access the RPi from the command line. The Raspbian OS also comes with a Desktop GUI environment called LXDE. If can access the LXDE desktop over HDMI by typing “startx” in the command line window. This will not work over SSH. Luckily we can still remotely access the LXDE Desktop from the Linux PC, using the VNC protocol.

- First we need to install the VNC server software on the the RPi. To do this, SSH into the Raspberry Pi and type “sudo apt-get install tightvncserver“. This will install the VNC server software on the RPi. Then type “tightvncserver” to configure the VNC server for the first time. You will then be asked to enter a password (8 characters only) & confirm it. I used “raspberr”. You will then be prompted to enter an optional “view only password”. This is not needed and you can choose to not set one by saying no. the next step is to type the following into the RPi SSH session to start the VNC server: “vncserver :1 “. This starts a VNC server on display number 1 with a resolution of 1280 by 720 and a color depth of 24. At this point the VNC server should be running on the Raspberry Pi.

- Now open another console window on your Linux PC and install a VNC viewer (client) on the Linux PC with the command: “sudo apt-get install xtightvncviewer “. Then in the same console window (Linux PC) type “xtightvncviewer &“. The ampersand allows us the run the application in the background.

- This will open the VNC viewer on our Linux PC. Type in the VNC server address that you want to connect to i.e. the RPi IP address & display number “″. You will then be prompted to enter your VNC password. Type that in and press enter.

- You now have full control over your Raspberry Pi via both the command line with SSH and the desktop environment over VNC.

Enabling Telnet
Installing Telnet Server and Client on Raspberry Pi

sudo apt-get install telnetd
sudo /etc/init.d/openbsd-inetd restart
sudo apt-get install telnet

Now you can telnet into your Raspberry Pi and also telnet from your Raspberry Pi.