Sugar in a VM

Jason D. Clinton me at jasonclinton.com
Tue Dec 1 11:23:25 CST 2009


On Mon, Nov 30, 2009 at 2:43 PM, Jack <quiet_celt at yahoo.com> wrote:

> On that subject, has anyone ever launched a VM directly from X? Or do I
> need to plan on making it something that runs after she logs into her
> KDE/Gnome session? So far I've only run VMs from inside of KDE. Although I
> don't see why I couldn't do it from a VT shell.
>

You need to create a new session .desktop file and place it in
/usr/share/xsessions (potentially the FHS /usr/local/share/xsessions may
work). Copy an existing one and point Exec= to your own script.

You script needs the following minimum contents:
metacity &
vm-kvm-what-command -fullscreen

You need a window manager to handle dialogs and metacity is the only sane
way to go for this. It has only gconf and and glib as dependencies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kclug.org/pipermail/kclug/attachments/20091201/c939d028/attachment.html>


More information about the KCLUG mailing list