Virtualization in Ubuntu 11.10

Posted by Mascarpone on Ask Ubuntu See other posts from Ask Ubuntu or by Mascarpone
Published on 2011-11-22T16:55:52Z Indexed on 2011/11/22 18:16 UTC
Read the original article Hit count: 263

Filed under:
|

Since Ubuntu 11.10 use a new kernel, it's very difficult to have a decent support for virtualization.

VirtualBox doesn't support guest additions for ubuntu 11.10, so I can't copy to and from my ubuntu desktop and windows, which I absolutely require, plus FreeBSD seems not to be able to use DHCP without guest additions.

Virt-manager instead gives an error on launch:

Unable to open a connection to the libvirt management daemon.

Libvirt URI is: qemu:///system

Verify that:
 - The 'libvirt-bin' package is installed
 - The 'libvirtd' daemon has been started
 - You are member of the 'libvirtd' group


unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Permission denied

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1146, in _open_thread
    self.vmm = self._try_open()
  File "/usr/share/virt-manager/virtManager/connection.py", line 1130, in _try_open
    flags)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 102, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Permission denied

The problem is solved by running virt-manager as root, but I don't like that. How do I change permissions to run Virt-Manager as user?

Is there a way to install guest additions on Ubuntu 11.10?

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about virtualization