LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-25-2008, 06:45 PM   #1
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Rep: Reputation: 15
no password configured for vnc auth


Hi,

I've configured vnc to run for a user other than root. It's running but doesn't let me log in when i do so from vnc viewer. Gives the following error:

No Password Configured for VNC Auth

I changed the password using vncpasswd and restarted the vncserver. Using IP:Port to log on, no luck

This works for root however.

Please help.

Thanks.
 
Old 03-25-2008, 07:08 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
What command line do you use to start the vncserver and do you run it as the user (and not as root)?
 
Old 03-25-2008, 07:15 PM   #3
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
I run is as that user, not root! The following command:

/usr/bin/vncserver -geometery 1024x768
 
Old 03-25-2008, 07:37 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
I also specify a display when I start the server (for example, vncserver :1 1024x768) and when I connect I use IP:display, not the port (for example vncviewer 192.168.0.5:1).

That shouldn't cause a password error though, it would stop the connection if it were incorrect. Have you had a look in ~/.vnc/passwd to see if there is an obfuscated password string plus your username?

Last edited by gilead; 03-25-2008 at 07:39 PM.
 
Old 03-25-2008, 07:57 PM   #5
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
It works now, nevermind, the passwd file was empty so i just used vncpasswd again to populate it. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"no password configured for VNC auth" Rizzter Linux - Newbie 3 10-11-2013 08:41 PM
VNC server no displays configured TonyOCL Linux - Newbie 15 09-12-2008 08:44 PM
Postfix configured SASL auth OK, but Outlook login kept rejected randy_liu_tw Linux - Software 2 01-14-2005 02:56 AM
xstartup configured, Vnc still only loads grey screen on boot. DeTHZiT Linux - Software 8 09-05-2004 11:45 AM
Proftpd Password Auth Sifvion Slackware 10 09-12-2002 08:53 AM


All times are GMT -5. The time now is 04:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration