Screen restarts and logs out when disconnecting HDMI cable
This bug report will be marked for expiration in 55 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Replication steps:
1. Start up Ubuntu desktop as usual with HDMI cable connected to external monitor in extended desktop mode.
2. Log in to Ubuntu desktop.
3. Launch a few applications (e.g. browser, terminal, etc).
4. Disconnect HDMI cable.
Expected behaviour:
Desktop session should still be available on laptop screen after disconnecting HDMI cable.
Current behaviour:
Laptop screen goes black and shows the login screen. Logging in again shows a fresh desktop session (no open application windows).
Other information:
This is a dual-OS machine, with home directory encryption enabled for Ubuntu.
Installed from Mantic originally, and upgraded to Noble via command line.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-desktop 1.539
ProcVersionSign
Uname: Linux 6.5.0-35-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 10 21:51:29 2024
EcryptfsInUse: Yes
InstallationDate: Installed on 2024-03-14 (88 days ago)
InstallationMedia: Ubuntu Legacy 23.10 "Mantic Minotaur" - Release amd64 (20231010)
SourcePackage: ubuntu-meta
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | ubuntu-meta (Ubuntu) → gnome-shell (Ubuntu) |
Looks like the X or Wayland crashes when HDMI cable is unplugged.
We may need below logs
1. dmesg with drm.debug=0x1e
2. sudo lspci -vvnn