Bug 1447402 - GDM does not detect laptop lid (when docked) closed on boot now
Summary: GDM does not detect laptop lid (when docked) closed on boot now
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 25
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-02 15:56 UTC by Robert Abram
Modified: 2017-06-26 15:04 UTC (History)
7 users (show)

Fixed In Version: kernel-4.11.4-200.fc25
Clone Of:
Environment:
Last Closed: 2017-06-25 15:32:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert Abram 2017-05-02 15:56:35 UTC
Description of problem:

After most recent update of desktop packages, GDM no longer detects that the laptop lid is closed during a cold boot.  The docking station monitors turn on and show the GDM background, but the login is now displayed on the closed laptop screen.  

Lifting the lid and logging in to Gnome then closing the lid deactivates the laptop screen and the docking station monitors are active. 

Version-Release number of selected component (if applicable):
Current GDM package is: gdm-3.22.3-1.fc25.x86_64 

How reproducible:

Everytime


Steps to Reproduce:

1. Place turned off laptop on docking station and click power button
2. After boot, lift laptop lid and log in.
3. After login, close laptop lid


Expected results:

On boot laptop screen is deactivated and GDM login is displayed on docking station monitors


Additional info:

Laptop: Lenovo t450s w/docking station
Monitors: 2 Asus monitors connected to docking station via Display Port cables

Comment 1 Robert Abram 2017-05-02 16:01:47 UTC
Downgraded GDM to 3.22.1 and rebooted, no change to behavior.

Comment 2 Johnny Hughes 2017-05-13 13:53:45 UTC
I am also seeing this issue in RHEL-7 (and CentOS-7) on a W541 ThinkPad connected to the standard Lenovo Docking Station with 2 monitors connected.  (gdm 3.14.2-20.el7_3)

The docking station mouse and keyboard work.  Lifting the monitor screen and logging in works.

It seems GDM does not know the screen settings that GNOME 3 has saved.

This issue may or may not be a bug .. maybe there is a spot to set up GDM screens that needs to be configured separately?

Comment 3 Johnny Hughes 2017-05-13 14:07:06 UTC
For me (and gdm 3.14.2-20), copying ~/.config/monitors.xml (and changing ownership to gdm.gdm and relabeling selinux settings) to ~gdm/.config/monitors.xml allowed gdm to work properly on a cold boot. 

I am not sure this works on the newer gdm versions.  Info came from this page:

https://bbs.archlinux.org/viewtopic.php?id=161903

Comment 4 Alexander Lindqvist 2017-05-17 06:56:47 UTC
We got this problem as well when we upgraded from RHEL 7.2 to RHEL 7.3 (gdm 3.14.2-20.el7_3). Same problem under Fedora 25 and I think it was introduced in Fedora 24. HP Elitebook 745 G2.

Login is active on closed laptop screen instead of external DP connected screen. Hit enter and type the password and it correctly shows the desktop on external screen after that.

Comment 5 Youssef 2017-05-18 13:48:23 UTC
I have the same issue without a docking station (just an external monitor plugged into an HDMI port). I have set my external display as the primary and so the login screen appears on the external display now, but even after login, the laptop screen is still active (I can move my mouse to it). Lifting the lid and then closing it again at any time after boot-up deactivates the built-in display.

Comment 6 A. Lloyd Flanagan 2017-05-31 21:33:37 UTC
Same issue with Dell Latitude E6430, except that any attempt to connect a second external monitor causes the system to freeze and become unresponsive to any input. With one monitor attached, the login prompt appears on the built-in display even with laptop closed and docked.

Comment 7 Joachim Frieben 2017-06-25 15:32:07 UTC
This is a kernel issue and was solved in kernel-4.11.4-200.fc25; more information can be found in bug 1430259.

Comment 8 Robert Abram 2017-06-26 15:04:12 UTC
Fix confirmed. I have updated the kernel and now the GDM login displays on an external monitor when the laptop lid is closed on the docking station during bootup.


Note You need to log in before you can comment on or make changes to this bug.