Доброго времени! Проблема следующая: был 1 пользователь в GuixSD, работало нормально, входил в сессию XFCE. Сейчас с помощью /etc/config.scm добавлен второй, во второго пользователя входит в сессию XFCE, а в первого user1 - после ввода пароля показывает Logging 5 секунд и перезагружается.
То есть конфигурация была сделана такая:
$ cat /etc/config.scm
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce where the
;; root partition is encrypted with LUKS.
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome)
(operating-system
(host-name "antelope")
(timezone "Europe/Moscow")
(locale "en_US.utf8")
;; Use the UEFI variant of GRUB with the EFI System
;; Partition mounted on /boot/efi.
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
;; Specify a mapped device for the encrypted root partition.
;; The UUID is that returned by 'cryptsetup luksUUID'.
;(mapped-devices
; (list (mapped-device
; (source (uuid "12345678-1234-1234-1234-hash888abc"))
; (target "my-root")
; (type luks-device-mapping))))
(file-systems (cons (file-system
(device "/dev/sda1")
(mount-point "/")
(type "ext4")
)
%base-file-systems))
(swap-devices '("/dev/sda2"))
(users (cons* (user-account
(name "user1")
(comment "1st user")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/user1"))
(user-account
(name "user2")
(comment "2nd user")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/user2"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
%base-packages))
;; Add GNOME and/or Xfce---we can choose at the log-in
;; screen with F1. Use the "desktop" services, which
;; include the X11 log-in service, networking with
;; NetworkManager, and more.
(services (cons* (xfce-desktop-service)
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
# guix system reconfigure /etc/config.scm
# passwd user1
# passwd user2
# reboot
user2 может нормально войти в XFCE.
user1 после авторизации заставляет систему рестартиться (не полностью, а в черный экран, где бегут логи), и попадает опять на экран входа.
dmesg, Xorg.0.log:
$ dmesg | nc termbin.com 9999
http://termbin.com/hj3u
$ cat /var/log/Xorg.0.log | nc termbin.com 9999
http://termbin.com/xjoq
$ id user1
uid=30013(user1) gid=998(users) groups=998(users),999(wheel),992(video),991(audio),990(netdev)
$ id user2
uid=30011(user2) gid=998(users) groups=998(users),999(wheel),992(video),991(audio),990(netdev)
# cat /etc/passwd | grep -e user1 -e user2
user1:x:30011:998:1st user:/home/user1:/gnu/store/q4b3s9y4i0dahash0q9yqcf43s47v-bash-4.4.19/bin/bash
user2:x:30013:998:2nd user:/home/user2:/gnu/store/q4b3s9y4i0da36dhashyqcf43s47v-bash-4.4.19/bin/bash
$ ls /home
user1/ user2/
Как войти в систему под user1 ?