zoukankan      html  css  js  c++  java
  • MAC VNC SSH roo用户开通

    第一步:ssh: user@xxx.xxx.xxx
    第二步:开启VNC
    开启VNC共享桌面:
    sudo  /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw leeco -restart -agent -privs -all
    leeco为密码。
     
    关闭VNC共享桌面:
    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off
     
    开启所有用户VNC共享桌面:
    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers
     
    第三步:开启root用户。 
     
  • 相关阅读:
    RSA加密系统
    安装homebrew
    go helloworld
    下载文件checksum
    6月3日
    6月1日
    5月30日
    5月28日
    5月26日
    5月24日
  • 原文地址:https://www.cnblogs.com/kisf/p/7596084.html
Copyright © 2011-2022 走看看