From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile) Date: Sat, 13 Dec 2014 22:07:30 +0800 Message-ID: <87388jve1p.fsf@gmail.com> References: <87h9xtwruo.fsf@gnu.org> <87iohh53ff.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XznMe-00030Z-FE for bug-guix@gnu.org; Sat, 13 Dec 2014 09:08:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XznMY-0008Om-D6 for bug-guix@gnu.org; Sat, 13 Dec 2014 09:08:08 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:35079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XznMY-0008O6-9O for bug-guix@gnu.org; Sat, 13 Dec 2014 09:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XznMX-0007Vr-To for bug-guix@gnu.org; Sat, 13 Dec 2014 09:08:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87iohh53ff.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 19119@debbugs.gnu.org Ludovic Court=C3=A8s writes: > Thinking more about it, the fix in 1d18d87 wasn=E2=80=99t quite right. > > I think the right thing would be to run the window manager as a child of > a =E2=80=98bash --login=E2=80=99 process, so the whole X session would ge= t environment > variables like a login shell. > > WDYT, =E5=AE=8B=E6=96=87=E6=AD=A6? Agree! And currently ratposion and windowmaker are hardcoded, how about make sessions configurable? Like: (define %default-sessions `(("windowmaker" . #~(execl #$windowmaker "/bin/wmaker")) ("ratposion" . #~(execl #$ratposion "/bin/ratposion")))) (define* (slim-service #:key (sessions %default-sessions) ... > > Thanks, > Ludo=E2=80=99.