unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19119: X cannot run programs in the current user's profile
@ 2014-11-20 14:16 Thompson, David
  2014-11-20 20:15 ` Ludovic Courtès
       [not found] ` <handler.19119.D19119.141651456331142.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Thompson, David @ 2014-11-20 14:16 UTC (permalink / raw)
  To: 19119

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19119: X cannot run programs in the current user's profile
  2014-11-20 14:16 bug#19119: X cannot run programs in the current user's profile Thompson, David
@ 2014-11-20 20:15 ` Ludovic Courtès
       [not found] ` <handler.19119.D19119.141651456331142.notifdone@debbugs.gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2014-11-20 20:15 UTC (permalink / raw)
  To: Thompson, David; +Cc: 19119-done

I believe this is fixed by 1d18d87.

Let me know if there’s anything wrong.

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile)
       [not found] ` <handler.19119.D19119.141651456331142.notifdone@debbugs.gnu.org>
@ 2014-12-11 20:36   ` Ludovic Courtès
  2014-12-13 14:07     ` 宋文武
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2014-12-11 20:36 UTC (permalink / raw)
  To: 宋文武; +Cc: 19119

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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile)
  2014-12-11 20:36   ` bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile) Ludovic Courtès
@ 2014-12-13 14:07     ` 宋文武
  2014-12-13 15:24       ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: 宋文武 @ 2014-12-13 14:07 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 19119

Ludovic Courtès <ludo@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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile)
  2014-12-13 14:07     ` 宋文武
@ 2014-12-13 15:24       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2014-12-13 15:24 UTC (permalink / raw)
  To: 宋文武; +Cc: 19119

宋文武 <iyzsong@gmail.com> skribis:

> Ludovic Courtès <ludo@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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-13 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 14:16 bug#19119: X cannot run programs in the current user's profile Thompson, David
2014-11-20 20:15 ` Ludovic Courtès
     [not found] ` <handler.19119.D19119.141651456331142.notifdone@debbugs.gnu.org>
2014-12-11 20:36   ` bug#19119: closed (Re: bug#19119: X cannot run programs in the current user's profile) Ludovic Courtès
2014-12-13 14:07     ` 宋文武
2014-12-13 15:24       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).