How to enable screen sharing (vnc) from terminal (ssh connection)?
Hi,
Setting the scene:
I installed Lion on my office iMac a couple of days before leaving on vacation.
Now on a remote location on holiday, I cannot share the screen of my office mac anymore. This was possible before the upgrade to Lion.
I'm still able to ssh to my office iMac, so I have some control...
Problem:
I want to check the Systems Preferences settings via terminal (the ssh session). How can I do this?
I suppose VNC is just switched off due to the upgrade, and I want to remotely enable screen sharing (and vnc) from the Terminal.
A google search tells me how to do this for 10.6, but not howto for 10.7.
Hope somebody can help.
Thanks,
Stefan.