Hi,I have guix system installed and want `loginctl poweroff` to work. I'm logged in via ssh. The vm is started using qemu-system-x86_64 -drive media=disk,file=geex-unenc.img,format=raw -bios /usr/share/ovmf/x64/OVMF.fd -m 2G -smp 3 -nic user,model=virtio-net-pci,hostfwd=tcp::2223-:22 -enable-kvm
Currently loginctl does not work: $ strace -o loginctl.str loginctl poweroff returns 1 and prints no errors.loginctl.str shows some partial error message. I don't know how to get loginctl or dbus to be more verbose and show me the error. /var/log/secure does not show anything regarding that error.
$ loginctl list
SESSION UID USER SEAT TTY
c1 983 gdm seat0 tty7
1 sessions listed.
First I tried configuring %base-services plus elogind-service-type, but
it didn't work, so I tried %desktop-services, and it still doesn't work,
but I'm sure it should. My (approximate) configuration.scm is attached.
Martin
;; This is an operating system configuration generated
;; by the graphical installer and adapted manually.
(use-modules (gnu))
(use-package-modules ssh)
(use-service-modules desktop networking ssh xorg)
(operating-system
(locale "de_DE.utf8")
(timezone "Europe/Berlin")
; (keyboard-layout (keyboard-layout "de" "neo")) ; commented out for help-guix
(host-name "geex-unenc")
(users (cons* (user-account
(name "mcd")
(comment "Martin")
(group "users")
(home-directory "/home/mcd")
(supplementary-groups
'("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(packages
(append
(list (specification->package "nss-certs"))
%base-packages))
(services
(append
(list
;(service xfce-desktop-service-type)
(service dropbear-service-type (dropbear-configuration
(root-login? #t)))
)
; (service dbus-root-service-type)
; (service polkit-service-type) ;need use-modules services dbus
; (service elogind-service-type)
; (service dhcp-client-service-type)
%desktop-services))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(targets '("/efi"))
(keyboard-layout keyboard-layout)))
(file-systems
(cons* (file-system
(mount-point "/efi")
(device (file-system-label "EFI"))
(type "vfat"))
(file-system
(mount-point "/")
(device
(file-system-label "myroot"))
(type "ext4")
(needed-for-boot? #t))
%base-file-systems))
)
loginctl.str
Description: application/vnd.pg.format
