MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
December
Sun Mon Tue Wed Thu Fri Sat
       
12
2011
Months
Dec


Mon, Dec 12, 2011 11:03 pm

Configuring a Mac OS X 10.6 System to Provide VNC Access

Note: These notes have been tested on systems running OS X 10.6, aka "Snow Leopard", but may apply to other versions as well.

I needed to configure a Mac system running OS X 10.6.3 to support remote access from a Virtual Network Computing (VNC) client on a Microsoft Windows system. VNC is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network. There are many free VNC clients, such as TightVNC, the free edition of RealVNC, etc.

Mac OS X Snow Leopard (version 10.6) comes with AppleVNCServer software. To configure the Mac OS X system for VNC access, take the following steps:

  1. Click on the Apple icon at the top left of the screen.
  2. Select System Preferences.
  3. Under Internet and Wireless, select Sharing.
  4. Ensure Remote Management is checked.

    Note: if the lock icon at the lower, left-hand corner of the screen is showing a locked padlock, you will need to click on the padlock to unlock it, which will present you with a window where you can provide the account name and password for an account with adminstrator access for the system.

  5. For "allow access for", select either "All users" or "Only these users. If you select "Only these users", click on the plus sign, i.e., "+", and click on a user account which should be granted remote management access, then click on the Select button. You will then have the opportunity to grant specific permissions from among the following:
    • Observe
      • Control
      • Show when being observed
    • Generate reports
    • Open and quit applications
    • Change settings
    • Delete and replace items
    • Start text chat or send messages
    • Restart and shut down
    • Copy items

    Pick the permissions you wish to grant, then click on OK.

  6. Click on Computer Settings.
  7. In the "VNC viewers may contrl screen with password" field, place a password to be used for VNC access.
  8. Click on OK.
  9. You will be prompted for the password of an account with administrator privileges to complete the changes. Provide an appropriate account name and password, then click on OK.

    Set VNC password under OS X

Information on the service can be obtained from the command line by obtaining a shell prompt by running the Terminal program under /Applications/Utilities then issuing the command launchctl list com.apple.ScreenSharing.server.

$ launchctl list com.apple.ScreenSharing.server
{
	"Label" = "com.apple.ScreenSharing.server";
	"LimitLoadToSessionType" = "Aqua";
	"OnDemand" = true;
	"LastExitStatus" = 0;
	"TimeOut" = 30;
	"Program" = "/System/Library/CoreServices/RemoteManagement/AppleVNCServe
r.bundle/Contents/MacOS/AppleVNCServer";
	"EnableTransactions" = true;
	"TransactionCount" = -1;
};

If you don't see it listed try launchctl list | grep -i Screen.

The program listens by default on TCP port 5900.

[/os/os-x] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo