Re: Execute a script when the user logs out and the greeter is shown again
PenguinWhispererThe via gnome-list <[email protected]> Fri, 14 May 2021 19:21:47 +0200
| Newsgroups | gmane.comp.gnome.general |
|---|---|
| Message-ID | <CACtG2e36A2aJyyaVgiGn_bvGVoODnd6RqXR86Hdbvbrxisc15Q@mail.gmail.com> |
--===============6573312425070656017== Content-Type: multipart/alternative; boundary="0000000000002de34805c24d7b1c" --0000000000002de34805c24d7b1c Content-Type: text/plain; charset="UTF-8" Anyone? On Wed, 5 May 2021 at 13:22, PenguinWhispererThe < [email protected]> wrote: > Hi, > > I'm looking how I can make a script execute as soon as a user has logged > out and the greeter is shown again (centos8). > Right now I have create a desktop file in /usr/share/gdm/greeter/autostart > and this work properly to have synergyc started at the login screen. > However as soon as I logout I get back to the greeter and synergyc is not > started again. > Previously this was covered by /etc/gdm/{Init, ...}/Default scripts. > However these don't seem to be executed anymore although the docs still > mention them. (the scripts are executable and SElinux is in permissive > mode). > > What would be the proper way to have the same command executed again every > time the greeter is shown? > > Restarting gdm is a workaround for now. > > Thanks in advance. > --0000000000002de34805c24d7b1c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Anyone?<br></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Wed, 5 May 2021 at 13:22, PenguinWhisperer= The <<a href=3D"mailto:[email protected]">th3penguinwhispere= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I'm looki= ng how I can make a script execute as soon as a user has logged out and the= greeter is shown again (centos8).</div><div>Right now I have create a desk= top file in /usr/share/gdm/greeter/autostart and this work properly to have= synergyc started at the login screen. However as soon as I logout I get ba= ck to the greeter and synergyc is not started again.</div><div>Previously t= his was covered by /etc/gdm/{Init, ...}/Default scripts. However these don&= #39;t seem to be executed anymore although the docs still mention them. (th= e scripts are executable and SElinux is in permissive mode).</div><div><br>= </div><div>What would be the proper way to have the same command executed a= gain every time the greeter is shown?</div><div><br></div><div>Restarting g= dm is a workaround for now.</div><div><br></div><div>Thanks in advance.<br>= </div></div> </blockquote></div> --0000000000002de34805c24d7b1c-- --===============6573312425070656017== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-list --===============6573312425070656017==--