可能問題:
負責遠端的Service掛了, VNC daemon or ARDagent 掛了
Google: restart screen sharing mac
偵錯指令:
顯示Process, PID, Port Status, Protocol
lsof -i //僅顯示當前user, 最好加個sudo
=> sudo lsof -i //顯示Root, 以及當前user
最後 解決方式:
先ssh 進去 Mac Mini,
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.screensharing.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist
錯誤指令:
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users admin -privs -all -restart -agent
http://apple.stackexchange.com/questions/43765/restart-screen-sharing-service-on-mac-mini-server
沒有留言:
張貼留言