On a bare bones server system I am trying to add a user and use the guix home environment (https://guix.gnu.org/manual/1.5.0/en/html_node/Home-Configuration.html).

Running...

   guix home import ~/src/guix-config
   guix home reconfigure ~/src/guix-config/home-configuration.scm

Produces the error:

   shepherd: error: cannot access directory of socket
   '/run/user/981/shepherd/socket': No such file or directory

Logging out and back in with:

   su - USERNAME

Produces the warning:

   warning: XDG_RUNTIME_DIR doesn't exists, on-first-login script
   won't execute anything.  You can check if xdg runtime directory exists,
   XDG_RUNTIME_DIR variable is set to appropriate value and manually
   execute the
   script by running '$HOME/.guix-home/on-first-login'

If my reading is correct /run/user/981 (XDG_RUNTIME_DIR) is created (and maintained?) by elogind which is dependent on dbus.  Can I just manually create them (or specify them in my system's config.scm) or does the guix home environment have other dependencies on elogind and dbus that means that if I want to use it I should just install them also?

Cheers,
 W

Reply via email to