Mac OS系统上用命令行方式启动VNC Server

Mac OS X 上打开VNC Server服务(不带vnc密码):
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers
 
 

Mac OS X 上打开VNC Server服务(带vnc密码。替换myVncPassword为自己的密码):

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers -clientopts -setvncpw -vncpw myVncPassword


你可能感兴趣的:(Mac OS系统上用命令行方式启动VNC Server)