You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install cockpit on Arch Linux (extra/cockpit and extra/cockpit-machines)
Start libvirtd service and cockpit service
Get error error: failed to connect to the hypervisor error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
Fix the polkit error and create /etc/polkit-1/50-libvirt.rules file with the content below.
Restart host machine, restart services, go to http://127.0.0.1:9090/machines#/vms
Select administrative mode (cause you think it might be the problem), authenticate without any error
Create new virtual machine with following parameters:
Name: "debian", Connection: "System", Installation Type: "Download an OS", Operating System: "Debian 12 (bookworm)" and Storage, Storage Limit and Memory are default (qcow2, 10GiB, 1GiB)
"Create and Run" and "Create and edit" both lead to the following error:
error: failed to get emulator capabilities error: unsupported configuration: unable to find any emulator to serve '(null)' architecture
How do I fix the described error?
I'm not sure what to do next, because it seems that some command is missing the amd64 or similar parameter in the exec call.
After the installation of qemu-base as an emulator, there's also the following error for local ISO installations, which I cannot fix.
So far only the Debian image installation (auto-download) worked, but I haven't figured out how to correctly configure it into bridging mode.
The error I keep getting, no matter where the ISO file is located, and no matter which kind of chmod group/all access is set, is the following. Even when setting 0666 to the file and for testing putting it into /tmp or /opt, it doesn't make a difference for whatever reason.
How can I debug this further to find out what's causing this fd / file open error?
ERROR internal error: process exited while connecting to monitor: 2024-04-28T06:25:42.582723Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/cookiengineer/Downloads/OS Images/trisquel-netinst_11.0_amd64.iso","node-name":"libvirt-1-storage","read-only":true}: Could not open '/home/cookiengineer/Downloads/OS Images/trisquel-netinst_11.0_amd64.iso': Permission denied Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start trisquel otherwise, please restart your installation.
Get error error: failed to connect to the hypervisor error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
Fix the polkit error and create /etc/polkit-1/50-libvirt.rules file with the content below.
Explain what happens
error: failed to connect to the hypervisor error: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage'
/etc/polkit-1/50-libvirt.rules
file with the content below.http://127.0.0.1:9090/machines#/vms
How do I fix the described error?
I'm not sure what to do next, because it seems that some command is missing the
amd64
or similar parameter in the exec call.Attachments (changed files):
/etc/polkit-1/50-libvirt.rules
:Version of Cockpit
315-2
Where is the problem in Cockpit?
Unknown or not applicable
Server operating system
None
Server operating system version
Arch Linux (updated 2024-04-27)
What browsers are you using?
Firefox, Chrome
System log
The text was updated successfully, but these errors were encountered: