TimedLogin in gdm3 makes the screen go black. Can't VT switch.

Bug #1798640 reported by Bernhard M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Fix Released
High
Unassigned
kodi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When using timed login with the configuration

/etc/gdm3/custom.conf
# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.

[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false

# Enabling automatic login
# AutomaticLoginEnable = true
# AutomaticLogin = user1

# Enabling timed login
#TimedLoginEnable = true
#TimedLogin = tv
#TimedLoginDelay = 10

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
#Enable=true

after 10 seconds the screen goes black and only a reboot is possible to get the GUI working again. If canceling the timed login and selecting the same option everything works.

Additional infarmation: tv is a user starting kodi as single app:

/var/lib/AccountsService/users/tv
[InputSource0]
xkb=us

[User]
XSession=kodi
SystemAccount=false

/usr/share/wayland-sessions/kodi.desktop
[Desktop Entry]
Name=Kodi
Comment=This session will start Kodi media center
Exec=kodi-standalone
TryExec=kodi-standalone
Type=Application

Tags: timedlogin
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please:

1. Run this command to send us more information about the system:

   apport-collect 1798640

2. Clarify what you mean by "crashes everything"? Does that refer to "the screen goes black and only a reboot is possible to get the GUI working again"?

Changed in gdm3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

The configuration you posted in the description doesn't have timed login enabled, but assuming you just uncommented the lines from there. In addition of the info Daniel requested/logs, could you try if you get the issue also login into a standard Ubuntu session or if that's specific to your custom "kodi" one?

Changed in gdm3 (Ubuntu):
importance: Undecided → High
Revision history for this message
Bernhard M (bmaehr) wrote :

> Clarify what you mean by "crashes everything"? Does that refer to "the screen goes black and only a reboot is possible to get the GUI working again"?

Screen goes black. Even with Ctrl-Alt-Fx I'm not able to switch to an other console to do something on the system -> no possibility to do something for me

> In addition of the info Daniel requested/logs, could you try if you get the issue also login into a standard Ubuntu session or if that's specific to your custom "kodi" one?

I tried the gnome session for the user tv, which should be the default. I get the same result: Black screen, not responding on anything.
Output of ps during the hanging screen:
root@mediacenter:~# ps -A -F | grep tv
tv 4062 1 0 12062 6348 1 01:44 ? 00:00:00 /lib/systemd/systemd --user
tv 4069 4062 0 54135 2764 1 01:44 ? 00:00:00 (sd-pam)
tv 4118 1 0 44775 3940 3 01:44 ? 00:00:00 /usr/bin/gnome-keyring-daemon --daemonize --login

I created 2 apport-files of 4062 and 4069 and attached them. apport-collect is not working for me, because it is not able to find a browser and I cant execute it when the GUI is crashed.

Revision history for this message
Bernhard M (bmaehr) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you include you journalctl log after getting the issue (seems like apport didn't collect it in the files you attached)

Revision history for this message
Bernhard M (bmaehr) wrote :

I created a logfile of the failure as requested.

I saw that it is perhaps a timing issue, because one time (out of perhaps 20 tries) today it seamed to work correctly.

summary: - TimedLogin in gdm3 crashes everything
+ TimedLogin in gdm3 makes the screen go black. Can't VT switch.
Changed in gdm3 (Ubuntu):
status: Incomplete → New
Revision history for this message
Bernhard M (bmaehr) wrote :

Seams to be fixed with disco.

Changed in gdm3 (Ubuntu):
status: New → Fix Released
Changed in kodi (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.