mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #210] Error: authentication failed: no agent is available to authenticate #141
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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]
@catborise commented on GitHub (Dec 22, 2018):
Webvirtcloud or webvirtmgr?
@AysadKozanoglu commented on GitHub (Dec 22, 2018):
@catborise on Webvirtcloud