XVNC Problem - No password configured for VNC Auth

Posted on 2008-09-30
Last Modified: 2013-11-30
I am trying to setup VNC to work with xinetd. I have the following in my
/etc/services file
vnc-mjs04             5951/tcp
Then in the /etc/xinetd.d/vnc

service vnc-mjs04
        socket_type = stream
        protocol = tcp
        wait = no
        user = nobody
        server = /usr/bin/Xvnc
        server_args = -inetd -query localhost -once -rfbauth /home/mjs04/.vnc/passwd -desktop mjs04@hpcc1

I have a password in my /home/mjs04/.vnc/passwd file when connect on hpcc1:5951, I get the password box and enter the correct password, I then get the following
No password configured for VNC Auth.

Any ideas?
Question by:michaelsage
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 32

Expert Comment

ID: 22613301

default behavior is to not allow login until a password is set, run vncpasswd for that user and set a passwd.

harbor235 ;}

Author Comment

ID: 22613699
Sorry maybe I didn't put it in the question clearly. I have already set the password and checked for the existance of the password file.

I set the password by being logged on as the user and type vncpasswd :5951 to set the password.


LVL 32

Expert Comment

ID: 22613811

I am not sure how you started the service, however, has the vnc daemon be restarted since the config was changed. Also, try resetting the passwword again, never know.

harbor235 ;}

Author Comment

ID: 22617815
Thanks for your help harbor, I have tried both. Still no luck...

Accepted Solution

michaelsage earned 0 total points
ID: 22780164
Still no luck with this, leaving VNC how it is.

Thanks for all your suggestions.

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question