Fix incorrect system names in Apple Remote Desktop
Apr 16, '08 07:30:00AM • Contributed by: Anonymous
Apr 16, '08 07:30:00AM • Contributed by: Anonymous
As a system admin, from time to time in Apple Remote Desktop (ARD), I find a system that is no longer showing the correct name (often the name shown is the IP address reversed ie: 31.0.0.10). This can prevent the system from being controlled or running reports for your task server.
To correct this remotely, you'll need to use one of the following two solutions -- I prefer the first method, assuming you've enabled remote login (ssh).
Method #1:
Method #2: This is not as secure, but it gives you access.
To correct this remotely, you'll need to use one of the following two solutions -- I prefer the first method, assuming you've enabled remote login (ssh).
Method #1:
- Open Terminal and ssh to the system in question: ssh administrator@ip.of.target.system. Enter the admin password, and if prompted to accept the certificate, type YES then press Enter.
- Type cd /Library/Prefrences and press Enter.
- Type mv com.apple.ARDagent.plist com.apple.ARDagent.plist_bad and press Enter. Repeat this command with com.apple.RemoteDesktop.plist and com.apple.RemoteManagement.plist -- remember to add _bad to the end of each filename when moving it.
- Type cd /Users/username/Library/Prefrences; replace username with the affected user's short username.
- Type mv com.apple.internetconfig.plist com.apple.internetconfig.plist_bad. Repeat this step for com.apple.internetconfigpriv.plist and com.apple.remotedesktop.plist if they are present (remember to add the _bad bit to the filename).
- If the end user is logged in, pick up the phone and call them, ask them in your nice admin voice to save their work and go get a cup of coffee. You will be force restarting the computer.
- Once the user has saved his/her work, type sudo shutdown -r now and press Enter. Supply the password as needed for the admin account.
Method #2: This is not as secure, but it gives you access.
- Go to FogCreek.com (or what ever free remote HTTP/Java-based remote control session software makes you smile).
- Set up a Session and email the link to your end user.
- Have your end user click the link in the email and open the DMG file that is saved to their downloads folder (if they are on 10.5) or desktop (if they are on 10.4).
- Again in your nice admin voice, ask the user to double-click on the green icon that says Co-Pilot for the name.
- From the FogCreek site, download the remote control package and open the DMG. Run the blue app also called Co-Pilot.
- (If you first tried method #1, skip this step.) In the finder, move all the com.apple.ARD and com.apple.network-related files to the trash.
- Open System Prefrences and go to Sharing. Re-enter the system name and re-enable remote login and remote management to your organization's specs.
- Close Co-Pilot and remote control the system via ARD.
•
[19,950 views]
