GNOME Bugzilla – Bug 783497
gdm does not run /etc/gdm/*/Default scripts properly!
Last modified: 2018-05-24 11:36:39 UTC
Linux System Fedora 25 According to the manual GDM is supposed to run the four scripts /etc/gdm/Init/Default /etc/gdm/PostLogin/Default /etc/gdm/PreSession/Default /etc/gdm/PostSession/Default in that order at the appropriate times. Problems.... 1/ Init/default script is not being run at all! 2/ while in other scripts the DISPLAY and XAUTHORITY environment settings are set to empty strings! In other words... Useless! Testing... Added this script to each script, at bottom... ( echo "/etc/gdm/Init/Default on `date +'%F_%T'`" env echo "===================================================================" ) >>/var/tmp/gdm_env.txt 2>&1 exit 0 Set up log file (ensure writable by anyone) touch /var/tmp/gdm_env.txt chmod 666 /var/tmp/gdm_env.txt Example logged output... /etc/gdm/PostLogin/Default on 2017-06-07_09:20:15 SHELL=/bin/bash USER=anthony USERNAME=anthony PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin PWD=/ SHLVL=1 HOME=/home/anthony LOGNAME=anthony DISPLAY= RUNNING_UNDER_GDM=true XAUTHORITY= _=/usr/bin/env =================================================================== ASIDE: I am doing this because I can't see the GDM login as it appears on the LCD screen of my closes laptop, rather than the monitor. I can login, just can't see the login prompts. I want to switch the display from a 'stacked vertically' ot a 'cloned display' setup. Othe rsolutions on the web does
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/317.