[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Gottfried
Subject: virtualization
Date: Fri, 23 Sep 2022 19:12:26 +0000

Hi Guixers,

I installed a VM software and I added libvirt and virtualization in my config.scm file (see below)
(use-modules (gnu))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg virtualization)

  (locale "de_DE.utf8")
  (timezone "Europe/Berlin")
  (keyboard-layout (keyboard-layout "de"))
  (host-name "Tuxedo")
  (users (cons* (user-account
                  (name "gfp")
                  (comment "Gfp")
                  (group "users")
                  (home-directory "/home/gfp")
                    '("wheel" "netdev" "audio" "video")))
      (list (specification->package "nss-certs"))                  
      (list (service mate-desktop-service-type)
            (service enlightenment-desktop-service-type)
                        (service cups-service-type
                                        (web-interface? #t)
                                        (extensions (list cups-filters 
                        (service openssh-service-type)
            (service tor-service-type)
               (keyboard-layout keyboard-layout)))
            (service libvirt-service-type
                      (unix-sock-group "libvirt")
                      (tls-port "16555"))))
      (modify-services %desktop-services
               config => (guix-configuration
                 (inherit config)
(extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))))
        (sane-service-type _ => sane-backends))))

Now, when I open the "Virtual Machine Manager"
and want to set it up
there is this message:

Virtual Machine Manager:

Fehler bei der Verbindung mit der virtuellen Maschine/
Error connecting to virtual machine
If I want to add a connection:

Connect -- I press the button:connect

Then it says:

Unable to connect to libvirt qemu:///system.

Stellen Sie sicher, dass der »libvirtd«-Dienst läuft/
Make sure that the libvirtd service is running

Libvirt URI is: qemu:///system

Traceback (most recent call last):
File "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtManager/", line 922, in _do_open, data)
File "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/", line 153, in open
    conn = libvirt.openAuth(self._open_uri,
File "/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/", line 147, in openAuth
    raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: Socket-Erstellung zu '/var/run/libvirt/libvirt-sock' fehlgeschlagen: Keine Berechtigung/no authorization
It seems I don't have the rights to start libvirt.

How can I now solve the problem?
Any thoughts?


Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]