How can I leave the remote screen locked when I ARD/VNC/etc. to my Mac?

I'm currently using Jolly's Fast VNC and Mac OS X's built-in VNC server (System Preferences, Sharing, Screen Sharing) to access my iMac remotely.

Here's my problem: When I'm using the iMac remotely, the screensaver deactivates and the screen is unlocked. If someone had physical access to my iMac they could walk up to it and start using it.

Is there some way I can set things up so that when I'm using my iMac remotely the screen stays locked, like Windows XP Professional does when you're using RDP?

I know I can use X remotely with the iMac locked, but I would like to use Mac applications remotely, too.


Solution 1:

Using ARD, use the Curtain option to control the computer. That will ask for a "Lock" message, that will be displayed while you are controlling the computer. The display will be changed to a picture of a "Lock", and your message... So be polite.

Otherwise, you can take control of the computer normally, and click on the "Lock" message.

If you are using the built-in remote control software with Leopard / Snow Leopard, there is no method to lock the screen while controlling it. There had been some functionality in 10.5.0 - 10.5.5, but Apple removed it in 10.5.5. (It was unadvertised and required a hack to enable it)

Solution 2:

On Tiger (i.e. without the built-in VNC server) I use the Vine VNC server. And what is supported there is fast user switching. So if the server is running, I can switch to a different user (or to the log-in screen) and still are able to connect to VNC server.

I am not sure if the built-in VNC server is supporting this as well, but you could give it a try.

The disadvantage of this solution (if it works) is still that you have to remember to do the fast user switching when you leave the iMac (and want remote access later on).

Solution 3:

Using your ARD / VNC client there should be an option to take control of the screen, this will not allow other users to generate user input while you're controlling it. Then when you're done, simply lock the screen and disconnect.