wardellcastles
Posts: 6
Joined: Sun Jan 13, 2013 10:47 pm

TightVNCServer Problems

Sun Jan 13, 2013 10:57 pm

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.

michaeljquinn
Posts: 39
Joined: Sun Oct 21, 2012 8:19 am

Re: TightVNCServer Problems

Mon Jan 14, 2013 1:38 am

make sure that the port is correct

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

wardellcastles
Posts: 6
Joined: Sun Jan 13, 2013 10:47 pm

Re: TightVNCServer Problems

Mon Jan 14, 2013 1:54 am

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.

wardellcastles
Posts: 6
Joined: Sun Jan 13, 2013 10:47 pm

Re: TightVNCServer Problems

Mon Jan 14, 2013 1:57 am

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?

User avatar
Dweeber
Posts: 606
Joined: Fri Aug 17, 2012 3:35 am
Location: Mesa, AZ
Contact: Website

Re: TightVNCServer Problems

Mon Jan 14, 2013 2:04 am

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
Dweeber A.K.A. Kevin...
My RPI Info Pages including Current Setup - http://rpi.tnet.com

wardellcastles
Posts: 6
Joined: Sun Jan 13, 2013 10:47 pm

Re: TightVNCServer Problems

Mon Jan 14, 2013 2:06 am

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!!!

SimonSmall
Posts: 220
Joined: Tue Oct 09, 2012 8:13 pm

Re: TightVNCServer Problems

Mon Jan 14, 2013 1:36 pm

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.

DanielVd
Posts: 5
Joined: Wed Apr 09, 2014 3:27 pm

Re: TightVNCServer Problems

Tue Feb 03, 2015 8:52 am

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!

Mowrish
Posts: 1
Joined: Thu Nov 19, 2015 9:59 am

Re: TightVNCServer Problems

Thu Nov 19, 2015 10:06 am

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

Malcolm_d
Posts: 52
Joined: Mon Jun 29, 2015 2:21 pm

Re: TightVNCServer Problems

Fri Jul 21, 2017 2:43 pm

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 ?

User avatar
DougieLawson
Posts: 36096
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: TightVNCServer Problems

Fri Jul 21, 2017 4:38 pm

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?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Malcolm_d
Posts: 52
Joined: Mon Jun 29, 2015 2:21 pm

Re: TightVNCServer Problems

Sat Jul 22, 2017 9:32 am

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

User avatar
DougieLawson
Posts: 36096
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: TightVNCServer Problems

Sat Jul 22, 2017 9:54 am

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.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Troubleshooting”