Re: Mysterious ssh-agent session
On Sun, Apr 28, 2019 at 10:10:14PM +1200, Aidan Gauland wrote:
> On 25/04/19 6:37 PM, Reco wrote:
> > Hi.
> > On Thu, Apr 25, 2019 at 04:58:28PM +1200, Aidan Gauland wrote:
> >> I need to know how to either
> >> a) disable the instance started under "(sd-pam)", so I can use my
> >> systemd user service, or
> > Comment out use-ssh-agent in /etc/X11/Xsession.options .
> Ah ha! That's where it was. Thanks!
> >> b) configure the instance started under "(sd-pam)", and use that
> >> instead of my system user service.
> > Modify /etc/X11/Xsession.d/90x11-common_ssh-agent , SSHAGENTARGS in
> > particular.
> I will probably go with option a), but is there a way to option b) per-user?
Not without some hackery involving $USER, $HOME and friends.
Such customization are easier with per-user system services IMO.