Difference between revisions of "RPi VNC Server"

From eLinux.org
Jump to: navigation, search
(Created page with "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...")
 
(Standard page structure added)
Line 1: Line 1:
 +
Back to [[RPi Projects]].
 +
 +
 +
'''Raspberry Pi VNC Server'''
 +
 +
=What does it do?=
 +
 +
xxx
 +
 +
=What do you need?=
 +
 +
*A Raspberry Pi, model B.
 +
*A boot SD card for the Raspberry Pi.
 +
*A network connection (Ethernet or WiFi).
 +
 +
=What skill level is required?=
 +
 +
This project does not require any coding or compilation. Very basic Linux and networking knowledge would be useful, but not essential.
 +
 +
You need to...
 +
*Install software
 +
*Enter basic Linux commands
 +
*Use standard software tools (Windows/Linux/Mac) to add a network drive to your PC
 +
*Connect computers using ethernet cables
 +
 +
=How does it work?=
 +
 +
xxx
 +
 +
=Overview of this project=
 +
You need to
 +
*Install a VNC server on the Raspberry Pi
 +
*Start the VNC server
 +
*Install a VNC client on another computer
 +
 +
=Instructions=
 
Log in to your Pi and install the Tight VNC Package
 
Log in to your Pi and install the Tight VNC Package
 
  $ sudo apt-get install tightvncserver
 
  $ sudo apt-get install tightvncserver

Revision as of 12:39, 24 April 2012

Back to RPi Projects.


Raspberry Pi VNC Server

What does it do?

xxx

What do you need?

  • A Raspberry Pi, model B.
  • A boot SD card for the Raspberry Pi.
  • A network connection (Ethernet or WiFi).

What skill level is required?

This project does not require any coding or compilation. Very basic Linux and networking knowledge would be useful, but not essential.

You need to...

  • Install software
  • Enter basic Linux commands
  • Use standard software tools (Windows/Linux/Mac) to add a network drive to your PC
  • Connect computers using ethernet cables

How does it work?

xxx

Overview of this project

You need to

  • Install a VNC server on the Raspberry Pi
  • Start the VNC server
  • Install a VNC client on another computer

Instructions

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.

http://www.tightvnc.com/download.php

Then use <Your Pi IP>:1 (e.g. 192.168.1.2:1) 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.