Subject: Re: bug#55488: GDM, GNOME: Can't start desktop session after upgrade

From: Luis Felipe <[email-masked]>
Date: Wed, 18 May 2022 14:33:45 +0000

Hi Ludo,

On Wednesday, May 18th, 2022 at 8:44 AM, Ludovic Courtès <[email-masked]> wrote:

> This is a config that uses Xorg, not Wayland, right?

Right.

> > In the real machine, only a black screen appears. After hours, there is no change. There is no mouse pointer or any indication that the desktop has loaded.
> > 

> > In the virtual machine, you see a black screen and the mouse pointer appearing sometimes and then disappearing. After a minute, you are taken back to the log in screen, which now behaves erratically: when you click on your user to log in again, it shows the username input box, and, once you move the pointer to enter your username, the view is changed back to the list of users. The same happens everytime you try to log in again.
> 

> What does ‘sudo herd status’ show at that point?

~~~
Iniciado (Started):
 + avahi-daemon
 + console-font-tty1
 + console-font-tty2
 + console-font-tty3
 + console-font-tty4
 + console-font-tty5
 + console-font-tty6
 + dbus-system
 + elogind
 + file-system-/boot/efi
 + file-system-/dev/pts
 + file-system-/dev/shm
 + file-system-/gnu/store
 + file-system-/run/systemd
 + file-system-/run/user
 + file-system-/sys/firmware/efi/efivars
 + file-system-/sys/fs/cgroup
 + file-system-/sys/fs/cgroup/blkio
 + file-system-/sys/fs/cgroup/cpu
 + file-system-/sys/fs/cgroup/cpuacct
 + file-system-/sys/fs/cgroup/cpuset
 + file-system-/sys/fs/cgroup/devices
 + file-system-/sys/fs/cgroup/elogind
 + file-system-/sys/fs/cgroup/freezer
 + file-system-/sys/fs/cgroup/memory
 + file-system-/sys/fs/cgroup/perf_event
 + file-system-/sys/fs/cgroup/pids
 + file-system-/sys/kernel/debug
 + file-system-/var/cache/fontconfig
 + file-systems
 + guix-daemon
 + loopback
 + mcron
 + networking
 + nscd
 + ntpd
 + root
 + root-file-system
 + swap-/dev/sda2
 + syslogd
 + term-tty1
 + term-tty2
 + term-tty3
 + term-tty4
 + term-tty5
 + term-tty6
 + udev
 + upower-daemon
 + urandom-seed
 + user-file-systems
 + user-processes
 + virtual-terminal
 + wpa-supplicant
 + xorg-server
Detenido (Stopped):
 - term-console
Ejecución única (one-shot):
 * host-name
 * sysctl
 * user-homes
~~~

> I wonder if it might be https://issues.guix.gnu.org/55488.

Did you mean another bug number? 55488 is the one I reported :)

> If not, could you provide a minimal config that reproduces the problem?

Here's one:

~~~
(use-modules (gnu)
             (gnu packages dns))
(use-service-modules admin desktop networking ssh xorg)

;;; CONSTANTS
;;; =========

(define DESKTOP_USER_GROUPS
  (list "wheel"
        "netdev"
        "audio"
        "video"
        "cdrom"
        "kvm"))

;;; SYSTEM CONFIGURATION
;;; ====================

(operating-system
  (locale "es_CO.utf8")
  (timezone "America/Bogota")
  (keyboard-layout
   (keyboard-layout "latam" #:model "pc104" #:options '("ctrl:nocaps")))
  (kernel-arguments (list "quiet" "pci=noaer"))
  (bootloader
    (bootloader-configuration
      (bootloader grub-efi-bootloader)
      (targets (list "/boot/efi"))
      (keyboard-layout keyboard-layout)))
  (swap-devices
   (list (swap-space
          (target "/dev/sda2"))))
  (file-systems
    (cons* (file-system
             (mount-point "/")
             (device
               (uuid "3f651226-f53e-4944-8bf8-a0b8c28cfac5"
                     'ext4))
             (type "ext4"))
           (file-system
             (mount-point "/boot/efi")
             (device (uuid "A0CA-050E" 'fat32))
             (type "vfat"))
           %base-file-systems))
  (host-name "gnu")
  (users
   (cons*
    (user-account
     (name "someone")
     (comment "some person")
     (group "users")
     (home-directory "/home/someone")
     (supplementary-groups DESKTOP_USER_GROUPS)
     (password (crypt "InitialPassword!" "$6$abc")))
    %base-user-accounts))
  (packages
   (cons*
    ;; Locales (all locales).
    (specification->package "glibc-locales")
    ;; For HTTPS access.
    (specification->package "nss-certs")
    %base-packages))
  (services
   (cons*
    (service gnome-desktop-service-type)
    (set-xorg-configuration
     (xorg-configuration
      (keyboard-layout keyboard-layout)))
    %desktop-services)))
~~~