Connect to a Mac OS X Screen Sharing Server with Ubuntu's Remote Desktop Viewer
- Use Mac OS Screen Sharing to view your Mac screen on an Ubuntu client.
- Applies to: Ubuntu 10.04 - 16.11, Mac OS X 10.7, 10.6 and 10.5.
[from the comments, below]
February 14, 2012 2:35 PM
I just tested this with Ubuntu 11.11, and connected to Mac OS 10.7, 10.6 and 10.5. The credentials you should enter: your Mac desktop log in.
August 16, 2012 11:23 AM
Note that a long VNC password (over 8 characters) can cause problems. Since Screen Sharing uses your desktop account password, that can be a problem if that password is too long. Either: 1) shorten your password; or 2) use a separate Mac desktop account to administer the computer over VNC. Ideally you're using a separate account to administer the machine, anyway. Use a password generator to create a strong 8 character password for this account.
Recent versions of Ubuntu, such as the recently released Ubuntu 10.04 LTS ("Lucid Lynx") include by default the Remote Desktop Viewer (Applications : Internet : Remote Desktop Viewer), which is really Vinagre, A VNC Client for the GNOME Desktop. This VNC client supports connections to Mac OS X using the Mac's Screen Sharing service, Apple's built-in implementation of the VNC server protocol.
Whether this works flawlessly or causes no end of frustration depends entirely on how you configure the Mac Screen Sharing server. Here's how to start viewing your Mac's screen (the server) on your Ubuntu desktop (the client).
Mac OS X 10.5 (Leopard)
The Mac VNC Server is called Screen Sharing. To configure it:
- Open System Preferences : Sharing
- Click the lock to make changes and enter an administrative user name and password.
- Check Screen Sharing and Screen Sharing: On appears.
- Click [Computer Settings]
- Check Anyone may request permission to control screen
- Check VNC viewers may control screen with password:
- Enter a password you'll remember.
- Click [OK]
- Select Allow access for: All users
- Click the lock to prevent further changes.
- You must specify a password, and not just for security reasons. If the Ubuntu Remote Desktop Viewer tries to connect to a Mac without a password set, it becomes confused and the connection fails.
- You must allow Anyone to request permission to control screen and allow access for All users or you won't be able to log in either.
Log into your Ubuntu desktop computer. To view your Mac's screen:
- Select Applications : Internet : Remote Desktop Viewer
- Your Mac's Computer Name should appear in the list of servers in the left column.
- Click on you Mac's name and type in the password you entered on the Mac.
- Click [Connect]
Although OS X 10.5 runs on PowerPC Macs, like G5 computers, Vinarge gets the colors wrong when it displays the desktop. Intel Macs running 10.5 don't have this problem.