Re: Bug report: prog run via keyboard shortcut gets a different SSH agent?

2020-09-22 Thread Greg Wooledge
On Tue, Sep 22, 2020 at 09:10:15AM +1000, Michael Slade wrote:
> I don't know what package to assign this to so I guess I can't use the usual
> bug reporting mechanism.
> 
> I have a debian bullseye mate desktop with a custom keyboard shortcut set up
> to run xterm.  I noticed that an ssh agent is automatically set up for it,
> but a different agent is set up for programs that are run other ways,
> including via the default C-A-t shortcut for the default terminal.

It sounds like MATE is starting to become more GNOME-3-like.  What a shame.

You'll want to talk to MATE or GNOME experts, but it sounds to me like
the terminal that gets spawned by C-A-t is a child of dbus, rather than
a child of the X or Wayland session.  And just like in GNOME 3, when that
happens, the terminal (and thus, the shell within it) does NOT inherit
your normal environment.

You could verify this yourself, perhaps, by printing a tree-view of your
processes, and seeing who the parent of the offending terminal is.  I bet
it'll be dbus.

With your xterm, on the other hand, I suspect that your keybaord shortcut
is launching it as a child of your window manager, or some other part of
your MATE session.  Therefore, it inherits the same environment that your
other desktop session programs have.



Bug report: prog run via keyboard shortcut gets a different SSH agent?

2020-09-21 Thread Michael Slade
I don't know what package to assign this to so I guess I can't use the 
usual bug reporting mechanism.


I have a debian bullseye mate desktop with a custom keyboard shortcut 
set up to run xterm.  I noticed that an ssh agent is automatically set 
up for it, but a different agent is set up for programs that are run 
other ways, including via the default C-A-t shortcut for the default 
terminal.


The same setup in buster doesn't have this issue.

How should I more officially submit this report?  What package should I 
submit under?