Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Wishlist: session-setup- and session-cleanup-script like lightdm #322
Comments
|
we load all scripts in /etc/X11/Xresources they run as the normal user, but you can always set the suid bit on the script to load them as root if you want. |
agaida
commented
Nov 30, 2014
|
hmm - i think i would like, if sddm would use /etc/X11/Xreset at logout, in that case a clean session cleanup would be possible - and i don't see the point in Xressources, as the handling is only at session start, if i read the code correctly - but i might be mistaken |
|
@agaida Are there any other use-cases besides user mounts? IMHO user mounts can be done more cleanly with tools built for this job like: |
agaida
commented
Nov 30, 2014
|
good point about pam and systemd mounts - some cleanup things on logout, mostly related to network mounts, eventually proper closing of network sessions, but i really don't have a current use case for it as i don't use that things that much. |
agaida
commented
Dec 5, 2014
|
hmm - systemd mounts are not what i (or any user or admin) want. pam mount dito - a nice session setup script as described and available in every mature DM will be prefered |
|
We have the nice session setup script with the xsession thing in my first comment. Maybe you could explain what it is you're trying to achieve? |
jleclanche
added
enhancement
wontfix
labels
Feb 20, 2015
|
Without a solid reason behind this, it won't get done. |
jleclanche
closed this
Feb 20, 2015
agaida
commented
Feb 21, 2015
|
This issue is not so important in the moment - maybe i look at sddm again in a year or two. Until then - good luck. Sorry, no offense - but i don't have the time to invest, there are bigger blockers for me, all of them mentioned in the bugtracker - keyboard-layout, switching languages, all other bugs regarding stability - so i would be glad to use and test sddm when it hits debian/sid and these blockers are gone. The login- and logout-scripts would be used only by a small minority of users - 99,5% will not even know or miss them, so all other bugs and whishes are more important. |
agaida commentedNov 29, 2014
session-setup-script = Script to run when starting a user session (runs as root)
session-cleanup-script = Script to run when quitting a user session (runs as root)
ok, one can use /etc/(x)profile or $HOME/.(x)profile - shellagnostic or the respective shell-files to do setup things - but there is nothing the other way around.
Thats bad for user-mounts, that should be cleaned up at logout or similar tasks.