On 08/03/2025 04:00, 宋文武 wrote:
> Richmond via writes:
>
>> [...]
>> I have found that using:
>>
>> su - guix
>>
>> executes /etc/profile which executes /etc/profile.d/guix.sh
>>
>> But logging in through a display manager does not execute this, or if it
>> does, the PATH does not get set to inclu
Richmond via writes:
> [...]
> I have found that using:
>
> su - guix
>
> executes /etc/profile which executes /etc/profile.d/guix.sh
>
> But logging in through a display manager does not execute this, or if it
> does, the PATH does not get set to include .guix-profile/bin etc.
Yes, /etc/profile
On 07/03/2025 18:13, Richmond via wrote:
> On 07/03/2025 18:12, Richmond via wrote:
>> I created a user: guix. If I log in through lightdm and run a terminal,
>> PATH is not set to include .guix-profile etc. But if I then type:
>>
>> su - guix
>>
>> Then the PATH is set.
>>
>> Why is this? su must
On 07/03/2025 18:12, Richmond via wrote:
> I created a user: guix. If I log in through lightdm and run a terminal,
> PATH is not set to include .guix-profile etc. But if I then type:
>
> su - guix
>
> Then the PATH is set.
>
> Why is this? su must be running something that lightdm is not, but I
> d