Nice, just tried it and it's working.
It's also able to start programs I would not start before, so great
success!
I'm still not able to play any sound though. Anyone?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
Hello!
Ricardo Wurmus skribis:
> Ludovic Courtès writes:
[...]
>> Currently, without --user, we keep the current user’s name. So it would
>> actually be consistent to inherit its UID as well. And with ‘--user’,
>> we’d use the given user name and UID 1000. (Essentially what Pierre
>> propo
Ludovic Courtès writes:
> Ricardo Wurmus skribis:
>
>> Pierre Neidhardt writes:
>>
>>> Ricardo Wurmus writes:
>>>
I suppose /etc/pam.d/ also needs to be in the container.
>>>
>>> Tried it, same error.
>>>
> What about defaulting to 1000? It's rather common, so I guess that
> wo
Ricardo Wurmus skribis:
> Pierre Neidhardt writes:
>
>> Ricardo Wurmus writes:
>>
>>> I suppose /etc/pam.d/ also needs to be in the container.
>>
>> Tried it, same error.
>>
What about defaulting to 1000? It's rather common, so I guess that
would be anonymous enough and "just work".
Hello,
Ricardo Wurmus skribis:
> Would it make sense to map the current user’s UID into the container
> instead of using a fixed UID?
>From a reproducibility viewpoint, I’d find it nicer to use a fixed UID
(it can still be mapped to the user’s name anyway.)
We could make it configurable if nec
Pierre Neidhardt writes:
> Ricardo Wurmus writes:
>
>> I suppose /etc/pam.d/ also needs to be in the container.
>
> Tried it, same error.
>
>>> What about defaulting to 1000? It's rather common, so I guess that
>>> would be anonymous enough and "just work".
>>
>> Would it make sense to map th
Pierre Neidhardt writes:
> I've just "guix pull"ed and I get the following:
>
> --8<---cut here---start->8---
>> guix environment --container --ad-hoc coreutils shadow
> # id
> uid=0(ambrevar) gid=0(users) groups=0(users),65534(overflow)
> # groupadd audio
>
Ludovic Courtès writes:
> I’m thinking we should change ‘guix environment -C’ to map to a UID
> other than zero, at least by default. When developing code, some tools
> may behave differently when running under UID 0 and that’s rarely what
> we need I think. Thoughts?
I agree. Defaulting to
Hello!
Pierre Neidhardt skribis:
> I'm trying to run an graphical application with audio in a Guix
> environment.
>
> So far:
>
> guix environment --container \
> --share=/tmp/.X11-unix/ \
> --share=/dev/snd \
> --ad-hoc foo coreutils -- \
> env DISPLAY=$DISPLAY foo "$@"
>
>
> I get this