I've attached my Xorg.0.log after the session exited and I saw the new login screen (switched to console CTRL-ALT-F1, and copied the /var/log/Xorg.0.log* to a safe location).
Imho, this is the log of the new Xorg instance. I suspect that as there is a file Xorg.0.log.old with the same timestamp as the new one. Unfortunately there is no backtrace, it detects that the monitor is removed: [ 33982.721] (II) intel(0): resizing framebuffer to 1366x768 [ 33982.724] (II) intel(0): switch to mode 1366x768@60.1 on LVDS1 using pipe 0, position (0, 0), r otation normal, reflection none [ 33983.053] (II) config/udev: removing device Atmel Atmel maXTouch Digitizer [ 33983.074] (II) evdev: Atmel Atmel maXTouch Digitizer: Close [ 33983.075] (II) UnloadModule: "evdev" [ 33983.696] (II) config/udev: Adding input device Atmel Atmel maXTouch Digitizer (/dev/input/even t10) Whats worse it seems that the server terminated successfully: $ tail -10 Xorg.0.log.old [ 33987.674] (II) UnloadModule: "evdev" [ 33987.674] (II) evdev: ASUS USB2.0 Webcam: Close [ 33987.674] (II) UnloadModule: "evdev" [ 33987.674] (II) evdev: Sleep Button: Close [ 33987.674] (II) UnloadModule: "evdev" [ 33987.674] (II) evdev: Power Button: Close [ 33987.674] (II) UnloadModule: "evdev" [ 33987.674] (II) evdev: Video Bus: Close [ 33987.674] (II) UnloadModule: "evdev" [ 33987.714] (EE) Server terminated successfully (0). Closing log file. However there isn't any crash files in /var/crash. Any ideas? Should I start a session from command line? ** Attachment added: "Xorg.0.log" https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1545834/+attachment/4578370/+files/Xorg.0.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545834 Title: Session exits when removing external monitor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1545834/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs