Mac – Why would VNC view on mac OSX hang after accepting password

macmac-osxvnc

I'm trying to VNC into a Mac OSX machine. I can ssh in fine. I am also running this VNC connection over an SSH tunnel, however it worked fine yesterday.

I'm trying

$ vncviewer 127.0.0.1::13458

and it connects and gives the following output.

Connected to RFB server, using protocol version 3.8
Performing standard VNC authentication
Password: 

I enter the VNC password. However it just hangs there and nothing happens. This happens if I enter a known incorrect password and the correct password.

What could be causing this and how would I go about diagnosing this?

Best Answer

I've had similar things happen when the ARD service went fubar and needed a restart. It's fairly simple over SSH.

If you are using a different VNC server then this still applies. Try killing the process and restarting it.

To restart the ARDAgent - http://support.apple.com/kb/HT2370

Basically.

ssh into the box and run

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent