After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 745217 - GDM master: black screen on logout
GDM master: black screen on logout
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
3.15.x
Other Linux
: High normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2015-02-26 14:42 UTC by Vadim Rutkovsky
Modified: 2015-09-09 22:23 UTC
See Also:
GNOME target: 3.18
GNOME version: ---


Attachments
Wayland session logout journal (8.77 KB, text/x-log)
2015-02-26 14:43 UTC, Vadim Rutkovsky
  Details
Wayland session logout journal (21.01 KB, text/x-log)
2015-03-02 14:25 UTC, Vadim Rutkovsky
  Details
worker: drop mode_fixed variable (4.71 KB, patch)
2015-03-03 14:02 UTC, Ray Strode [halfline]
none Details | Review
worker: fix hang on logout (3.51 KB, patch)
2015-03-03 14:02 UTC, Ray Strode [halfline]
none Details | Review

Description Vadim Rutkovsky 2015-02-26 14:42:01 UTC
gdm 3.15.90.5-2-g678ac9657d3166dcdeadbccb7ad9427ba0677339, continuous updated to 20150226.42

Black screen on logout from Xorg. journal:

Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: <7>session exited with status 0
Feb 26 14:39:28 qemux86-64 spice-vdagentd[383]: closed vdagent virtio channel
Feb 26 14:39:28 qemux86-64 org.gnome.ControlCenter.SearchProvider[582]: (gnome-control-center-search-provider:823): Gdk-WARNING **: gnome-control-center-search-provider: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (gnome-settings-daemon:616): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Feb 26 14:39:28 qemux86-64 org.a11y.Bus[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 org.gnome.Calendar[582]: (gnome-calendar:822): Gdk-WARNING **: gnome-calendar: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (org.gnome.Software:710): Gdk-WARNING **: org.gnome.Software: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (nm-applet:713): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (evolution-alarm-notify:715): Gdk-WARNING **: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) evdev: spice vdagent tablet: Close
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) UnloadModule: "evdev"
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) systemd-logind: releasing fd for 13:68
Feb 26 14:39:28 qemux86-64 org.gtk.vfs.Daemon[582]: A connection to the bus can't be made
Feb 26 14:39:28 qemux86-64 org.gtk.vfs.Daemon[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (EE) systemd-logind: failed to release device: Device not taken
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) evdev: ImExPS/2 Generic Explorer Mouse: Close
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) UnloadModule: "evdev"
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) systemd-logind: releasing fd for 13:66
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) evdev: AT Translated Set 2 keyboard: Close
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) UnloadModule: "evdev"
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) systemd-logind: releasing fd for 13:65
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) evdev: Power Button: Close
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) UnloadModule: "evdev"
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) systemd-logind: releasing fd for 13:64
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (gnome-shell:644): Gdk-WARNING **: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
Feb 26 14:39:28 qemux86-64 polkitd[393]: Unregistered Authentication Agent for unix-session:4 (system bus name :1.58, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Feb 26 14:39:28 qemux86-64 gnome-session[446]: DEBUG(+): emitting SessionIsActive
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: Ignoring non-user session 1 (class greeter)
Feb 26 14:39:28 qemux86-64 kernel: input: spice vdagent tablet as /devices/virtual/input/input8
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: gnome-session[446]: DEBUG(+): emitting SessionIsActive
Feb 26 14:39:28 qemux86-64 spice-vdagentd[383]: opening vdagent virtio channel
Feb 26 14:39:28 qemux86-64 spice-vdagentd[383]: Set max clipboard: 104857600
Feb 26 14:39:28 qemux86-64 spice-vdagentd[383]: Set max clipboard: 104857600
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: Ignoring non-user session 1 (class greeter)
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-x-session[576]: (II) Server terminated successfully (0). Closing log file.
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>AccountsService: Ignoring non-user session 1 (class greeter)
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-settings-daemon:506): color-plugin-WARNING **: unable to get EDID for xrandr-unknown8: unable to get EDID for output
Feb 26 14:39:28 qemux86-64 org.gnome.Shell.CalendarServer[582]: gnome-shell-calendar-server[657]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
Feb 26 14:39:28 qemux86-64 org.gnome.Shell.CalendarServer[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 org.gtk.Private.UDisks2VolumeMonitor[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (tracker-extract:712): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (tracker-miner-fs:707): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
Feb 26 14:39:28 qemux86-64 org.freedesktop.Tracker1[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 org.freedesktop.Telepathy.AccountManager[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 org.gnome.evolution.dataserver.Sources4[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 org.gnome.evolution.dataserver.Calendar7[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmManager: trying to open new session
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmDBusServer: new connection 0x949b30
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmSession: Handling new connection from outside
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmManager: client connected
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmDisplay: Got timed login details for display (null): 0 '(null)' 0
Feb 26 14:39:28 qemux86-64 org.gtk.vfs.Daemon[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: Received signal:15->'Terminated'
Feb 26 14:39:28 qemux86-64 gnome-session[584]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Feb 26 14:39:28 qemux86-64 gnome-session[584]: Received signal:15->'Terminated'
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (tracker-miner-fs:707): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (tracker-miner-fs:707): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Feb 26 14:39:28 qemux86-64 gnome-session[584]: (tracker-miner-fs:707): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
Feb 26 14:39:28 qemux86-64 org.gnome.evolution.dataserver.Calendar7[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Feb 26 14:39:28 qemux86-64 org.gnome.evolution.dataserver.Calendar7[582]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 44). Exiting.
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSessionWorker: child (pid:576) done (status:0)
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSessionWorker: uninitializing PAM
Feb 26 14:39:28 qemux86-64 gdm-password][565]: pam_warn(gdm-password:session): function=[pam_sm_close_session] service=[gdm-password] terminal=[/dev/tty2] user=[test] ruser=[<unknown>] rhost=[<unknown>]
Feb 26 14:39:28 qemux86-64 gdm-password][565]: pam_unix(gdm-password:session): session closed for user test
Feb 26 14:39:28 qemux86-64 gdm-password][565]: pam_warn(gdm-password:setcred): function=[pam_sm_setcred] service=[gdm-password] terminal=[/dev/tty2] user=[test] ruser=[<unknown>] rhost=[<unknown>]
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSessionWorker: state NONE
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>Trying script /etc/gdm/PostSession
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmSession: Emitting 'session-exited' signal with exit code '0'
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmManager: session exited with status 0
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmDisplay: unmanage display
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmDisplay: finish display
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmSession: Closing session
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmSession: Stopping all conversations
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmSessionWorkerJob: Stopping job pid:565
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmCommon: sending signal 15 to process 565
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmSessionWorkerJob: Waiting on process 565
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>script /etc/gdm/PostSession not found; skipping
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>Trying script /etc/gdm/PostSession/Default
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>Running process: /etc/gdm/PostSession/Default
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: DISPLAY=
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: HOME=/home/test
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: RUNNING_UNDER_GDM=true
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: LOGNAME=test
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: XAUTHORITY=
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: USERNAME=test
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: PWD=/home/test
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: USER=test
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: SHELL=/bin/sh
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>GdmSlave: script environment: PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode 1024x768: Permission denied
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>Process exit status: 0
Feb 26 14:39:28 qemux86-64 org.freedesktop.Tracker1[582]: Received signal:15->'Terminated'
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode : Permission denied
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode : Permission denied
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode : Permission denied
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to flip: Permission denied
Feb 26 14:39:28 qemux86-64 gdm-session-worker[565]: <7>Worker finished
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: Ignoring non-user session 1 (class greeter)
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: Ignoring non-user session 1 (class greeter)
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: ActUserManager: Session removed: 4
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: ActUserManager: New session for uid 1000 on x11 display  removed before fully loading
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: ActUserManager: unrefing manager owned by new session that's now unloaded
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: ActUserManager: Session removed: 4
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: ActUserManager: Session removed for user test
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: ActUser: removing session 4
Feb 26 14:39:28 qemux86-64 gdm-session-worker[420]: <7>AccountsService: ActUserManager: sessions changed (user test) num=0
Feb 26 14:39:28 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to flip: Permission denied
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmCommon: process (pid:565) done (status:0)
Feb 26 14:39:28 qemux86-64 gdm[394]: GdmSessionWorkerJob: SessionWorkerJob died
Feb 26 14:39:29 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-settings-daemon:506): color-plugin-WARNING **: unable to get EDID for xrandr-unknown8: unable to get EDID for output
Feb 26 14:39:29 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode 1024x768: Permission denied
Feb 26 14:39:29 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode : Permission denied
Feb 26 14:39:29 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode : Permission denied
Feb 26 14:39:29 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to set crtc mode : Permission denied
Feb 26 14:39:29 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to flip: Permission denied
Feb 26 14:39:48 qemux86-64 systemd-logind[369]: Removed session 4.
Feb 26 14:39:48 qemux86-64 gdm-session-worker[420]: <7>AccountsService: Ignoring non-user session 1 (class greeter)
Feb 26 14:39:48 qemux86-64 systemd[1]: Stopped User Manager for UID 1000.
Feb 26 14:39:48 qemux86-64 systemd[1]: Removed slice user-1000.slice.
Feb 26 14:39:48 qemux86-64 systemd[1]: Stopping user-1000.slice.
Feb 26 14:39:48 qemux86-64 /usr/libexec/gdm-wayland-session[443]: gnome-session[446]: DEBUG(+): GsmSystemd: received logind signal: SessionRemoved
Feb 26 14:39:48 qemux86-64 gnome-session[446]: DEBUG(+): GsmSystemd: received logind signal: SessionRemoved
Feb 26 14:39:48 qemux86-64 /usr/libexec/gdm-wayland-session[443]: gnome-session[446]: DEBUG(+): GsmSystemd: ignoring SessionRemoved signal
Feb 26 14:39:48 qemux86-64 gnome-session[446]: DEBUG(+): GsmSystemd: ignoring SessionRemoved signal
Feb 26 14:39:48 qemux86-64 /usr/libexec/gdm-wayland-session[443]: gnome-session[446]: DEBUG(+): GsmSystemd: received logind signal: UserRemoved
Feb 26 14:39:48 qemux86-64 gnome-session[446]: DEBUG(+): GsmSystemd: received logind signal: UserRemoved
Feb 26 14:39:48 qemux86-64 /usr/libexec/gdm-wayland-session[443]: gnome-session[446]: DEBUG(+): GsmSystemd: ignoring UserRemoved signal
Feb 26 14:39:48 qemux86-64 gnome-session[446]: DEBUG(+): GsmSystemd: ignoring UserRemoved signal
Feb 26 14:40:00 qemux86-64 /usr/libexec/gdm-wayland-session[443]: (gnome-shell:456): Cogl-WARNING **: Failed to flip: Permission denied
Comment 1 Vadim Rutkovsky 2015-02-26 14:43:49 UTC
Created attachment 297985 [details]
Wayland session logout journal

Wayland session: the screen is not blanked (still see gnome-shell screenshot, but can't communicate with it).
Comment 2 Vadim Rutkovsky 2015-03-02 14:25:31 UTC
Created attachment 298302 [details]
Wayland session logout journal

Since 3.15.91 Xorg logs out correctly, wayland: still gets stuck
Comment 3 Matthias Clasen 2015-03-02 14:27:54 UTC
putting on the blocker list
Comment 4 Ray Strode [halfline] 2015-03-03 14:02:05 UTC
Created attachment 298429 [details] [review]
worker: drop mode_fixed variable

it's unused.
Comment 5 Ray Strode [halfline] 2015-03-03 14:02:10 UTC
Created attachment 298430 [details] [review]
worker: fix hang on logout

We need to retake control of VT switch processing on logout,
just as we do before login, otherwise we can be left hung
waiting for the VT to be released.
Comment 6 Ray Strode [halfline] 2015-03-03 14:03:44 UTC
Attachment 298429 [details] pushed as 37ed100 - worker: drop mode_fixed variable
Attachment 298430 [details] pushed as f09053d - worker: fix hang on logout
Comment 7 Teppo Turtiainen 2015-06-25 06:50:24 UTC
I still get a black screen on logout when automatic login is enabled. Disabling automatic login makes it work again.
Comment 8 Ray Strode [halfline] 2015-09-09 22:23:48 UTC
let's leave this one closed and work on the issue in bug 749418