Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232415

Re: user unit file

From Jim Popovitch <jim@k4vqc.com>
Newsgroups linux.debian.user
Subject Re: user unit file
Date 2021-03-05 19:20 +0100
Message-ID <BPndn-71q-5@gated-at.bofh.it> (permalink)
References <BPmhj-6rt-3@gated-at.bofh.it> <BPmAF-6xU-5@gated-at.bofh.it> <BPmU2-6ET-15@gated-at.bofh.it> <BPndn-71q-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2021-03-05 at 13:11 -0500, Greg Wooledge wrote:
> Jim Popovitch (jim@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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-05 18:20 +0100
  Re: user unit file Sven Hartge <sven@svenhartge.de> - 2021-03-05 18:40 +0100
    Re: user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-05 19:00 +0100
      Re: user unit file Greg Wooledge <greg@wooledge.org> - 2021-03-05 19:20 +0100
        Re: user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-05 19:20 +0100
          Re: user unit file Greg Wooledge <greg@wooledge.org> - 2021-03-05 19:40 +0100
            Re: user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-05 20:20 +0100
              Re: user unit file Greg Wooledge <greg@wooledge.org> - 2021-03-05 20:30 +0100
                Re: user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-05 20:40 +0100
              Re: user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-05 20:30 +0100
              Re: user unit file Greg Wooledge <greg@wooledge.org> - 2021-03-05 20:30 +0100
              Re: user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-05 20:40 +0100
      Re: user unit file Andrei POPESCU <andreimpopescu@gmail.com> - 2021-03-05 21:50 +0100
        Re: user unit file Jim Popovitch <jim@k4vqc.com> - 2021-03-06 00:50 +0100

csiph-web