Raspberrypihelp

Tutorials for your Raspberry Pi.

Raspberry Pi TightVNC Server

sudo apt-get install vnc-server
[ENTER]
vncserver
[ENTER]
Now enter a password. 

Now you will get a question:
 "Would you like to enter a view-only password (y/n)" I did "n"

If sudo apt-get install vnc-server is not working for you, try

sudo apt-get install tightvncserver

Tightvnctut1

Now download Tight VNC viewer, for Windows
TightVNC alternatives: RealVNC / UltraVNC / JollysFastVNC(MAC OSX)

Windows install of TightVNC:
Install viewer only, you don’t need the server, because the raspberry pi is the server.

TightVNC-1

 

After Setup- Open TightVNC and connect with RASPBERRYPIIPADRES:5901 (5091 is the port)

TightVNC-2

 

Screenshot of Realvnc on my android device.

Tightvnctut2

 

Connected to my raspberry pi.

Tightvnctut3

 

How to automatic start of Tightvnc on boot?

sudo nano /etc/rc.local

and add “sudo vncserver” 1 line above “Exit 0”

 

TightVNC-3

 

Hit control + X to save and close the file.

Have fun!

 

4 Comments

  1. It did not work for me. Error in TightVNC Viewer: No Connection could be made because the target machine actively refused it.

    6 days straight and the pi3 is still not working.

    • Rpihelp.net

      March 26, 2016 at 10:20 am

      Robert, i just used my own tutorial, and it works.
      Did you enter the right internal IP adres of your raspberry?
      I added some extra screenshots to the tutorial.

      • Sir… added the extra line….

        Still “target machine activitly refused it”.

        No t having fun..

        do you also have instructions for samba… 6 days many hours a day and it si still not working

  2. Great tutorial!
    Found a typo in the following line:
    “After Setup- Open TightVNC and connect with RASPBERRYPIIPADRES:5901 (5091 is the port)”
    Should read:
    “(5901 is the port)”

    Also, on Raspbian Jessie, I had to change the entry for the /etc/rc.local file to the following:
    su – pi -c ‘/usr/bin/tightvncserver :1’

    Love all of your tutorials, keep up the great work!

Leave a Reply

Your email address will not be published.

*

© 2016 Raspberrypihelp

Theme by Anders NorenUp ↑