Skip to main content

Minimal Debian Install with X in Vmware



World wide mirror sites (link)
After installing the base system, do the following.

For main Debian repository
hostname:/# nano -w /etc/apt/sources.list

#more entries from here of course from /etc/apt/sources.list
deb http://ftp.debian.org/debian etch main contrib non-free
deb-src http://ftp.debian.org/debian etch main contrib non-free
Hongkong is best for my case too:
#more entries from here of course from /etc/apt/sources.list
deb http://ftp.hk.debian.org/debian etch main contrib non-free
deb-src http://ftp.hk.debian.org/debian etch main contrib non-free
Continue with installing the rest of the software:
hostname:/# apt-get update
hostname:/# apt-get install less
Depending on your Debian version, do install xorg related packages.
Debian Sarge 3.1Debian Etch
apt-get install x-window-system-core apt-get install xorg
Note: Based from this url , the above package is for compatibility only from Debian 3.x. Etch should instead use xorg package.
hostname:/# apt-get install gnome-core
hostname:/# apt-get install gdm msttcorefonts gdm-themes
hostname:/# reboot
After reboot, you should now be in graphical mode. Next step is to prepare the system to install Vmware tools.
hostname:/# apt-get install gcc
hostname:/# apt-get install linux-headers-`uname -r`

From the host machine, using VMware Server Console, do VM->Install VMware Tools.... Back in guest Debian, do the following as a root user.

hostname:/# mkdir /mnt/cdrom
hostname:/# mount /dev/cdrom /mnt/cdrom
hostname:/# mkdir ~/soft
hostname:/# cp /mnt/cdrom/VMwareTools-1.0.6-91891.tar.gz ~/soft
hostname:/# cd ~/soft
hostname:/# tar -xvzf VMwareTools-1.0.6-91891.tar.gz
hostname:/# cd vmware-tools-distrib
hostname:/# ./vmware-install.pl
Just supply the default values when running vmware-install.pl. Note that you have to select the next smaller screen resolution with reference to your host machine else it will be a bit difficult to navigate in the guest OS. For some reason the driver from VMware mouse driver is not copied to the right location and xorg.conf was not adjusted too so we have to do this manually.
hostname:/# cd /usr/lib/vmware-tools/configurator/XOrg/7.0
hostname:/# cp vmmouse_drv.so /usr/lib/xorg/modules/drivers
hostname:/# nano -w /etc/X11/xorg.conf
Your xorg.conf should have something like this:
#more entries before this line
Section "InputDevice"
 Identifier "Configured Mouse"
 Driver  "vmmouse"
 Option  "CorePointer"
 Option  "Device"  "/dev/input/mice"
 Option  "Protocol"  "ps/2"
 Option  "Emulate3Buttons" "true"
 Option  "ZAxisMapping"  "4 5"
EndSection
Then do a reboot,
:/# reboot
Install additional applications, like:
:/# apt-get install synaptic
:/# apt-get install firefox
:/# apt-get install gnome-themes
:/# apt-get install gnome-art

~ts~

Comments

Popular posts from this blog

Error! Could not locate dkms.conf file install VirtualBox 4.1.8 on Ubuntu 11.10

Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed properly except that VirtualBox installation was complaining about missing dkms.conf file, see error message below. $: sudo /etc/init.d/vboxdrv setup * Stopping VirtualBox kernel modules [ OK ] * Uninstalling old VirtualBox DKMS kernel modules Error! Could not locate dkms.conf file. File: does not exist. [ OK ] * Trying to register the VirtualBox kernel modules using DKMS [ OK ] * Starting VirtualBox kernel modules [ OK ] Though it looks like installation was fine but I am concerned about its effects to VirtualBox functionality. To fix this, do: $: cd /var/lib/dkms/vboxhost $: sudo rm -r 4.1.4 $: sudo /etc/init.d/vboxdrv setup Of course you have to re

The following add-ins could not be started MonoDevelop.GnomePlatform

Installing MonoDevelop in OpenSUSE 12.2 from its repository was very easy. When running it for the first time though I got the message: The following add-ins could not be started: The root of the trace shows MonoDevelop.GnomePlatform,2.8 A quick search shows that MonoDevelop depends on libgnomeui . This should have been part of dependencies when installing the application but well.... Below is the screen shot of the error message. References: http://software.1713.n2.nabble.com/MonoDevelop-and-openSUSE-12-1-td7462957.html [2013/04/09] - Same issue observed in OpenSUSE 12.3 and also the same fix. [2014/11/02] - Same issue observed in OpenSUSE 13.3, mondevelop 3.0.6 and the same fix.