systemd fallout

Today’s systemctl --user … learning fun:

  • The difference in resulting environments from ssh user-A@host followed by su - user-B vs. direct ssh user-B@host. You don’t necessarily end up with the same set of variables.
  • An X Desktop Group variable (XDG_RUNTIME_DIR) needs to be set even on systems that don’t have X installed in order for systemctl to find the user systemd agent.
Written on