We've previously explained how to connect using SSH , which delivers remote command line access. But what if you need access to the Raspberry Pi desktop from your PC or laptop? Virtual Network Computing uses the remote frame buffer protocol to give you control of another computer, transmitting keyboard and mouse input to the remote computer and sending output back across the network to your display. This means that you can launch programs remotely on your Raspberry Pi, adjust settings in the Raspbian GUI and generally use the desktop environment much as you would with the Pi plugged into your monitor.
Begin by running a package update:. Note that you can either do this with your monitor plugged in, or remotely using the command line via SSH. To connect to this server session, you'll first need to install TightVNC on your desktop computer. Linux users should simply install the TightVNC viewer:. As things stand, this will only work if you run tightvncserver each time you reboot the Raspberry Pi, which means first establishing an SSH connection - not ideal!
However, you can overcome this by creating a startup script. Next, set the permissions:. Another script is now required, but first you'll need to login as root, and navigate to the correct directory:. Once up and running, you should be able to interact with most desktop apps and settings.
Some users find TightVNC slow, however. If you have followed our guide to SSH, or have previously used the service, you will know that such connections are operated via an SSH client. Windows users can take advantage of Xming, a VNC-style solution that offers faster performance and additional reliability.
Get started by downloading Xming from Sourceforge and installing, confirming that the PuTTY link is selected in the installation wizard. Once Xming is installed, find the desktop shortcut, right-click and select Properties. In the Target field , ensure that the file address is appended as follows:.
When done, launch Xming. Windows Firewall will attempt to block the program, so wait for this box to appear and click Allow. We're nearly there. Here, check Enable X11 forwarding. Return to the Session view, then enter the IP address or device name for your Raspberry Pi, perhaps saving the session if you plan on using those settings again. Click Connect — seconds later, you'll be enjoying a virtual desktop experience over SSH!
Note the entry for TightVNC on port You may have noticed TightVNC was also running on port A discussion of X11 is out of scope for this post, but more info can be found here. I had a lot of problems with this part until I found this post , with detailed instructions on how to perform these steps. Copy and paste the init script from the above post , into this file.
Save and close the file. It can work on any computer where Java is installed. It requires Java SE version 1. And it can work in your browser as well. If you are concerned about security, use SSH. Note the TightVNC toolbar along the top edge of the window. Note these changes this can affect performance. This entry was posted on December 26, , pm and is filed under Raspberry Pi. You can follow any responses to this entry through RSS 2.
You can leave a response , or trackback from your own site. Stafford on August 22, - pm. Amazing Post! Does it bring up a new desktop environment on the pi? Stafford on October 27, - am. You can run multiple instances.
Each time you start tightvncserver it will use the next available desktop, but in most cases you will just need one. Is their any way to see the users desktop? Hello Gary, what would I have to change if there was more than one Raspberry Pi? You are commenting using your WordPress. You are commenting using your Google account.
You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. This site uses Akismet to reduce spam. Learn how your comment data is processed. Installation TightVNC has two parts, the client and the server.
TightVNC is divided in two parts: the server and the client. marn.copljo.info › projects › setup-raspberry-pi-remote-desktop-using-tig. This is a guide to installing TightVNC on the Raspberry Pi. The TightVNC server creates a different virtual window which is replicated on a different.