i am new to Alma Linux 8.4 and i want to user AlmaLinux as an xRDP Server.
For my Session Directory, i have a Python script, that is running at user login and logout.
My problem is:
The connection via xRDP loads the target user profile, so i was able to run my login_script.py at login by configuring the user home ~/.bash_profile.
At user logout from xRDP Server, i configured the ~/.bash_logout to run my logout_script.py but my script sadly does not run at logout from xRDP.
I also have a Citrix VDA Linux Client. This one runs my script at ~/.bash_logout.
I also tried a user Service for login and logout via systemd but without success.
can anyone help me?