• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4138
  • Last Modified:

XVNC Problem - No password configured for VNC Auth

Hi,
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?
Thanks
0
michaelsage
Asked:
michaelsage
  • 3
  • 2
1 Solution
 
harbor235Commented:

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

harbor235 ;}
0
 
michaelsageAuthor Commented:
Hi,
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.

Thanks

Michael
0
 
harbor235Commented:

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 ;}
0
 
michaelsageAuthor Commented:
Thanks for your help harbor, I have tried both. Still no luck...
Michael
0
 
michaelsageAuthor Commented:
Still no luck with this, leaving VNC how it is.

Thanks for all your suggestions.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now