Results 1 to 2 of 2

Thread: XEN Virtual Machines only available for root

  1. #1

    Unhappy XEN Virtual Machines only available for root

    Dear All,

    I installed openSUSE 11.2 and works great. The only problem I have is that I can use the XEN virtual machines only as a root. If I login as a normal user and open the Virtial Machine Manager I receive the following message:

    Virtial Machince Manager Connection Failure:

    Unable to open a connection to the Xen hypervisor/daemon.

    Verify that:
    - A Xen host kernel was booted
    - The Xen service has been started

    Details:

    Unable to open connection to hypervisor URI 'xen:///':
    unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory
    Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/connection.py", line 456, in _try_open
    None], flags)
    File "/usr/lib64/python2.6/site-packages/libvirt.py", line 111, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
    libvirtError: unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory


    Can anyone tell me how to give access to normal users to the virtual machines?

    Thank you,

    Sandor

  2. #2

    Default Re: XEN Virtual Machines only available for root

    Quote Originally Posted by slaza View Post
    Dear All,

    I installed openSUSE 11.2 and works great. The only problem I have is that I can use the XEN virtual machines only as a root. If I login as a normal user and open the Virtial Machine Manager I receive the following message:

    Virtial Machince Manager Connection Failure:

    Unable to open a connection to the Xen hypervisor/daemon.

    Verify that:
    - A Xen host kernel was booted
    - The Xen service has been started

    Details:

    Unable to open connection to hypervisor URI 'xen:///':
    unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory
    Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/connection.py", line 456, in _try_open
    None], flags)
    File "/usr/lib64/python2.6/site-packages/libvirt.py", line 111, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
    libvirtError: unable to connect to '/var/run/libvirt/libvirt-sock': No such file or directory


    Can anyone tell me how to give access to normal users to the virtual machines?

    Thank you,

    Sandor

    You may need to create a 'xenusers' group and assign user accounts that you wish to have access to XEN VMs to it (this is a requirement for VirtualBox OSE, for example).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •