According to last -x command my session also terminates only when turning the screen back on. I also confirm that the session is not only logged out but every process created and all files in /run/shm/ are also killed. It seemed like installing caffeine (disabling auto suspend and screensaver) had solved it, but after turning the screen on in the morning the session crashed at that moment. In /var/crash there are files timestamped just after I turned the screen back on of: caffeine, Xwayland and gnome-shell. It's been hard to figure out a way around this bug. This was a fresh install of 17.10 on AMD cpu and AMD gfx card, HDMI monitor. Everything was updated before the latest crash occurred again.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1733127 Title: Session crashes when monitor is disconnected Status in gnome-shell package in Ubuntu: Incomplete Bug description: The user session crashes when I disconnect the DVI cable from my computer (which I do to connect another monitor instead). A similar problem is described in two recent questions on AskUbuntu: https://askubuntu.com/questions/969376/how-to-keep-graphical-session- running-in-17-10-when-external-screen-is-turned-of https://askubuntu.com/questions/969510/ubuntu-17-10-logs-out-when- monitor-is-detached I could not find a related bug report to subscribe to so here I am. I would except the session to be available as if nothing had happened when I reconnect the screen, or at most that the session is locked (but still running). These are the system logs from when I tested it twice, at 00:26:50 and at 00:28:30. (I'm not sure if the rfkill message is related.) 00:28:46 kernel: rfkill: input handler disabled 00:28:30 kernel: gnome-shell[11544]: segfault at 18 ip 00007f3edabafe04 sp 00007ffcaf8c6c68 error 4 in libmutter-1.so.0.0.0[7f3edab11000+141000] 00:28:30 kernel: nouveau 0000:01:00.0: DRM: DDC responded, but no EDID for DVI-I-1 00:27:11 kernel: rfkill: input handler disabled 00:26:51 kernel: gnome-shell[10348]: segfault at 18 ip 00007f208bbfbe04 sp 00007fff247c7f98 error 4 in libmutter-1.so.0.0.0[7f208bb5d000+141000] 00:26:50 kernel: nouveau 0000:01:00.0: DRM: DDC responded, but no EDID for DVI-I-1 I'm using Ubuntu 17.10, gnome-shell is at 3.26.1-0ubuntu5. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: gnome-shell 3.26.1-0ubuntu5 ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4 Uname: Linux 4.13.0-16-generic x86_64 ApportVersion: 2.20.7-0ubuntu3.4 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sun Nov 19 00:31:34 2017 DisplayManager: gdm3 GsettingsChanges: b'org.gnome.shell' b'enable-hot-corners' b'true' b'org.gnome.shell' b'favorite-apps' b"['firefox.desktop', 'empathy.desktop', 'libreoffice-writer.desktop', 'rhythmbox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.gedit.desktop', 'org.gnome.Terminal.desktop', 'shotwell.desktop', 'gnucash.desktop', 'transmission-gtk.desktop']" b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'" InstallationDate: Installed on 2017-07-20 (121 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) SourcePackage: gnome-shell UpgradeStatus: Upgraded to artful on 2017-11-14 (4 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1733127/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp