So, now that this is working, are there any other variables that we need to add to the list? Here are some candidates from looking at my environment:
$ env | grep SSH"
# env | grep KONSOLE # When running inside konsole
$ env | grep GNOME_KEYRING
GDMSESSION, XDG_CURRENT_DESKTOP, XDG_SEAT_PATH, XDG_SESSION_COOKIE, WINDOWID?
I have no idea which, if any, of these should actually be updated upon attaching, but probably some of them should.
So, now that this is working, are there any other variables that we need to add to the list? Here are some candidates from looking at my environment:
$ env | grep SSH"
# env | grep KONSOLE # When running inside konsole
$ env | grep GNOME_KEYRING
GDMSESSION, XDG_CURRENT_ DESKTOP, XDG_SEAT_PATH, XDG_SESSION_COOKIE, WINDOWID?
I have no idea which, if any, of these should actually be updated upon attaching, but probably some of them should.