XVNC Problem - No password configured for VNC Auth

Posted on 2008-09-30
Medium Priority
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

752 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