These are my notes for various Ubuntu tasks. I'm still somewhat new to it (Q2 2010), but it's similar enough to other distros I've used that it's easy to pickup.
Other descriptions:
sudo dpkg –-get-selections > packages.txt
Copy packages.txt to the remote machine
sudo dpkg –-set-selections < packages.txt sudo apt-get dselect-upgrade
sudo apt-get install linux-headers-$(uname -r)
Assuming:
.host:/ /mnt/hgfs vmhgfs defaults,ttl=5,uid=1000,gid=1000,nobootwait 0 0
user is a non-root account that the vncserver will be running as
su - user -c "cd /home/user/ && vncserver :1 -geometry 1024x768 -depth 24" 2>/dev/null &
Include the following:
xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & # Fix to make GNOME work export XKL_XMODMAP_DISABLE=1 /etc/X11/Xsession