Where x.x.x.x is the remote computer's IP address or URI. type in the Server Address for your computer: vnc://x.x.x.x To connect to the remote Mac, go to the Finder and select Connect to Server... under the Go menu. Now you can select who has remote desktop. After enabling Remote Desktop as shown, then connect with the remote Mac to change the user's ssh access via System Prefs. Go to Menu > System Preferences > Sharing Select Remote Management - it should appear as a checkbox. By "Remote Access" I presumed you meant remote desktop, but now I see you just want to enable ssh access for the other account, right? You can do this with ssh if youre comfortable in a terminal, but the OSX unix-userland is pretty nerfy.Just want to verify that you want to see a desktop and use the mouse based interface What. OK, I may have misunderstood your question. To connect to a Mac remote desktop from a different Mac device, open a browser from your Mac system. Turn off screen sharing: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off Under Allow access for, select All users or choose specific users. Enable VNC viewers may control screen with password. Open the Remote Login pane of Sharing preferences for me Select. Sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -users short,usernames,seperated,by,commas -access -on -restart -agent -privs -all -allowAccessFor -specifiedUsersįind out more by running sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -hĮnable Remote Desktop via command line: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -clientopts -setvnclegacy -vnclegacy yes -clientopts -setvncpw -vncpw mypasswd -restart -agent -privs -all As before, go to System Preferences > Sharing, but this time, click Computer Settings. On your Mac, choose Apple menu > System Preferences, click Sharing, then select Remote Login. To add/enable Remote Management for only specific users (Add VNC flags from ghoppe's answer if you want VNC): (The last bit is thanks to Reed Stoner on ) desktop, select Window > VMware Horizon Client from the menu bar and double-click the shortcut for the other remote desktop. (replace USERNAME with short username as well) read /Users/USERNAME GeneratedUID | cut -d " " -f 2`
(replace USERNAME with the short username of the user) as well as: sudo dscl. To add the user you need to run: sudo dscl. If not, then we need to give the user access. If the returned value says _ssh-disabled then all users have SSH access. (Controlled using dscl)įirst off run dscl. SSH access by users is controlled by the local copy of Directory Services.