Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

One way to quit ARD on a remote Mac via a local ARD Network
In some LAN configurations, there may be more than one Mac used to manage the others using Apple Remote Desktop. These may be physically separated by some distance. In such a situation, you may need to take control of one of the managing Macs from the other. But Remote Desktop won't let you control or view another Mac that is already running Remote Desktop.

If you can ssh to that Mac, you can manually quit the program from the command line. If that Mac's settings allow other VNC clients to connect to it, you can also do that. But if those options aren't available, here's a simple trick to quit the remote Remote Desktop. Create an AppleScript with the following code:
tell application "Remote Desktop"
  quit
end tell
Save it as an application, and test it locally. Then select the remote Mac from ARD's clients list and then Manage » Open Application. After ARD has grabbed the list of remote applications to pick from, click the + icon below the list and select your local AppleScript application.

The script is sent to the remote Mac and executed, quitting Remote Desktop there. You can now take control of that Mac as normal.
    •    
  • Currently 1.29 / 5
  You rated: 3 / 5 (7 votes cast)
 
[9,037 views]  

One way to quit ARD on a remote Mac via a local ARD | 4 comments | Create New Account
Click here to return to the 'One way to quit ARD on a remote Mac via a local ARD' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
One way to quit ARD on a remote Mac via a local ARD
Authored by: adroitboy on May 19, '08 08:02:17AM

I'm not sure if this is what you're trying to do, but you might also want to try...
ARD Preferences > Security >
Check: Allow control of this computer when this application is running.

I can manage/control computers just fine even when they are running ARD.



[ Reply to This | # ]
One way to quit ARD on a remote Mac via a local ARD
Authored by: mm2270 on May 20, '08 07:38:05AM

Yep. I manage my Mac at work over VPN via ARD even while ARD is running on it. Just change the prefs. No need to run this command to quit the app remotely.



[ Reply to This | # ]
One way to quit ARD on a remote Mac via a local ARD
Authored by: dhalfon on May 20, '08 03:27:49AM

you can with ARD post a unix command :"Top"
then "kill" & the remote ARD process number obtained from the Top list



[ Reply to This | # ]
One way to quit ARD on a remote Mac via a local ARD
Authored by: Ukkoite on May 22, '08 05:12:06AM
You could use command
killall "Remote Desktop"
on the remote machine too... No hunting for PIDs involved.

[ Reply to This | # ]