From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en1Av-0002B0-Vf for guix-patches@gnu.org; Sat, 17 Feb 2018 07:01:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en1As-0004BQ-OW for guix-patches@gnu.org; Sat, 17 Feb 2018 07:01:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:39651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en1As-0004BI-Kp for guix-patches@gnu.org; Sat, 17 Feb 2018 07:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1en1As-0000AY-9N for guix-patches@gnu.org; Sat, 17 Feb 2018 07:01:02 -0500 Subject: [bug#30497] [PATCH] services: slim: Make the logged-in session show up in "w". Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en1AO-00020v-KI for guix-patches@gnu.org; Sat, 17 Feb 2018 07:00:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en1AL-0003zd-JN for guix-patches@gnu.org; Sat, 17 Feb 2018 07:00:32 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:55094) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1en1AL-0003y9-Cx for guix-patches@gnu.org; Sat, 17 Feb 2018 07:00:29 -0500 From: Danny Milosavljevic Date: Sat, 17 Feb 2018 13:00:22 +0100 Message-Id: <20180217120022.696-1-dannym@scratchpost.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30497@debbugs.gnu.org * gnu/services/xorg.scm (slim-shepherd-service): Make the logged-in session show up in "w". --- gnu/services/xorg.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index 50af2408b..b73dbe0d7 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -467,6 +467,8 @@ authfile /var/run/slim.auth login_cmd exec " xinitrc " %session sessiondir /run/current-system/profile/share/xsessions session_msg session (F1 to change): +sessionstart_cmd " sessreg "/bin/sessreg -a -l $DISPLAY %user +sessionstop_cmd " sessreg "/bin/sessreg -d -l $DISPLAY %user halt_cmd " shepherd "/sbin/halt reboot_cmd " shepherd "/sbin/reboot\n"