mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[GH-ISSUE #635] After login: "authentication failed: no agent is available to authenticate" #482
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 @brianbauer42 on GitHub (Mar 17, 2017).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/635
I've tried this a few times and keep running into an issue where I can log in to the webvirtmgr page, but it once I've added a local socket connection and attempted to enter, it displays this message: "authentication failed: no agent is available to authenticate". If I try to create a tcp connection to 127.0.0.1, the message is "authentication failed: authentication failed".
As shown in the snippet below, I can't connect from the terminal, either.EDIT: I can connect from the terminal (originally I forgot to include the domain on my username)
I am hosting webvirtmgr on the same machine I am using for virtualization. I have reproduced the issue several times, tried with nginx and apache, but I can't think of further ways to troubleshoot. I've seen references to polkit through googling error messages and so I tried adding rules, but I am not familiar with polkit and have not noticed any effects at all from those attempts.
It seems to be fully functional when using the command
./manage.py runserver 0.0.0.0:8181@brianbauer42 commented on GitHub (Mar 18, 2017):
In
/etc/libvirt/libvirtd.confI can uncommentauth_unix_rw = 'none'to get around polkit and everything seems to work.auth_tcpis still set to "sasl". Is the system considered relatively safe to use at this point? My permissions are based entirely on my linux user and the socket permissions? Is anything going over the network in plaintext that I need to worry about? If not I think I'm fine with this.