The Windows- versus- Mac debate is fast becoming a hot topic among computer users. For some Mac is popular because of the iPhone for others Windows because of ease of use. It is basically a matter of choice, but some users need both the platforms for work purpose. For such users using both the systems tend to clutter their workspaces and one solution is to have a separate Windows system altogether and run Windows on the Mac in a Boot Camp partition.

The primary disadvantage with this is that you can’t run Windows and the Mac OS at the same time—you have to restart the system and boot into the other OS every time you need to switch. Another option is to run Windows using virtualization software on the Mac, such as Parallels Desktop for Mac, VMWare Fusion, or VirtualBox . Virtualization is a rather elegant solution, but in order for it to work effectively, you need an Intel-based Mac, with a relatively powerful processor, lots of RAM, and plenty of hard drive space to spare.But the simplest solution is using a KVM switch.
KVM switches were designed to enable a single console to connect to the Keyboard, Video screen and Mouse ports on many target computers. It is just remote access software that is used over a local network connection instead of remotely over the Internet.
Now let us see how to set-up a virtual KVM switch between Windows and Mac systems.
For this we utilize two different types of remote connections. For our first scenario we use a Virtual Network Computing (VNC) application. For our second we use Windows’ own built-in Remote Desktop Connection conduit.
Before you start make sure which of your computers will be the primary system and which will operate as the "headless" computer (a power cord and an Ethernet cable are connected to it, but there’s no display).
All of our examples were done with a Mac running OS X 10.6.3 (Snow Leopard) and a PC running Windows 7 Ultimate 64-bit.
Setting Up the Mac as a VNC Server:
For our first scenario, we’ll be using a Windows PC as the primary computer and a Mac as the headless system. To do this, you have to set the Mac up as a VNC server.
Perform these steps for the same
1. Open System Preferences.
2. In the System Preferences window, click the Sharing icon to open the Sharing preferences window.
3. In the Sharing preferences window, turn on the Screen Sharing service by selecting the radio button next to its entry in the Service list.
4. Click on the Computer Settings button to create a VNC password. Enable the "VNC viewers may control screen with password" setting and set a password.
5. Click “OK”, and you’ll be prompted to supply a username and password of a user who has administrator privileges.
6. When you connect to the Mac from the VNC client software on your Windows system, you will need to supply the client with the Mac’s IP address. Therefore you’re also going to need to make sure that your Mac has a static IP address and is therefore not set to acquire its IP address via DHCP.
7. Change the "Configure IPv4" setting from "Using DHCP" to "Manually." You will next have to manually assign an IP address. (If the "Configure IPv4" setting is already set to "Manually" then your Mac is already set with a static IP address.) Be sure to assign an IP address that is not already assigned to another system device—either manually or via DHCP.
8. Your Mac’s IP address should now be set to the one you just specified and it will always have the IP address when connected to your local network.