1. Create the following file and place it in your /usr/bin
#!/bin/bash
VBoxSDL -fullscreen -vm "Name-of-your-Windows-VM"
The inverted commas are important. Replace the contents with the name of your VM in Virtualbox, (that's the name that appears when you boot up Virtualbox)
Now name the file something like winxp, move to /usr/bin
and make the file executable:
chmod +x /usr/bin/winxp
2. Add a new file to usr/share/xsessions
Name it something like xp.desktop and paste in the following code:
[Desktop Entry]
Encoding=UTF-8
Name=Windows XP Pro
Comment=This session will run XP VirtualBox
Exec=/usr/bin/winxp
Type=Application
You can change and comment these lines to suit your session, the important line is the exec part which will execute the script you created.
Log out and change your session from Ubuntu Desktop to Windows XP Pro
No comments:
Post a Comment