Page 1 of 1

TightVNCServer Problems

Posted: Sun Jan 13, 2013 10:57 pm
by wardellcastles
I cannot get Tight VNC Server to work properly on my RPi.

Here's what I have done:

1) sudo apt-get install tightvncserver
2) tightvncserver
2A) (entered password for the server)
3) vncserver :0 -geometry 1920x1080 -depth 24
(These instructions came from several web sites)

On my Windows machine, I have installed the Tight VNC Client

When I try to connect to my RPi on Windows, I get a message,
Authentication reason: Authentication failed.

So my thinking is to completely uninstall tightvncserver and start over.

I have now tried to completely remove tightvncserver on the Pi by the commands
1) sudo dpkg -r tightnvncserver
and
2) sudo apt-get remove --purge tightvncserver

Both or either commands indicate tightvncserver has been removed

So now I go and resintall via
1) sudo apt-get install tightvncserver
2) tightvncserver
However now the server just starts and doesn't prompt me for a password.

Re: TightVNCServer Problems

Posted: Mon Jan 14, 2013 1:38 am
by michaeljquinn
make sure that the port is correct

try 5901 on the client - not at my pi at the moment,

Re: TightVNCServer Problems

Posted: Mon Jan 14, 2013 1:54 am
by wardellcastles
I really hate to ask a noob question. I have googled for the answer for how to specify the port and come up empty handed.

Suppose I have the server running at 192.168.1.100:0

How do I specify the port as 5901 ??? From what I can see I am supposed to specify the port after two colons, e.g. 192.168.1.100:0::5901

However that doesn't work.

Re: TightVNCServer Problems

Posted: Mon Jan 14, 2013 1:57 am
by wardellcastles
Also.. if nothing else works, how do I completely uninstall TightVNCServer on the Pi so that I can reinstall it and give it a new password?

Re: TightVNCServer Problems

Posted: Mon Jan 14, 2013 2:04 am
by Dweeber
The password is located in a file in your home directory. IF you delete it, you can set the password again.


Here is how I set it up: http://rpi.tnet.com/project/faqs/tightvncserver

Re: TightVNCServer Problems

Posted: Mon Jan 14, 2013 2:06 am
by wardellcastles
Hey, I got it to work finally.. it wasn't a port problem. My keyboard kept typing in the wrong password.. dohhh!!!. :oops: :oops:

Thanks for the offer of help though!!!

Re: TightVNCServer Problems

Posted: Mon Jan 14, 2013 1:36 pm
by SimonSmall
You start the VNC server by typing "vncserver :1" where the "1" represents the display number. The server then communicates over port 5901. If you type "vncserver :5" the port would be 5905

When you try to connect to the Pi from another device, you specify the server as "192.168.1.100:1" or whatever the IP address of the Pi happens to be. The ":1" corresponds to the display number that you launched the server with. You don't really have to worry about the port number.

Re: TightVNCServer Problems

Posted: Tue Feb 03, 2015 8:52 am
by DanielVd
michaeljquinn wrote:make sure that the port is correct

try 5901 on the client - not at my pi at the moment,
It works! Thanks man!

Re: TightVNCServer Problems

Posted: Thu Nov 19, 2015 10:06 am
by Mowrish
You could reset the password via pi terminal using the command

vncpasswd

Hit Enter and type your new password. Then restart the vncserver

service vncserver restart

Hola Your problem is fixed

Re: TightVNCServer Problems

Posted: Fri Jul 21, 2017 2:43 pm
by Malcolm_d
I have an X11 application running quite happily when I use tightvnc remote access the app becomes slow and unreliable is there a conflict with display ?

Re: TightVNCServer Problems

Posted: Fri Jul 21, 2017 4:38 pm
by DougieLawson
Malcolm_d wrote:I have an X11 application running quite happily when I use tightvnc remote access the app becomes slow and unreliable is there a conflict with display ?
Do you get the same effect if you remove TightVNC and replace it with, the much better supported, RealVNC?

Re: TightVNCServer Problems

Posted: Sat Jul 22, 2017 9:32 am
by Malcolm_d
Hi Dougie , No I don't its perfect with Real Vnc my problem is it's limited to 5 pi's if you want more you have to subscribe £31 for each additional unit

Re: TightVNCServer Problems

Posted: Sat Jul 22, 2017 9:54 am
by DougieLawson
Malcolm_d wrote:Hi Dougie , No I don't its perfect with Real Vnc my problem is it's limited to 5 pi's if you want more you have to subscribe £31 for each additional unit
Isn't that a per registration email address limit? You can also tunnel VNC over ssh without using the RealVNC cloud service.