PostSession scripts to not execute on shutdown/reboot

Solution Verified - Updated -


  • The /etc/gdm/PostSession/Default script executes on logout, but not reboot or shutdown
  • Is it normal that the gdm postsession doesn't run if user just reboots while logged in?


  • Red Hat Enterprise Linux 7.4
  • gdm-3.22.3-12.el7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In