RPi VNC Server

From eLinux.org
Revision as of 12:30, 24 April 2012 by Bredman (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Log in to your Pi and install the Tight VNC Package

$ sudo apt-get install tightvncserver

Next Run TightVNC Server which will prompt you to enter a Password and an optional View Only Password

$ tightvncserver

Once that is done you can run it straight from the prompt I am using 1920x1080 which is my monitor maximum resolution.

$ vncserver :1 -geometry 1920x1080 -depth 24

Or you could create a script to save typing in the whole thing.

$ nano svnc.sh (call the file whatever you like and ending in .sh)

Add the line:

vncserver :1 -geometry 1920x1080 -depth 24

Ctrl-x y <return> (To Exit Nano and Save)

Set the file to Execute

$ chmod +x svnc.sh

then to run

$ ./svnc.sh

ToDo: Run at boot.

Install Tight VNC on your desktop from the link below or most VNC clients work I believe.


Then use <Your Pi IP>:1 (e.g. as the host name when connecting.

Works Great, select full screen from the tool bar and a full 1080p 24bit desktop is yours from anywhere.