all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* virtualization
@ 2022-09-23 19:12 Gottfried
  2022-09-23 19:53 ` virtualization Vagrant Cascadian
  0 siblings, 1 reply; 5+ messages in thread
From: Gottfried @ 2022-09-23 19:12 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 3405 bytes --]


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)

(operating-system
   (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")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "nss-certs"))			
       %base-packages))
   (services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
			(service cups-service-type
				(cups-configuration
					(web-interface? #t)
					(extensions (list cups-filters hplip))))			
			(service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                (keyboard-layout keyboard-layout)))
             (service libvirt-service-type
                      (libvirt-configuration
                       (unix-sock-group "libvirt")
                       (tls-port "16555"))))
	
       (modify-services %desktop-services
	(guix-service-type
                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:
QEMU/KVM

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/connection.py", 
line 922, in _do_open
     self._backend.open(cb, data)
   File 
"/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/virt-manager/virtinst/connection.py", 
line 153, in open
     conn = libvirt.openAuth(self._open_uri,
   File 
"/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/python3.9/site-packages/libvirt.py", 
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?

Gottfried


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-25  8:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-23 19:12 virtualization Gottfried
2022-09-23 19:53 ` virtualization Vagrant Cascadian
2022-09-24 21:05   ` virtualization Gottfried
2022-09-25  8:06     ` virtualization Gottfried
2022-09-25  8:14       ` virtualization Chris Keschnat via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.