Recently I have been experimenting with a tiny KVM setup. Eventhing is good till I want to use my Mac Mini to connect to the client desktop. I spend so much time trying and the most successful setup is through Linux running inside VirtualBox. However that seems overkill and take up a lot of resource on the Mac Mini. I continue to push with other solution and finally come up with a satisfying setup.
Issue with OS X connecting to KVM client
The most common way to KVM client running graphical interface is through KVM manager. Though that will work locally on the KVM host out of the box, it proves to be difficult even from another Linux server, and require alot of research and tweeking for people new to KVM. However there is a easy solution for OS X.
Home-brew, XQuartz and virt-viewer
Homebrew allow Linux package to be installed and ran on OS X system. Follow instruction on Homebrew home page to install Homebrew.
To use virt-viewer, you will need to install XQuartz also. Package can be obtain here.
Then install virt-viewer with following command
brew install virt-viewer
Use following command to start the viewer
Once it is started, you can even pin it to the dock. Problem solved!!!