Hi,

Felix Geyer wrote (11 Aug 2015 21:34:38 GMT) :
> What kind of desktop session is Tails running?

GNOME. But our "immediately shutdown" button doesn't properly close
the desktop session (instead it stops the GDM service, mainly for
speed and simplicity's sake).

> KeePassX doesn't setup any signal handlers so sending SIGINT or SIGTERM
> will just kill it.

Is there any reason why, or is it a simple matter of programming +
someone finding time to add these signal handlers?

> However it does react to requests from the X session manager.
> It ask whether to save changes, remove the lock file etc.
> Tested on KDE and Gnome 3.

Good to know. So I see 3 options:

a) KeePassX upstream adds a handler for SIGTERM, so that every
   standard way of closing the application work as reliably as the
   already supported ones.
b) We modify Tails to close the GNOME session with standard X session
   manager mechanisms.
c) We modify Tails to send the relevant X session manager request to
   KeePassX upon shutdown.

I suspect that (a) would be pretty simple to implement for anyone
who's at ease with C++, and would benefit more users than (b) and (c).
Now, nobody is interested in implementing (a), then we'll have to go
the (b) or (c) way, and this bug could be tagged wontfix or downgraded
to wishlist.

Cheers,
--
intrigeri

Reply via email to