This is a quick tutorial on how to add a VirtualBox session to GDMs Session menu. This can be useful for someone with a decently powered computer, looking for all the benefits of having a dual boot system without actually having to restart the computer to go into Windows/DOS/*nix. For the purposes of this tutorial I'm assuming you have already got a VirtualBox set up.
Open a terminal and navigate to /usr/share/xsessions. Now you need to create a new file here. My virtualbox is Windows XP, so I named it windows.desktop. To do this:
Paste this into the file:Code:sudo gedit windows.desktop
The stuff that is bold is what you need to change. Name is what the session is going to be called (GNOME, Failsafe GNOME, etc are all ready taken!). The most important part is the Exec command. This is the command that will be executed by GDM, you need to change the bold part to the Name of the VirtualBox you have installed (See pic).Code:[Desktop Entry] Encoding=UTF-8 Name=Windows XP Pro Comment=This session will run your VirtualBox Exec=VirtualBox -startvm "Windows XP Pro" Icon= Type=Application
http://jeffantosh.googlepages.com/Sc...tualBoxOSE.png
Reboot gdm (ctrl-alt-backspace) and log into VirtualBox via GDM. To make VirtualBox fullscreen press the right control button and f at the same time.
Bookmarks