From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Fix XFCE shutdown/reboot via menu.
Date: Sat, 28 Nov 2015 15:14:27 +0100 [thread overview]
Message-ID: <87lh9ius70.fsf@gnu.org> (raw)
In-Reply-To: <87bnaiht04.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 25 Nov 2015 18:46:19 +0100")
Ricardo Wurmus <rekado@elephly.net> skribis:
> From dd10a2c30a6ef57b6d0bd9cecb263b731d6e1483 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Sat, 21 Nov 2015 17:47:00 +0100
> Subject: [PATCH 1/2] gnu: xfce-session: Enable shutdown/reboot menu entries.
>
> * gnu/packages/xfce.scm (xfce-session)[inputs]: Add upower and polkit.
> [source]: Replace paths to "shutdown" with "halt" and "restart".
LGTM.
> From e3050bed45d11d9dfc500c4f0d1b6132013f6b76 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Sat, 21 Nov 2015 22:40:22 +0100
> Subject: [PATCH 2/2] services: Add pkexec to setuid programs.
>
> * gnu/services/desktop.scm (polkit-setuid-programs): Add pkexec to
> list of setuid programs.
LGTM.
> While these patches enable the “Suspend”, “Shut Down”, and “Restart”
> fields of the account actions widget, they don’t actually cause the
> computer to suspend, shut down, or reboot. The X session is terminated,
> but we end up at the SLIM login screen again.
This is weird. Could you maybe attach ‘strace -f’ to xfce-session,
press “Shut Down”, and check in the strace log what happened when
executing ‘halt’ or ‘pkexec’ or whatever? Or maybe polkit leaves a hint
on syslog?
Thanks!
Ludo’.
prev parent reply other threads:[~2015-11-28 14:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-21 16:55 [PATCH] Fix XFCE shutdown/reboot via menu Ricardo Wurmus
2015-11-21 20:37 ` Ludovic Courtès
2015-11-21 21:06 ` Ricardo Wurmus
2015-11-24 20:40 ` Ludovic Courtès
2015-11-25 17:46 ` Ricardo Wurmus
2015-11-28 14:14 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lh9ius70.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.