[GH-ISSUE #210] Error: authentication failed: no agent is available to authenticate #141

Closed
opened 2026-02-27 15:57:29 +03:00 by kerem · 2 comments
Owner

Originally created by @AysadKozanoglu on GitHub (Dec 22, 2018).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/210

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]

Originally created by @AysadKozanoglu on GitHub (Dec 22, 2018). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/210 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]
kerem closed this issue 2026-02-27 15:57:29 +03:00
Author
Owner

@catborise commented on GitHub (Dec 22, 2018):

Webvirtcloud or webvirtmgr?

<!-- gh-comment-id:449595679 --> @catborise commented on GitHub (Dec 22, 2018): Webvirtcloud or webvirtmgr?
Author
Owner

@AysadKozanoglu commented on GitHub (Dec 22, 2018):

@catborise on Webvirtcloud

<!-- gh-comment-id:449596459 --> @AysadKozanoglu commented on GitHub (Dec 22, 2018): @catborise on Webvirtcloud
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#141
No description provided.