Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to do a remote desktop connection to a Mac using the remote desktop viewer in Ubuntu 11.10 with the VCN protocol. I get to the password prompt enter my password then I get the error that the connection was closed. I can SSH to the Mac and navigate via the command line with no problem, but I really need to access the desktop. I would appreciate any suggestions as I am at a loss. Thanks in advance.

share|improve this question
    
Did you setup up the Mac to be Accessed Remotely? –  Mitch Jun 7 '12 at 17:23
    
yes my adviser set the mac up for remote access and he can access it form his personal mac which is why I think the problem lies with Ubuntu –  Surfcast23 Jun 7 '12 at 17:26

1 Answer 1

If you can ssh to the mac, you should tunnel the VNC connection over ssh. Check the box in vinagre that says:

Use host (blank) as a SSH tunnel

and fill in the blank with the hostname for the mac.

share|improve this answer
    
I tried using the host name and got this error Timed out when logging in –  Surfcast23 Jun 7 '12 at 19:24
    
To be clear, you are using the same thing for both boxes. From your question title, I would assume that you entered in an IP address into the first box. Did you enter the same thing into the second box? –  pestilence Jun 7 '12 at 20:36
    
good call. I copied the host address wrong in the second box. I did it again, got to the password prompt then Connection to host XXX.XXX.XXX.XX was closed error again. –  Surfcast23 Jun 7 '12 at 21:43
    
I think you'll need to figure out where the log files are for vinagre and look at those, possibly increasing the verbosity. If vinagre doesn't have such an option, try a different vnc viewer such as xtightvncviewer or xvnc4viewer. It will certainly be difficult to diagnose the problem from such a vague message. –  pestilence Jun 11 '12 at 17:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.