Solved

XVNC Problem - No password configured for VNC Auth

Posted on 2008-09-30
6
3,921 Views
Last Modified: 2013-11-30
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
Comment
Question by:michaelsage
  • 3
  • 2
6 Comments
 
LVL 32

Expert Comment

by:harbor235
ID: 22613301

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

harbor235 ;}
0
 

Author Comment

by:michaelsage
ID: 22613699
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
 
LVL 32

Expert Comment

by:harbor235
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 ;}
0
 

Author Comment

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

Accepted Solution

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

Thanks for all your suggestions.
0

Featured Post

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

730 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