Re: OT: logout scripting for .xsession? On Thu, 16 Aug 2007 16:10:55 +0000, Morten L wrote:
snip...
> In /etc/X11/xdm
>
> You make two files:
> Xstartup (a #!/bin/sh file) to initialize those things and Xreset (also
> a #!/bin/sh file) you use to reset/clean up stuff.
>
> Those two scriptfiles are run as root, but if you f.ex. use the variable
> $USER you get the name of the person who login to the system.
>
> You can also setup things in the Xsession file in the same directory,
> but what you do in this file is run as the user, which is logging in.
>
Thanks for the tip. This is the type of info I was looking for. First, I
will play with .xsession in $HOME and take it from there.
--
Peter |