From: Gottfried <gottfried@posteo.de>
To: help-guix@gnu.org
Subject: virtualization
Date: Fri, 23 Sep 2022 19:12:26 +0000 [thread overview]
Message-ID: <9bd91815-48d4-18e6-8816-8a80447e4bfd@posteo.de> (raw)
[-- 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 --]
next reply other threads:[~2022-09-23 19:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-23 19:12 Gottfried [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9bd91815-48d4-18e6-8816-8a80447e4bfd@posteo.de \
--to=gottfried@posteo.de \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).