Vnc For A Mac



I wrote this back in 2009 but I have reposted it upon request. I hope it is helpful.

Do you want to remotely control a PC with a Mac? There are many commercial software packages and online services available. However, viagra sale most of them are simply re-brandings of the open source VNC remote control system. Plus, click you may find their performance to be lacking. I’ve been using VNC between Windows, click Mac and Linux systems for a long time. With the resurgence in Mac interest, a lot of people ask me how they can access their existing Windows PC from their new Mac. Here is a quick and easy guide to getting a remote control system up and running using VNC. And by the way, its free.

There are a whole bunch of questions about very slow performance of VNC when using it to login to a Mac. Among them: VNC Access Slow. VNC connection to an iMac running Lion from Windows - very slow. Extremely slow Remote Desktop via VNC. VNC From Windows to OS X Screen Sharing is Slow. I had the problem also. I've gotten around it, as described. The TightVNC Server and Viewer use special data encoding techniques designed to.

VNC (Virtual Network Computing) was originally developed in Cambridge, U.K., by developers at the AT&T/Olivetti Research Laboratory. It is a high performance remote control system that includes two software components. The remote computer has the “server” component running, while the other computer runs the “client” component and connects to the remote computer.

(For all you Linux and Unix users, this guide applies to you as well, but note that most Linux and Unix distributions come with VNC already installed. On those systems, you may need to configure VNC and then issue a “vncserver” command.)

1. Getting VNC “server” running on your Windows PC

First, download the free edition of RealVNC onto your Windows PC. (Note that Vista users may have trouble with the free version and if so, they can install TightVNC. Some people prefer TightVNC for all versions of Windows, but because it has several advanced features it may be a little more confusing for first-time VNC users.)

Next, install your VNC software and specifically choose to install the server component, register the service, and start the service. Now VNC server should be running on your Windows PC. You can set the password for remote access if you like. You should see a small icon at the bottom right of your screen. By resting on the icon, you should see your computer’s network IP address on your LAN. Make a note of it!

Finally, you need to either disable the Windows firewall on your PC or else open ports 5900 and 5800 in the Windows firewall. If you are opening ports, I recommend that you open 5901 and 5801 also.

2. Getting VNC “client” running on your Mac

There are 3 easy ways to do this.

Option 1: Mac OS X comes installed with a “screen sharing” application that has VNC client functionality. It is part of Apple’s iChat system. However, you can get right into it (without using iChat) by going to the Finder and selecting Go -> Connect to Server… You will then want to enter the IP address of the remote machine with a prefix of “vnc://”. For example, if your remote PC is 192.168.0.21, you would enter vnc://192.168.0.21

Option 2: There are a few VNC clients made for the Mac. Chicken of the VNC by Jason Harris is probably the most popular. It runs on both Tiger and Leopard. Chicken of the VNC is a free download. Simply install Chiken of the VNC and enter your remote PC’s IP address.

Option 3: My favorite way to connect to a remote PC is to simply use my web browser. Both RealVNC and TightVNC include a mini web server with a Java applet for really easy connections. On your Mac, open your web browser (Safari or Firefox) and go to the IP address of your remote PC with “:5800? appended. For example, if your remote PC os 192.168.0.21, you would enter a URL of 192.168.0.21:5800 and the Java applet will automatically run in your browser. I have often found that this option offers the best performance.

3. Making your VNC connection secure

If you are using VNC over your own LAN, you probably don’t have any security concerns. However, if you want to run VNC over the internet (say from one office to another, or from home to work or vice versa), you need to be concerned with security. You should not simply open or forward VNC ports on your router or internet firewall. First, make a secure connection to the remote network using a VPN (Virtual Private Network) connection. Depending on your router and firewall configuration at the remote network, you can make a connection from your Mac using PPTP or IPSEC and once the tunnel is live, you can simply run your VNC through that tunnel. (For Linux and Unix users, you can also tunnel VNC inside of an SSH connection.)

VNC makes it easy to control a Windows PC from a Mac. Its fast, free, and its a thrill to remotely move a Windows mouse pointer, especially the first time. There are a lot of other VNC configuration settings that I didn’t cover, but this should help you get up and running quickly.

Lastly, their are VNC apps in the Apple AppStore and also various VNC apps for Android phones and tablets as well.

Where Do I Begin?

So you have a MacStadium hosted server and you're all ready to do something with it. The first question on your mind is probably 'How do I control this thing?'

Nearly all modern servers are 'headless' (meaning they have no dedicated monitor, keyboard or mouse) and are controlled over a network using remote desktop software. This article will cover four popular (and free!) remote control programs as well as the pros and cons of using each of them.

Vnc For A Mac Download

VNC, Generally SpeakingMac OS X comes preinstalled with a remote control package called VNC (for Virtual Network Computing). In a just-out-of-the-box Mac Mini this feature is disabled, but since you need a way of connecting to your server to set it up, MacStadium has already enabled the screen sharing feature in the Sharing preferences panel which allows you to make a VNC connection from the get-go. All you will need are a VNC client, the IP address of the server and the password. The last two are supplied in an e-mail from MacStadium after you sign up.

