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.