SDDM fails to start, black screen on 188d18fc47

  • Open
  • quality assurance status badge
Details
3 participants
  • Jonathan Brielmaier
  • Richard Sent
  • tumashu
Owner
unassigned
Submitted by
Richard Sent
Severity
normal
R
R
Richard Sent wrote on 4 Apr 15:19 +0200
(address . bug-guix@gnu.org)
87jzldfepn.fsf@freakingpenguin.com
Hi Guix!

After upgrading Guix from c9cd16c630 to 188d18fc47, SDDM fails to start
and drops me onto a black screen. I heard from another user on IRC who
seemingly has the same issue, so I think there's a bug here and it's not
a "me" issue.

From the log, it seems like it might something to do with sddm-helper
communicating with PAM. Normally a line like "[PAM] Conversation with 1
messages" is printed after "[PAM] Authenticating..."

My SDDM configuration:

Toggle snippet (6 lines)
(service sddm-service-type
(sddm-configuration
(theme "guix-simplyblack-sddm")
(themes-directory (file-append guix-simplyblack-sddm-theme "/share/sddm/themes"))))

An sddm.log entry when it fails to start:

Toggle snippet (31 lines)
[23:28:42.129] (II) DAEMON: Initializing...
[23:28:42.143] (II) DAEMON: Starting...
[23:28:42.144] (II) DAEMON: Logind interface found
[23:28:42.144] (II) DAEMON: Adding new display...
[23:28:42.146] (II) DAEMON: Loaded empty theme configuration
[23:28:42.146] (II) DAEMON: Xauthority path: "/var/run/sddm/xauth_TflZQy"
[23:28:42.147] (II) DAEMON: Using VT 7
[23:28:42.147] (II) DAEMON: Display server starting...
[23:28:42.147] (II) DAEMON: Writing cookie to "/var/run/sddm/xauth_TflZQy"
[23:28:42.147] (II) DAEMON: Running: /gnu/store/c6dkx87an4c9qjny6yakxss9zm60wk7p-startx -nolisten tcp -dpi 240 -background none -seat seat0 vt7 -auth /var/run/sddm/xauth_TflZQy -noreset -displayfd 16
[23:28:42.719] (II) DAEMON: Setting default cursor
[23:28:42.728] (WW) DAEMON: Could not setup default cursor
[23:28:42.728] (II) DAEMON: Running display setup script "/gnu/store/6ansmr2w8q5kppw4vi5bg9cgmf5h36s8-sddm-0.20.0/share/sddm/scripts/Xsetup"
[23:28:42.732] (II) DAEMON: Display server started.
[23:28:42.732] (II) DAEMON: Socket server starting...
[23:28:42.732] (II) DAEMON: Socket server started.
[23:28:42.735] (II) DAEMON: Loading theme configuration from "/gnu/store/vvdgqz68b7hjysyxvx4jgrfs9n8l161a-guix-simplyblack-sddm-theme-0.1/share/sddm/themes/guix-simplyblack-sddm/theme.conf"
[23:28:42.735] (II) DAEMON: Greeter starting...
[23:28:42.746] (II) HELPER: [PAM] Starting...
[23:28:42.746] (II) HELPER: [PAM] Authenticating...
[23:28:42.746] (II) HELPER: [PAM] returning.
[23:28:42.794] (II) HELPER: Writing cookie to "/tmp/xauth_FEgdza"
[23:28:42.794] (II) HELPER: Starting X11 session: "" "/gnu/store/6ansmr2w8q5kppw4vi5bg9cgmf5h36s8-sddm-0.20.0/bin/sddm-greeter --socket /tmp/sddm-:0-lSqpNm --theme /gnu/store/vvdgqz68b7hjysyxvx4jgrfs9n8l161a-guix-simplyblack-sddm-theme-0.1/share/sddm/themes/guix-simplyblack-sddm"
[23:28:42.796] (II) DAEMON: Greeter session started successfully
[23:28:45.920] (II) DAEMON: Message received from greeter: Connect
[23:28:47.626] (II) HELPER: [PAM] Closing session
[23:28:47.628] (II) HELPER: [PAM] Ended.
[23:28:47.639] (WW) DAEMON: Auth: sddm-helper exited with 11
[23:28:47.639] (II) DAEMON: Greeter stopped. SDDM::Auth::HelperExitStatus(11)

An sddm.log entry when it successfully runs:

