Re: session-manager fails to recognize inhibitor



On Sun, Oct 5, 2014 at 9:50 PM, Jan Niggemann <jn hz6 de> wrote:
My problem is that the inhibition and the "reason" are not shown during log
out on GNOME 3.4 (Debian stable 32bit). Why is that?

Most likely because your console application does not have access to
the same session bus used by gnome-session. If you are using systemd,
you could run your backup program with systemd-inhibit, otherwise I
can't think of anything better off-hand than to split the task into
two components (the actual script, and a service running in the user
session which inhibits shutdown when the former is running) ...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]