running scripts while login and logout
lvgandhi at gmail.com
Tue Jan 24 14:56:45 UTC 2006
Am I correct that anything in /etc/gdm/PostSession/Default will be run as root.
I wanted a script to be run as user while (s)he logs out.
On 1/23/06, Olafur Arason <olafra at gmail.com> wrote:
> Do gedit /etc/gdm/PostSession/Default
> the add something like:
> echo "1234" > /tmp/prufa
> you can then replace echo with any command you like.
> This works for login out, for login in you can use the session-manual file or
> the /etc/gdm/PostLogin/Default
> Olafur Arason
> 2006/1/24, L.V.Gandhi <lvgandhi at gmail.com>:
> > On 1/23/06, Olafur Arason <olafra at gmail.com> wrote:
> > > Basically it goes into ~/.gnome2/session-manual and is read
> > > through gnome-session which is what gdm runs to start gnome.
> > Thank You very much. Is there any thing like this to run a script by
> > an user while logging out?
> > --
> > L.V.Gandhi
> > http://lvgandhi.tripod.com/
> > linux user No.205042
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
linux user No.205042
More information about the ubuntu-users