[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


No password configured for VNC Auth

Posted on 2006-05-26
Medium Priority
Last Modified: 2013-12-27
Hi experts,

I have decided to post this as a separte thread, I might just be lucky. I loaded Realvnc, the client where vnc viewer is running is Windows XP, the server where vncserver is running is a V440 machine running solaris 10 with configured zones.
Now, after setting up a password by running vncpasswd, I started the server, when I try to access the server using vncviewer it prompts me for a password, I then enter the password which I configured with vncpasswd, but it still rejects the password by bring up a pop which reads the following: "No password configured for VNC Auth".
Could some please help me, I have searched google and all resources I know of but I still cannot find a solution.
Question by:mwari
  • 2
LVL 38

Accepted Solution

wesly_chen earned 172 total points
ID: 16770942
When you stat vncserver on V440, did you remember the Xwindow session number such as :1 or :2?

Then put the session number in Realvnc
to see
LVL 14

Assisted Solution

arthurjb earned 164 total points
ID: 16775712
Take a look in the .vnc directory of the account where you start the vncserver.

If you don't kill the previous versions of the server, you may find a bunch of files with names like wesly describes hostname:1 hostname:2 etc

you will also see a file named passwd  Check the dates and times on these files and see if maybe the passwd file is old (which means it might a a different password then you think.)

I tried a similar setup on my Solaris to, wwith only one container, and it worked fine.  One difference is that I used tightvnc on the windows box, and the blastwave.org package for vncserver

Maybe you can delete the .vnc folder (after making sure all vnc sessions are killed.)  I did have a problem with killing some sessions while testing, and had to kill them manually...
LVL 22

Assisted Solution

pjedmond earned 164 total points
ID: 17164074
It means that you need to specify the location of your passwd file when you start the server. For example:

x0vncserver --PasswordFile=/home/myfolder/.vnc/passwd

man the version of vncserver that you are using to get the correct format.

(   (()
(`-' _\
 ''  ''

LVL 22

Expert Comment

ID: 17164085
vncserver -help
Xvnc -help
x0vncserver -help

etc to get the full list of parameters.

(   (()
(`-' _\
 ''  ''


Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month20 days, 7 hours left to enroll

868 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