02 January 2011

How to fix stuck mouse in aptosid as KVM guest ( + broken DNS resolve)

There's a small irritating problem when you install aptosid as KVM (Kernel Virtual Machine) guest: mouse "stuck"! When I take the focus to the KVM's SDL guest window, it just stays there.... For the record, I used aptosid-2010-03-apate-kde-lite-i386-201012262151.iso as the installation basis.

Turns out, you have to uninstall these packages (somehow they are installed automatically due to unknown reason). To avoid trouble, run it in either run level 2 or 3:

Just to be safe, uninstall virtualbox-ose-guest-x11 and virtualbox-ose-guest-utils too.

Re-run X again. You should be just fine this time.

PS: I also noticed I can't resolve any host names initially ( I used e1000 ethernet card emulation). What's the solution? Rather cheating actually: switch back to your terminal. Resolve the name of hosts mentioned inside /etc/apt/sources.list.d/ files, you may use "host", "nslookup" or "dig" command or else. Got the IP address? Good. Paste them inside those files. Then do:
$ sux

# apt-get update
# apt-get dist-upgrade
# apt-get install dnsutils

I have no idea why dnsutils is left there you go.



No comments: