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


Click here to return to the 'Remote GUI login via Apple Remote Desktop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Remote GUI login via Apple Remote Desktop
Authored by: TylerL on Jul 13, '05 11:11:21AM
This can also be accomplished with only one line (split up for table happiness):
osascript -e 'tell application "System Events"' -e 'keystroke "LOGIN_NAME"' -e 'keystroke tab' \
-e 'delay 0.5' -e 'keystroke "PASSWORDHERE"' -e 'delay 0.5' -e 'keystroke return' -e 'end tell'
And yes, this should work fine through SSH too. Just make sure the screen's at the loginwindow :p

[ Reply to This | # ]
Remote GUI login via Apple Remote Desktop
Authored by: telegramsam on Jul 14, '05 05:26:35PM

Acutally, it won't work through SSH... it gives some error about not being able to communicate with the window manager or something.

---
What is signature?



[ Reply to This | # ]
Remote GUI login via Apple Remote Desktop
Authored by: nukethis on Jul 28, '05 03:05:27PM

You need to sudo the command first. Then it will work.



[ Reply to This | # ]