VNC was originally developed for use on Unix systems but has now expanded to include a client and server version for virtually all popular computing platforms. This makes cross-platform remote control a simple matter, since a VNC client running on a PC can easily connect to a VNC server running on a Mac, for example. Of course, the devil is in the details and not all VNC implementations are 100% compatible. Mac to Mac sessions are probably going to be pretty reliable due to the same version of VNC code being used on both sides of the connection. PC or Linux to Mac connections have been known to occasionally exhibit buggy behavior but in most cases you will have no trouble getting it to work if your software is up to date.

Because it is based on an open-source project, VNC development was subject to 'forks' where different groups of programmers began with the same base code and then created different versions of the tool to suit their needs. This means that not only is VNC available on several different platforms, most platforms have more than one version with slightly different feature sets. Fortunately most of these features can be automatically negotiated during the connection process, so as a VNC user you usually do not care much which specific version of server you are connecting to - for the most part it Just Works. For this article I am going to discuss the two most popular VNC clients as well as two alternatives to VNC.

RealVNC

RealVNC is the closest thing we have to a standard VNC client due its long history and close association with the original code base. Today there are three versions of it, one that is free and two more that are for sale. Because I am discussing only free software in this article I am going to gloss over the Personal and Enterprise versions of RealVNC and focus on the Free edition, but it’s worth knowing that these other versions can be had for a nominal fee.

Where the paid versions of RealVNC are capable of encrypting the session data, this is the not the case with RealVNC free. That means that unless you take additional precautions, RealVNC free will transmit your keystrokes and screen images across the network in an unsecure manner, which could in theory expose them to a hacker. In practice (and especially when connecting to another computer on your own local network) this is not such a great danger, but where data must be transmitted over the public Internet and where security is a primary concern this sort of unencrypted communication should be avoided. All connections to MacStadium will have to traverse the Internet.

In my testing I used the latest RealVNC client available from the website (5.0.1 at the time of this writing) and I had no trouble connecting to the Mac on the first try. With older versions of RealVNC some people have had trouble establishing the connection (usually with a “connection refused” error) but most were able to get it working by clicking on Options and setting Colour Level to Full.

Video performance in VNC is pretty fast when connecting Mac to Mac, slightly less so when connecting from a PC. RealVNC is a good choice when you need a small, simple client just to make the initial connection to the server. For better security, performance and features there are plenty of other options that make this program seem a little outdated.

UltraVNC

UltraVNC is a newer fork of the original VNC codebase that adds video compression to improve performance, a nifty graphical toolbar and an optional encryption module. It also seems to be a bit more stable than RealVNC. If you don’t already have the RealVNC client installed, this version is preferable to RealVNC just for these few additional features. Note that the encryption module will not work with the pre-installed OS X server though – you would need to install a different VNC server (such as Vine) on the Mac in order to take advantage of that feature. Check out the video below to compare the video performance of these two versions of VNC. The difference is small but noticeable. If you have to pick one or the other to download you might as well get the one that is slightly faster, right?

TeamViewer

TeamViewer is commercial software that is free for personal use. The developer has thoughtfully included numerous nag screens to make sure you remember that commercial use is not allowed, but they still operate on the honor system and they make no attempt to verify the nature of your use.

Connect To Mac Using Vnc

The standout features of TeamViewer include automatic firewall traversal, a contact list, and built-in video chat, but the feature that really sets it apart from the rest of the programs in this lineup is the end-to-end encryption of every keystroke, screen image and mouse movement that goes across the network. If security is a primary concern then TeamViewer is definitely the best choice for you. Unfortunately the additional CPU overhead of encryption makes the video performance of this tool visibly worse than the others, as you can see in the video. For applications that require high frame rates such as playing video or games, this program is not going to be ideal.

Splashtop

Realvnc server downloadRealvnc server download

This brings us to the final program that we will discuss, Splashtop. This program is newer than the others and it concentrates on bringing excellent video performance, the likes of which have never been seen in a remote control program before now. With a solid network connection you can reasonably expect to see videos playing on the remote desktop with frame rates comparable to videos playing on your local machine. That’s a pretty impressive trick at the moment.

Unfortunately there are a couple of downsides to this program. The first problem is a conspicuous lack of encryption, similar to my beef with the free VNC apps. The second problem is that the developer seems to be in the process of publishing a new version and has for some reason removed the old Windows client [edit - it's back now] from their own web site without adding a new one. The iPad client is there for download, no problem. The server side app, or as Splashtop calls it “The Streamer” is also available from their site, but the Windows client is nowhere to be found on splashtop.com (this may have changed by the time you read this). Not to worry though, dear reader, because we have located a link for the Windows client so you can download it right here.

Conclusion

To summarize, you will need a VNC client of some type to establish the initial connection to your Mac Mini, but once you are connected you can take the opportunity to install a server for any other remote control product that suits your taste. Our recommendation is to use UltraVNC initially and then install either TeamViewer (if security is you primary concern) or Splashtop (if performance is more important). Once this has been set up you will probably want to disable screen sharing (aka the VNC server) in the Mac system preferences so that no one is tempted to try to hack your VNC password.

I hope you are now feeling more familiar with your options for connecting to your MacStadium server. This is by no means an exhaustive list of remote control clients – there are tons more available of varying quality and weight and new remote control programs are being written all the time. It is probably worth trying a new one every once in a while to see if the state of the art has advanced since the last time you installed one, because these utilities are improving by leaps and bounds every day.

If you have any questions about remote controlling your MacStadium server please feel free to leave them in the comments. Thanks for reading, and be sure to come back for more tips on how to get the most out of your hosted Mac!