On Fri, 2021-03-05 at 13:11 -0500, Greg Wooledge wrote: > Jim Popovitch (j...@k4vqc.com) wrote: > > Right now I can't get this to work: > > > > ~$ systemctl --user enable Test.service > > Failed to connect to bus: No such file or directory > > After Googling this error, I suspect that you're either operating in > an environment where the XDG variables are not being set properly, > or else dbus is actually not running. > > How did you get to THAT specific shell, the one where you typed that > command and got that error? Give details. > > In that same shell, what does env | grep XDG give you? > > How about systemctl --user status ? >
It's a VPS server, I ssh'ed in. No GUI, minimal install to test systemd user unit files. bob@sbc:~$ ps -ef|grep dbus message+ 520 1 0 13:08 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation -- syslog-only bob 2422 2413 0 18:14 pts/0 00:00:00 grep --color=auto dbus bob@sbc:~$ env|grep XDG bob@sbc:~$ systemctl --user status Failed to connect to bus: No such file or directory bob@sbc:~$ Thanks! Any advice/help is much appreciated. -Jim P.