Mac OS x Server 命令行打开屏幕共享
情况描述:server: Mac os x Server 10.5已经正常使用屏幕共享,使用windows xp tight vnc 连接操作.
但不小心在操作时取消了屏幕共享功能.不能用vnc 连接但是可以远程ssh登陆.
下面是在字符界面下重新打开屏幕共享的方法:
1.echo 71463E00FFDAAA95FF1C39567390ADCA > /Library/Preferences/com.apple.VNCSettings.txt(连接密码,已经配置的就不用这个步骤了)
2.sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart-configure -clientopts -setvnclegacy -vnclegacy yes
3.sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart-activate -configure -access -on -users frontrow -privs -all -restart -agent -menu
and now start the service
4. /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/MacOS/AppleVNCServer
好了,可以使用tight vnc 连接了 :)
页:
[1]