I'm connecting to a remote Opensuse 11.1/Xen Dom0 box remotely, using nxclient.


i've installed,

        rpm -qa | egrep "virt|xen|vm"
                kernel-xen-base-2.6.27.7-9.1
                kernel-xen-2.6.27.7-9.1
                xen-tools-3.3.1_18494_03-1.8
                yast2-vm-2.16.8-1.17
                libvirt-python-0.4.6-11.1
                virt-viewer-0.0.3-3.25
                kernel-xen-extra-2.6.27.7-9.1
                libvirt-0.4.6-11.1
                vm-install-0.3.19-2.1
                xen-libs-3.3.1_18494_03-1.8
                virt-manager-0.6.0-6.1
                xen-3.3.1_18494_03-1.8
                ...

Previously using VNC (now disabled), I was able to login as root and
run @KDE4, virt-manager without problem.

NX does not permit root login, so i'm logged in as a normal user.
unfortunately, @ virt-manager launch,

        ps ax | grep -i virt
                21665 ?        S<s    0:01 python
/usr/share/virt-manager/virt-manager.py -c xen:///

I get a dialog:

        VIRTUAL MACHINE MANAGER CONNECTIN MANAGER
        Unable to open a connection to the Xen hypervisor/daemon.
        
        Verify that:
         - A Xen host kernel was booted
         - The Xen service has been started

        Detail:

                Unable to open connection to hypervisor URI 'xen:///':
                <class 'libvirt.libvirtError'> unable to connect to
'/var/run/libvirt/libvirt-sock': Connection ref
                Traceback (most recent call last):
                  File "/usr/share/virt-manager/virtManager/connection.py", line
325, in _open_thread
                        self.vmm = libvirt.openReadOnly(self.uri)
                  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 
149, in
openReadOnly
                        if ret is None:raise 
libvirtError('virConnectOpenReadOnly() failed')
                libvirtError: unable to connect to 
'/var/run/libvirt/libvirt-sock':
Connection refused


reading @

        http://fedoraproject.org/wiki/Features/VirtPolicyKit
        http://libvirt.org/auth.html

i've added to "/etc/PolicyKit/PolicyKit.conf",

        <match action="org.libvirt.unix.manage">
                <match user="pg06">
                        <return result="yes"/>
                </match>
        </match>
        
        <match action="org.libvirt.unix.monitor">
                <match user="pg06">
                        <return result="yes"/>
                </match>
        </match>


now, @ virt-manager launch, i get a different failure,

        VIRTUAL MACHINE MANAGER CONNECTIN MANAGER
        Unable to open a connection to the Xen hypervisor/daemon.
        
        Verify that:
         - A Xen host kernel was booted
         - The Xen service has been started

        Unable to open connection to hypervisor URI 'xen:///':
        <class 'libvirt.libvirtError'> authentication failed
        Traceback (most recent call last):
          File "/usr/share/virt-manager/virtManager/connection.py", line 480,
in _open_thread
                None], flags)
          File "/usr/lib64/python2.6/site-packages/libvirt.py", line 99, in 
openAuth
                if ret is None:raise libvirtError('virConnectOpenAuth() failed')
        libvirtError: authentication failed


ideas @ next steps?

thanks.

_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to