GNU bug report logs - #19119
X cannot run programs in the current user's profile

Previous Next

Package: guix;

Reported by: "Thompson, David" <dthompson2 <at> worcester.edu>

Date: Thu, 20 Nov 2014 14:18:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19119 in the body.
You can then email your comments to 19119 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#19119; Package guix. (Thu, 20 Nov 2014 14:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Thompson, David" <dthompson2 <at> worcester.edu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 20 Nov 2014 14:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Thompson, David" <dthompson2 <at> worcester.edu>
To: bug-guix <at> gnu.org
Subject: X cannot run programs in the current user's profile
Date: Thu, 20 Nov 2014 09:16:27 -0500
To reproduce, create an operating-system configuration that uses the
slim-service and do not add any additional packages to the base
system, such as xterm.

As an unpriveleged user, run 'guix packge -i xterm'.  Then, try to
launch xterm via Window Maker's main menu.  It will fail.

- Dave




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 20 Nov 2014 20:17:02 GMT) Full text and rfc822 format available.

Notification sent to "Thompson, David" <dthompson2 <at> worcester.edu>:
bug acknowledged by developer. (Thu, 20 Nov 2014 20:17:02 GMT) Full text and rfc822 format available.

Message #10 received at 19119-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: "Thompson\, David" <dthompson2 <at> worcester.edu>
Cc: 19119-done <at> debbugs.gnu.org
Subject: Re: bug#19119: X cannot run programs in the current user's profile
Date: Thu, 20 Nov 2014 21:15:59 +0100
I believe this is fixed by 1d18d87.

Let me know if there’s anything wrong.

Thanks!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#19119; Package guix. (Thu, 11 Dec 2014 20:37:01 GMT) Full text and rfc822 format available.

Message #13 received at 19119 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: iyzsong <at> gmail.com (宋文武)
Cc: 19119 <at> debbugs.gnu.org
Subject: Re: bug#19119: closed (Re: bug#19119: X cannot run programs in the
 current user's profile)
Date: Thu, 11 Dec 2014 21:36:52 +0100
Thinking more about it, the fix in 1d18d87 wasn’t quite right.

I think the right thing would be to run the window manager as a child of
a ‘bash --login’ process, so the whole X session would get environment
variables like a login shell.

WDYT, 宋文武?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#19119; Package guix. (Sat, 13 Dec 2014 14:08:01 GMT) Full text and rfc822 format available.

Message #16 received at 19119 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 19119 <at> debbugs.gnu.org
Subject: Re: 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
Ludovic Courtès <ludo <at> gnu.org> writes:

> Thinking more about it, the fix in 1d18d87 wasn’t quite right.
>
> I think the right thing would be to run the window manager as a child of
> a ‘bash --login’ process, so the whole X session would get environment
> variables like a login shell.
>
> WDYT, 宋文武?
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’.




Information forwarded to bug-guix <at> gnu.org:
bug#19119; Package guix. (Sat, 13 Dec 2014 15:26:01 GMT) Full text and rfc822 format available.

Message #19 received at 19119 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong <at> gmail.com>
Cc: 19119 <at> debbugs.gnu.org
Subject: Re: bug#19119: closed (Re: bug#19119: X cannot run programs in the
 current user's profile)
Date: Sat, 13 Dec 2014 16:24:50 +0100
宋文武 <iyzsong <at> gmail.com> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Thinking more about it, the fix in 1d18d87 wasn’t quite right.
>>
>> I think the right thing would be to run the window manager as a child of
>> a ‘bash --login’ process, so the whole X session would get environment
>> variables like a login shell.
>>
>> WDYT, 宋文武?
> Agree!

Commit b2bd7c2 does that.  Let me know if you think of adjustments to make!

Ludo’.

PS: I’ll reply to the other topic on guix-devel.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 11 Jan 2015 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.