Linux Hosts That Use the evdev Driver for Keyboards Do Not Map Keys Correctly in Any Guest in VMware

Some of the newer Linux distributions use Xorg 1.4, where the new evdev driver manages all input devices, including keyboards. The evdev driver causes the keyboard to send different keycodes. For example, the down arrow sends keycode 116, which other drivers interpret as Win+R. Consequently, keyboard mapping problems occur in all guest operating systems running in VMware. Solution: VMware Knowledge Base Article 1007439

November 21, 2008 · 1 min

Closing a Hung SSH Session

How does one close an SSH session that has hung or disconnected from the server? Use the key sequence ~. (tilde followed by a dot, typed at the beginning of a new line). For more information, check the SSH manual: man ssh Background I was happily working on my system, accessing my test box remotely. Suddenly, there was darkness—or what most people call a power outage. Since my UPS was in the repair shop, my machine shut down and left me with a frozen SSH session upon rebooting and reconnecting.

November 21, 2008 · 1 min

Recovering a Partition Table

Oh no! You deleted, overwrote, or spilled coffee on your partition table! What’s next? For almost anything (except the spilled coffee), you can check out TestDisk, available in Fedora. Simply launch it and follow the on-screen instructions. Story One fine day, with birds singing outside on a bright sunny afternoon, I decided to install Fedora on a test box. Incidentally, that machine had an old hard drive with lots of photos from my school and college days. And so, the saga began. ...

November 21, 2008 · 2 min

Key Mapping on RHEL 5

Multimedia keys [1] did not work on RHEL 5, which was missing the keymap quirk [2] patch written by rhughes. Backporting was fun while it lasted—now my life feels hollower than ever. [1] https://bugzilla.redhat.com/show_bug.cgi?id=450326 [2] http://people.freedesktop.org/~hughsient/quirk/quirk-keymap-index.html

July 14, 2008 · 1 min