LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   TigerVNC - No password configured for VNC Auth (http://www.linuxquestions.org/questions/slackware-14/tigervnc-no-password-configured-for-vnc-auth-4175481450/)

JamesGT 10-19-2013 09:33 PM

TigerVNC - No password configured for VNC Auth
 
I am currently running Slackware64 14.0 with TigerVNC 1.1.0. I had this working previously, but I can not connect to my computer via my Android tablet within my own network. When I try to connect I get an error : "No password configured for VNC Auth".

I checked in my /home/*user*/.vnc directory and I see the passwd file there. I have deleted, I've used vncpasswd to recreate the passwd file, I have deleted it again, ran vncserver again to put in a new password...but when I try to connect I continue to get the same error.

What am I missing?

Z038 10-19-2013 11:44 PM

Are you using x0vncserver? If so, you need to explicitly specify the password file.

Code:

$ x0vncserver -display=:0 -PasswordFile=/home/username/.vnc/passwd

JamesGT 10-20-2013 09:54 AM

I was just using vncserver. I will try your suggestion and see if it works.

JamesGT 10-20-2013 10:07 AM

When I try to run x0vncserver I get the following error:

Code:


unable to bind listening socket: Address already in use (98)

Checking with what is listening, nothing is listening on 5900. Only this :

Code:


bash-4.2$ lsof -i -n | grep LISTEN
ssh    5437 jamesgt    4u  IPv6  85296      0t0  TCP [::1]:socks (LISTEN)
ssh    5437 jamesgt    5u  IPv4  85297      0t0  TCP 127.0.0.1:socks (LISTEN)


Z038 10-21-2013 01:06 AM

You may need to run the command as root. Use su or sudo.

Try this also:

Code:

# netstat -tulpn

JamesGT 10-24-2013 07:36 PM

Code:

# netstat -tulpn
[/QUOTE]

That tells me X itself is listening on 5900. Where do I stop that from happening?

JamesGT 10-24-2013 07:47 PM

Ok, I found it. In xorg.conf was "load vnc", deleted the line, restarted X and now tigervnc works as it should. Awesome! Thank you very much!

Z038 10-25-2013 12:38 AM

You're welcome. I'm glad you were able to find it.


All times are GMT -5. The time now is 07:50 PM.