Symptom
During a Control session, if you choose the Log Out command for the client computer, you may lose your control connection.
Solution
Use one of several workarounds.
First, try closing the Control window and simply starting a new Control session. This should work in most cases.
If that does not work, either restart the client computer or use SSH to restart the ARD agent process, whichever you prefer.
Note: To use SSH, Remote Login must have previously been selected in the Sharing preference pane of the client computer.
To use SSH, follow these steps:
1. Open Terminal (/Applications/Utilities/).
2. Type: ssh <client_address>
Note: replace "<client_address>" with the actual DNS name or IP address of the client computer.
3. Press Return.
4. Complete the authentication dialog. You may or may not see an RSA key warning.
5. Type: ps -auxwww | grep ARD
6. Press Return. If the ARD processes are running, the output will include:
root 344 0.0 0.0 1552 100 ?? Ss 15Apr03 0:04.25 /System/Library/CoreServices/ARD Helper
root 633 0.0 0.7 42512 1784 ?? S 15Apr03 5:29.80 /System/Library/CoreServices/ARD Agent.app/Contents/MacOS/ARD Agent -psn_0_524289
7. If either of the above processes is not running, type:
sudo /System/Library/StartupItems/RemoteDesktopAgent/RemoteDesktopAgent
8. Press Return. This restarts the processes. Repeat the ps command to verify that they are restarted.