I'm using Kubuntu 16.10.
What are my options to run a bash-script after login and after logout as root using SDDM?
I already tried switching to lightdm in order to create a /etc/lightdm/lightdm.conf file executing my script. However, this results in a boot loop.
Thank you for your help!