How to run GDM in debug mode?
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Issue
- How to run gdm in debug mode to view verbose messages?
Resolution
-
Set
Enable=truein thedebugsection of the/etc/gdm/custom.confconfiguration file.[debug] Enable=true -
Restart the gdm service, using the below commands:
-
RHEL 6
# init 3 # init 5 -
RHEL 7 and later
# systemctl restart gdm.service
-
Diagnostic Steps
Check the GDM logs.
-
In RHEL 6, the logs are stored at
/var/log/gdm. -
In RHEL 7 and later, the GDM log messages are sent to the system journal. You can read them with
# journalctl --boot --unit gdm.service
SBR
Product(s)
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.