How do I start virtualbox from GDM?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
aniruddha
Posts: 6
Joined: 15. Aug 2007, 22:08

How do I start virtualbox from GDM?

Post by aniruddha »

I know there is a way to start virtualbox from GDM with the command "VBoxSDL -fullscreen -vm <vm name>" and an .xsession script. I only forgot what it exactly was. Who can help me to get this working?
mndo
Posts: 8
Joined: 27. Jun 2008, 19:20
Contact:

Re: How do I start virtualbox from GDM?

Post by mndo »

aniruddha wrote:I know there is a way to start virtualbox from GDM with the command "VBoxSDL -fullscreen -vm <vm name>" and an .xsession script. I only forgot what it exactly was. Who can help me to get this working?
edit ~/.Xsession

Code: Select all

exec VBoxSDL -fullscreen -vm <vm name>"

then choose Xclient script on the session's menu from gdm..
aniruddha
Posts: 6
Joined: 15. Aug 2007, 22:08

Post by aniruddha »

Thanks for the help! Unfotuantely when I log in with the xclient script twm starts and only shows a terminal. When I manually enter the line from my .Xsession file vbox starts perfectly. Anyone knows what goes wrong?

Here the contents of my .Xsession file:

Code: Select all

exec VBoxSDL -fullscreen -vm Win2000
Post Reply