mac OS 命令行 启动 VNC (可使用real VNC 远程连接桌面)SSH终端启动VNC

 

 

转过来的。。。

以下地址下载 windows 版本的 VNC Viewer 来远程连接MAC OS

https://www.realvnc.com/en/connect/download/viewer/

 

https://www.realvnc.com/download/file/viewer.files/VNC-Viewer-6.18.907-Windows-64bit.exe

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

关闭方式:

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off
--------------------- 
作者:魔方泥瓦匠 
来源:CSDN 
原文:https://blog.csdn.net/jollypigclub/article/details/48582203 
版权声明:本文为博主原创文章,转载请附上博文链接!

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
--------------------- 
作者:魔方泥瓦匠 
来源:CSDN 
原文:https://blog.csdn.net/jollypigclub/article/details/48582203 
版权声明:本文为博主原创文章,转载请附上博文链接!

 

你可能感兴趣的:(mac OS 命令行 启动 VNC (可使用real VNC 远程连接桌面)SSH终端启动VNC)