image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X Server

Reply
 
LinkBack Thread Tools
  #1  
Old July 31st, 2009, 08:41 AM
RoadKingRick's Avatar
Registered User
 
Join Date: May 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
RoadKingRick is on a distinguished road
Restart VNC service REMOTELY!

You may never need this, but if you do, it is the best trick ever.
I administer my XSERVER remotely via the built in Apple VNC. However, the VNC service occasionally crashes, and locks my session. It also refuses any more VNC logins. This is particularly frustrating when I am off site! Apple has analyzed this and has no explanation or fix.
BUT!!
One talented and determined technician came up with this magic workaround. If SSH access is enabled on the server, you can connect to the server via an SSH client (PUTTY is great for Windows clients), and run this command:

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent

You must log in with admin rights, and must enter the admin password again to run the command. It can take a minute to run. After it finishes, VOILA! you can login again via VNC.
Believe me, this is a Godsend if you need it!
Reply With Quote
  #2  
Old August 16th, 2009, 07:02 AM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Location: ~
Posts: 8,777
Thanks: 9
Thanked 119 Times in 118 Posts
Giaguara is a jewel in the roughGiaguara is a jewel in the roughGiaguara is a jewel in the rough
Yep - and there are even more options you can play with remotely once you kickstart ARD: http://support.apple.com/kb/HT2370?viewlocale=en_US
__________________
MacBook Pro | Dell Mini Inspiron 9 | Mac Mini | Newton 2000 | iPhone | Other Macs + servers
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 11:11 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.