I forgot to turn on "VNC viewers may control screen with password", to enter on my working Mac, is there way to turn-on this feature remotely via SSH (I'm on WindowsXP now)?
migrated from stackoverflow.com Nov 5 '11 at 8:30
This question came from our site for professional and enthusiast programmers.
Putty is a good SSH client for Windows.
1) SSH into your remote OS X machine with an administrator’s log in and password.
2) Enable Remote Desktop (a.k.a. Screen Sharing, a.k.a. VNC) with this command:
3) Login using a VNC client. As I mentioned, TightVNC worked for me; for some reason, RealVNC and UltraVNC didn’t. Your password is “mypasswd” (see the -vncpw flag in the above command; you can and should change this).
4) When you are done, turn of screen sharing using your SSH session:
Here is a different way that enables screen sharing access all current users, instead of using a single vnc password;
Disable the same as before.
This allows you to connect to the remote computer from a mac using the