[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: user unit file



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.


Reply to: