#2057 closed enhancement (fixed)
start command on last client exit
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | minor | Milestone: | 2.5 |
Component: | server | Version: | 2.4.x |
Keywords: | Cc: |
Description
Useful for #1991 and others.
Change History (6)
comment:1 Changed 2 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 2 years ago by
Note: as per #2128, this is a local command which cannot be used when starting a remote server.
comment:3 Changed 2 years ago by
Can I somehow enforce
$ cat /etc/xpra/conf.d/80_lock.conf # Lock Shadow server once "alone" start-on-last-client-exit=bash -c '. /run/user/1000/dbus-session; gnome-screensaver-command -l'
only on shadow commands? Now every client exiting locks my screen (which is not "that bad", but could be avoided maybe)
I know that you've said in a ticket that xpra
should be smart enough about DBUS sessions, DISPLAYs and all that, but, until I see it working, I'd prefer to play safe and load the dbus-session
comment:4 Changed 2 years ago by
only on shadow commands?
Please create a new ticket for this feature.
We could expose the session-type somewhere then you could script it.
comment:6 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2057
Note: See
TracTickets for help on using
tickets.
Done in r21068.