Mac OS X Server command line to enable screen sharing

Source: Internet
Author: User


Description: SERVER: Mac OS X Server 10.5



Screen Sharing has been used normally. Use Windows XP tight VNC to connect.



However, the screen sharing function was accidentally canceled during the operation. You cannot use VNC connection but can log on remotely through SSH.



The following describes how to re-enable screen sharing on the Character interface:



 

1. echo 71463e00ffdaaa95ff1c39567390adca>/library/preferences/com.apple.vncsettings.txt (the connection password does not need to be configured.) 

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



Okay, you can use tight VNC to connect.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.