Toggle snippet (43 lines)
[23:30:57.842] (II) DAEMON: Initializing...
[23:30:57.846] (II) DAEMON: Starting...
[23:30:57.846] (II) DAEMON: No session manager found
[23:30:57.846] (II) DAEMON: Adding new display...
[23:30:57.847] (II) DAEMON: Loaded empty theme configuration
[23:30:57.848] (II) DAEMON: Xauthority path: "/var/run/sddm/xauth_WsJLVn"
[23:30:57.848] (II) DAEMON: Using VT 7
[23:30:57.848] (II) DAEMON: Display server starting...
[23:30:57.848] (II) DAEMON: Writing cookie to "/var/run/sddm/xauth_WsJLVn"
[23:30:57.848] (II) DAEMON: Running: /gnu/store/ybrjbiwpbs440d784p2bmsk7apaybbhy-startx -nolisten tcp -dpi 240 -background none -seat seat0 vt7 -auth /var/run/sddm/xauth_WsJLVn -noreset -displayfd 16
[23:30:58.429] (II) DAEMON: Setting default cursor
[23:30:58.439] (WW) DAEMON: Could not setup default cursor
[23:30:58.439] (II) DAEMON: Running display setup script "/gnu/store/n0msvb8vfd3q3f9349kpq8305c4mx67x-sddm-0.20.0/share/sddm/scripts/Xsetup"
[23:30:58.442] (II) DAEMON: Display server started.
[23:30:58.442] (II) DAEMON: Socket server starting...
[23:30:58.442] (II) DAEMON: Socket server started.
[23:30:58.445] (II) DAEMON: Loading theme configuration from "/gnu/store/vvdgqz68b7hjysyxvx4jgrfs9n8l161a-guix-simplyblack-sddm-theme-0.1/share/sddm/themes/guix-simplyblack-sddm/theme.conf"
[23:30:58.445] (II) DAEMON: Greeter starting...
[23:30:58.456] (II) HELPER: [PAM] Starting...
[23:30:58.456] (II) HELPER: [PAM] Authenticating...
[23:30:58.456] (II) HELPER: [PAM] returning.
[23:30:58.489] (II) HELPER: Writing cookie to "/tmp/xauth_PUcYpV"
[23:30:58.489] (II) HELPER: Starting X11 session: "" "/gnu/store/n0msvb8vfd3q3f9349kpq8305c4mx67x-sddm-0.20.0/bin/sddm-greeter --socket /tmp/sddm-:0-cMaMMt --theme /gnu/store/vvdgqz68b7hjysyxvx4jgrfs9n8l161a-guix-simplyblack-sddm-theme-0.1/share/sddm/themes/guix-simplyblack-sddm"
[23:30:58.491] (II) DAEMON: Greeter session started successfully
[23:31:01.616] (II) DAEMON: Message received from greeter: Connect
[23:31:05.982] (II) DAEMON: Message received from greeter: Login
[23:31:05.982] (II) DAEMON: Reading from "/run/current-system/profile/share/xsessions/stumpwm.desktop"
[23:31:05.982] (II) DAEMON: Session "/run/current-system/profile/share/xsessions/stumpwm.desktop" selected, command: "/gnu/store/fvm9ibhr11bqj09dx5wwha5260hgw2p3-stumpwm-22.11/bin/stumpwm" for VT 7
[23:31:05.991] (II) HELPER: [PAM] Starting...
[23:31:05.991] (II) HELPER: [PAM] Authenticating...
[23:31:05.991] (II) HELPER: [PAM] Preparing to converse...
[23:31:05.991] (II) HELPER: [PAM] Conversation with 1 messages
[23:31:05.996] (II) HELPER: [PAM] returning.
[23:31:05.996] (II) DAEMON: Authentication for user "richard" successful
[23:31:06.028] (II) HELPER: Writing cookie to "/tmp/xauth_qHpzQg"
[23:31:06.028] (II) HELPER: Starting X11 session: "" "/gnu/store/by9l6s04vi7g7q8nd3ycvaz2p9373y0h-xinitrc \"/gnu/store/fvm9ibhr11bqj09dx5wwha5260hgw2p3-stumpwm-22.11/bin/stumpwm\""
[23:31:06.030] (II) DAEMON: Session started true
[23:31:06.044] (II) HELPER: [PAM] Closing session
[23:31:06.045] (II) HELPER: [PAM] Ended.
[23:31:06.047] (II) DAEMON: Auth: sddm-helper exited successfully
[23:31:06.047] (II) DAEMON: Greeter stopped. SDDM::Auth::HELPER_SUCCESS

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
R
R
Richard Sent wrote on 11 Apr 21:46 +0200
(address . 70194@debbugs.gnu.org)
875xwnhecf.fsf@freakingpenguin.com
After updating to 4e7337536ba41e888a601c92fada8a4adca9d2c6, the issue
seems to have been resolved. I'll leave this open in case anyone else
who experienced the issue earlier is still dealing with it.

--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
J
J
Jonathan Brielmaier wrote on 13 Apr 12:49 +0200
SDDM fails to start, black screen on 188d18fc47
(address . 70194@debbugs.gnu.org)
b0d5395a-36f0-1856-1635-53e18d45d972@web.de
I ran into this issue on my newly installed laptop (Guix System).

Even after reconfiguring to 15a523ea213065c275e4852673cbb27c72c0ad87
(current master as of today), the screen stayed black and SDDM didn't start.

My sddm configuration:
```
(service sddm-service-type
(sddm-configuration
(display-server "wayland")))
```

So in the end I switched back to GDM which works :)

~Jonathan
T
T
tumashu wrote on 19 Apr 12:42 +0200
(address . 70194@debbugs.gnu.org)
6dcf29c5.1f1d.18ef5f3ab75.Coremail.tumashu@163.com
remove this line



(display-server "wayland")



after update to sddm 0.20, sddm add it support, but sddm-service-type do not support at the moment,


recent days i try to fix, but face vt problem, no progress






--
?????????????
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 70194@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70194
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch