Skip to content

Error: authentication failed: no agent is available to authenticate #210

@AysadKozanoglu

Description

@AysadKozanoglu

I installed Webvirtcloud on Debian Jessie (8.10) and Debian Stretch (9)

Error:

Error: authentication failed: no agent is available to authenticate

Details:

After installation was successfully i logged with admin:admin my first Web gui login.
I got the following error
"Error: authentication failed: no agent is available to authenticate "
or
" Error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' "

Solution (maybe dirty):
I modified the /etc/libvirt/libvirtd.conf and set the auth_unix_rw on none

vim /etc/libvirt/libvirtd.conf
<<
auth_unix_rw = "none"

service libvirtd restart

And everything works nice now.

Background info about auth_unix_rw:

Set an authentication scheme for UNIX read-write sockets By default socket permissions only allow root. If PolicyKit support was compiled into libvirt, the default will be to use 'polkit' auth. If the unix_sock_rw_perms are changed you may wish to enable an authentication mechanism here

[issue can be closed]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions