View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015942||CentOS-7||gdm||public||2019-03-22 16:53||2019-03-22 16:53|
|Target Version||Fixed in Version|
|Summary||0015942: gdm fails to restart X server when terminated by autologout|
|Description||(This bug is also described at https://unix.stackexchange.com/q/507592/)|
Recent updates to gdm have introduced a bug. If the main console X server (display :0) terminates while nobody is logged in, gdm does not restart the X server.
This is a serious problem because the GNOME automatic logout feature terminates the X server. So anybody who uses automatic logout, but does not stay logged in at the console, will eventually find their console X server is gone.
In other words, it renders the automatic logout feature unusable.
|Steps To Reproduce||1. Install updated gdm package (version 3.28.2-10 or later).|
2. Follow any instructions to enable GNOME automatic logout (e.g. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/desktop_migration_and_administration_guide/user-sessions#configuring-automatic-logout).
3. Log out from the console.
4. Wait for the automatic logout to trigger and terminate the X server.
5. Observe the console is now dead because gdm did not restart the X server.
More simply: Log out from the console, log in remotely via network, and kill the X server for display :0. You will find that gdm continues running but does not restart the X server.
|Additional Information||Based on the revision history, it is possible this problem already existed in the released gdm (3.28.2-9), but I have not verified this.|