Public bug reported: Found a bug and a solution. Using two screens, a laptopt with a built in display and a secondary display. If the Dock is set to "Show on" extenal display X.org usually crashes to login screen (all gui applications gone) when external display is disconnected or laptop goes to sleep and connected to a new display.
The sollution that worked for me is to reset the dock placement back to Built-in display. "Seetings -> Ubuntu Desktop -> Dock -> Show on" and then choose "1. Built-in display". Other options seems to crash window manager. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: xorg 1:7.7+23ubuntu3 ProcVersionSignature: Ubuntu 6.8.0-56.58-generic 6.8.12 Uname: Linux 6.8.0-56-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.5 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Wed Apr 2 09:45:05 2025 DistUpgraded: 2024-05-27 12:17:17,573 DEBUG migrateToDeb822Sources() DistroCodename: noble DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) (prog-if 00 [VGA controller]) Subsystem: Lenovo Raptor Lake-P [Iris Xe Graphics] [17aa:230e] InstallationDate: Installed on 2023-12-07 (482 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) MachineType: LENOVO 21HGS3VX00 ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-56-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display Title: Xorg crash UpgradeStatus: Upgraded to noble on 2024-05-27 (310 days ago) dmi.bios.date: 10/22/2024 dmi.bios.release: 1.48 dmi.bios.vendor: LENOVO dmi.bios.version: N3QET48W (1.48 ) dmi.board.asset.tag: Not Available dmi.board.name: 21HGS3VX00 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.12 dmi.modalias: dmi:bvnLENOVO:bvrN3QET48W(1.48):bd10/22/2024:br1.48:efr1.12:svnLENOVO:pn21HGS3VX00:pvrThinkPadP14sGen4:rvnLENOVO:rn21HGS3VX00:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21HG_BU_Think_FM_ThinkPadP14sGen4: dmi.product.family: ThinkPad P14s Gen 4 dmi.product.name: 21HGS3VX00 dmi.product.sku: LENOVO_MT_21HG_BU_Think_FM_ThinkPad P14s Gen 4 dmi.product.version: ThinkPad P14s Gen 4 dmi.sys.vendor: LENOVO version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.122-1~ubuntu0.24.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 24.2.8-1ubuntu1~24.04.1 version.libgl1-mesa-glx: libgl1-mesa-glx N/A version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1 ** Affects: xorg (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug crash noble ubuntu wayland-session -- 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/2105979 Title: Xorg crash Status in xorg package in Ubuntu: New Bug description: Found a bug and a solution. Using two screens, a laptopt with a built in display and a secondary display. If the Dock is set to "Show on" extenal display X.org usually crashes to login screen (all gui applications gone) when external display is disconnected or laptop goes to sleep and connected to a new display. The sollution that worked for me is to reset the dock placement back to Built-in display. "Seetings -> Ubuntu Desktop -> Dock -> Show on" and then choose "1. Built-in display". Other options seems to crash window manager. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: xorg 1:7.7+23ubuntu3 ProcVersionSignature: Ubuntu 6.8.0-56.58-generic 6.8.12 Uname: Linux 6.8.0-56-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.5 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Wed Apr 2 09:45:05 2025 DistUpgraded: 2024-05-27 12:17:17,573 DEBUG migrateToDeb822Sources() DistroCodename: noble DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation Raptor Lake-P [Iris Xe Graphics] [8086:a7a0] (rev 04) (prog-if 00 [VGA controller]) Subsystem: Lenovo Raptor Lake-P [Iris Xe Graphics] [17aa:230e] InstallationDate: Installed on 2023-12-07 (482 days ago) InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1) MachineType: LENOVO 21HGS3VX00 ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.8.0-56-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display Title: Xorg crash UpgradeStatus: Upgraded to noble on 2024-05-27 (310 days ago) dmi.bios.date: 10/22/2024 dmi.bios.release: 1.48 dmi.bios.vendor: LENOVO dmi.bios.version: N3QET48W (1.48 ) dmi.board.asset.tag: Not Available dmi.board.name: 21HGS3VX00 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.12 dmi.modalias: dmi:bvnLENOVO:bvrN3QET48W(1.48):bd10/22/2024:br1.48:efr1.12:svnLENOVO:pn21HGS3VX00:pvrThinkPadP14sGen4:rvnLENOVO:rn21HGS3VX00:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21HG_BU_Think_FM_ThinkPadP14sGen4: dmi.product.family: ThinkPad P14s Gen 4 dmi.product.name: 21HGS3VX00 dmi.product.sku: LENOVO_MT_21HG_BU_Think_FM_ThinkPad P14s Gen 4 dmi.product.version: ThinkPad P14s Gen 4 dmi.sys.vendor: LENOVO version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.122-1~ubuntu0.24.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 24.2.8-1ubuntu1~24.04.1 version.libgl1-mesa-glx: libgl1-mesa-glx N/A version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2105979/+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