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


Groups > linux.debian.user > #232417

Re: user unit file

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

Show all headers | View raw


On Fri, 2021-03-05 at 13:35 -0500, Greg Wooledge wrote:
> Jim Popovitch (jim@k4vqc.com) wrote:
> > It's a VPS server, I ssh'ed in.  No GUI, minimal install to test systemd
> > user unit files.
> 
> Apparently you need to configure sshd to use PAM.
> 
> > 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:~$
> 
> https://bbs.archlinux.org/viewtopic.php?id=234813
> 
> It was my first Google result.

Ugh. So the solution seems to be to add UsePAM to sshd just to make
systemd work.  Not sure that I can get that approved, but I will see.

Thx Greg.

-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