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

Reply via email to