My debian system is set up to unlock the gnome keyring when I log into gnome. When I remote into the machine using x2go I have to use xfce since gnome hasn't worked with x2go for a long time. I have tried many things in xfce to try to have the gnome keyring unlocked at login. It seems like the problem is that x2go does not log in the same way as would be logged in if logging directly. X2go does not appear to trigger any of the pam settings to unlock the gnome keyring. Is there any way to have x2go automatically unlock the keyring when making a connection? I would assume that if the keyring was unlocked when creating the connection that it would remain unlocked on a pause and reconnect.
Brent
On 25.08.22 21:33, Brent S. Elmer Ph.D. wrote:
My debian system is set up to unlock the gnome keyring when I log into gnome. When I remote into the machine using x2go I have to use xfce since gnome hasn't worked with x2go for a long time. I have tried many things in xfce to try to have the gnome keyring unlocked at login. It seems like the problem is that x2go does not log in the same way as would be logged in if logging directly. X2go does not appear to trigger any of the pam settings to unlock the gnome keyring. Is there any way to have x2go automatically unlock the keyring when making a connection? I would assume that if the keyring was unlocked when creating the connection that it would remain unlocked on a pause and reconnect.
I'm not using gnome-keyring, so I just guessing:
AFAIK x2go is using the sshd pam setting. So I would try to add
session optional pam_gnome_keyring.so auto_start
at the end of /etc/pam.d/sshd
Best regards Ulf