All scripts except Xsession, which runs as the logged in user and essentially wraps the session, require root privileges.
At least in openSUSE these scripting facilities are used this way because it allows unified behavior on login and logout across all included login managers (XDM, KDM, GDM, LXDM).
All scripts except Xsession, which runs as the logged in user and essentially wraps the session, require root privileges.
At least in openSUSE these scripting facilities are used this way because it allows unified behavior on login and logout across all included login managers (XDM, KDM, GDM, LXDM).