Setting up a GUI-based libvirt VM
Posted
by
LibertasMens
on Ask Ubuntu
See other posts from Ask Ubuntu
or by LibertasMens
Published on 2012-10-03T15:32:51Z
Indexed on
2012/10/03
15:51 UTC
Read the original article
Hit count: 247
virtualization
|kvm
I am attempting to create a virtual machine using libvirt that will have a GNOME GUI and remote accessibility. I have successfully set up the VM to run, but I am unable to access it remotely.
The command issued to build the VM:
sudo vmbuilder kvm ubuntu --suite=precise --flavour=generic --arch=amd64 --mirror=http://de.archive.ubuntu.com/ubuntu -o --libvirt=qemu:///system --part=/usr/xxxx/vmbuilder.partition --templates=/usr/xxxx/mytemplates --addpkg=nano --addpkg=unattended-upgrades --addpkg=acpid --firstboot=/usr/xxxx/boot.sh --cpus=2 --mem=4096--user=xxxx --name=xxxx --pass=xxxx --hostname=xxxx --bridge=br0
My intent is to have a virtual machine that my client can remotely access with a GUI.
© Ask Ubuntu or respective owner