Archive for the ‘Virtualization’ Category

Remote Desktop

VirtualBox provides a Remote Desktop server for connecting to, booting, and controlling its virtual machines. I found this remote desktop interminably slow, with minute long screen refreshes. However, connecting to the native Windows remote desktop on the same machine is almost as snappy as direct access.

It is infinitely faster to control the VM from the WINDOWS remote desktop than to directly connect to its OWN remote desktop. I guess Microsoft’s API acceleration really does work, and the VirtualBox Guest Additions tie into Windows really well.

Idle VMs Hog CPU

A little Googling resolved a bizarre glitch with VirtualBox and processor usage.

My desktop boasts a 2.66 GHz Core 2 Duo processor with 6 GB of RAM.  VirtualBox hosting my little CentOS server and development environment would peg one CPU core regardless of load.

It seems ridiculous to have an idle VM consume 50% of my CPU cycles.  According to this page, the solution is two idle VMs.

So, I configured a second virtual machine with 4 MB of RAM, no operating system, and no fixed disk. Sure enough, my host system CPU usage dropped to around 2%. Strange.

WordPress Crashed

I retract my previous statement about VirtualBox’s RDP server. Although VRDP was impressive over the LAN, my upstream bandwidth leaves something to be desired. It was great fun trying to remotely change Gnome’s screen resolution – the 15-second revert timer would count down before the screen could redraw, and the resolution would change back.

A few times back and forth of that and suddenly my page went offline. Remote desktop would connect and authenticate but served up a meditative quantity of inky darkness.

Turns out I crashed the virtual machine. Seems VRDP is rather finicky.

WordPress Installed

Moved journal and website over to a WordPress installation.  That’s right; I upgraded the Web from 1.0 to 2.0.

This sits on a CentOS virtual machine that will also serve as my primary development environment.  VirtualBox has a very snappy RDP server, meaning I can log into the VM and do Android development from any XP or later computer with the standard Windows Remote Desktop client.

This somewhat eliminates the need for SVN as well.  Naturally, I’m the only developer on my project, so source control won’t be quite as important.

All that remains is configuring Eclipse for use with the Android SDK.

Return top

About this project

I am creating a "guided tour" application for Android smart phones. With the magic of GPS, your phone will be able to introduce you to the sights and sounds on campus.