4

I'm trying to get a friend's server started for them. It's running on the same hardware platform as one that I personally use, so I figured it would be easy.

They're running CentOS, and I'm trying to get VNC to work. I picked TightVNC because it's what I use, and installed it. It complained that it couldn't find XAuth, so I installed that, too.

Now when I start the VNC server, it prints the following then exits:

You will require a password to access your desktops.

I can't get TightVNC to actually accept a password and continue. I suspect this has something to do with XAuth being set up wrong. Any ideas?

Giacomo1968
  • 58,727
Dan
  • 344

2 Answers2

4

Did you use vncpasswd to set the password for the VNC server? Just run vncpasswd before you start the VNC server for the first time and enter the password as prompted.

nopcorn
  • 16,982
1

I had this exact same problem, and the answers gave me hints to what was wrong, but we're not exactly the answer.

It turns out that the service was being started as the root user, but I did not have a password as the root user only as my user. I had to sudo su, and then run vncpassword.

That solved the problem.

Giacomo1968
  • 58,727