Hi Ian,

My file "/etc/hosts" correspond to what you have written.

The `guix shell' command you have written didn't work on my VM.

I these messages at the end:

  Guix-test has address 192.168.122.228
  ;; communication error to 192.168.122.1#53: timed out
  ;; communication error to 192.168.122.1#53: timed out
  ;; no servers could be reached

Then, I get my prompt back and the environment variable
"GUIX_ENVIRONMENT" is not defined. So, I guess I am not inside the shell
and it failed to be created.




Ian Eure <[email protected]> writes:

> Hi Sébastien,
>
> Sébastien Gendre <[email protected]> writes:
>
>> Hello,
>>
>> I am trying Guix System on a virtual machine and I have a problem:
>> Most
>> of the time, I cannot switch to root user or run command with sudo.
>> Also, Emacs cannot access file through TRAMP with sudo method.
>>
>> When I try, I got asked for password and after I enter it, nothing
>> happen. The sudo or su command, or Emacs, seems to freeze.
>
> I’ve seen similar issues when the host is unable to resolve its
> hostname.  Your /etc/hosts should look similar to:
>
>    127.0.0.1  localhost       the-vm-hostname
>    ::1        localhost       the-vm-hostname
>
> Does `guix shell bind:utils -- host $(hostname)' work?
>
>  — Ian

Attachment: signature.asc
Description: PGP signature

Reply via email to