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 Touch seeded packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1545834 Title: Session exits when removing external monitor Status in xorg package in Ubuntu: Incomplete Bug description: I use a dual monitor setup at work (notebook monitor + external). When I remove the external monitor, my gui session exits and I have to login again. It happens all the time now. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: xorg 1:7.7+1ubuntu8.1 ProcVersionSignature: Ubuntu 3.13.0-77.121-generic 3.13.11-ckt32 Uname: Linux 3.13.0-77-generic x86_64 .tmp.unity.support.test.0: ApportVersion: 2.14.1-0ubuntu3.19 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: compiz CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0' CompositorUnredirectFSW: true CurrentDesktop: Unity Date: Mon Feb 15 20:35:30 2016 DistUpgraded: Fresh install DistroCodename: trusty DistroVariant: ubuntu DkmsStatus: virtualbox, 4.3.36, 3.13.0-76-generic, x86_64: installed virtualbox, 4.3.36, 3.13.0-77-generic, x86_64: installed EcryptfsInUse: Yes ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:10fd] InstallationDate: Installed on 2014-06-22 (603 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) MachineType: ASUSTeK COMPUTER INC. S400CA PlymouthDebug: Error: [Errno 13] Engedély megtagadva: '/var/log/plymouth-debug.log' ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-77-generic.efi.signed root=UUID=3e4b447b-c8f7-4f5f-90bb-7fb707fbb116 ro drm.debug=0xe plymouth:debug SourcePackage: xorg UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 02/05/2013 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: S400CA.208 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: S400CA dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTeK COMPUTER INC. dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrS400CA.208:bd02/05/2013:svnASUSTeKCOMPUTERINC.:pnS400CA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnS400CA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0: dmi.product.name: S400CA dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK COMPUTER INC. version.compiz: compiz 1:0.9.11.3+14.04.20150313-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.64-1~ubuntu14.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.6 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.6 version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2.7 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1.6 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2 xserver.bootTime: Mon Feb 15 20:34:28 2016 xserver.configfile: default xserver.errors: xserver.logfile: /var/log/Xorg.0.log xserver.outputs: product id 12348 vendor AUO xserver.version: 2:1.15.1-0ubuntu2.7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1545834/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp