LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   XRDP and gnome keyring (https://www.linuxquestions.org/questions/linux-software-2/xrdp-and-gnome-keyring-4175561787/)

constantm 12-18-2015 01:04 PM

XRDP and gnome keyring
 
I have installed xrdp on Centos 7.2 and it is working. The only two issues are, when I log it, it automatically prompts me for the gnome keyring and if the screen was locked it doesn't unlock the screen.

How do I get the login for xrdp to unlock the gnome keyring like a regular console login would and also unlock a locked session?

There are multiple users and multiple servers so I was hoping this could be something that could be done within settings of xrdp instead of something that has to be done on an individual basis.

sambaum 04-19-2018 11:20 AM

Solution by changing /etc/pam.d/xrdp-sesman
 
This post is already a bit old, but since I still had the same problems with xrdp 0.9 and ubuntu 16.04, it is still unsolved. I did find a solution though, which I thought I'd share since someone else still might be interrested. I actually found the solution here: https://bugs.debian.org/cgi-bin/bugr...cgi?bug=818936
This solved my problem:
Replace the contents of /etc/pam.d/xrdp-sesman with https://github.com/davvid/lightdm/bl...an/lightdm.pam
As you can see, it contains required configurations for the gnome-keyring. If I understand correctly, gnome-keyring will never receive the password to unklock the key-ring without this config.

Many other solutions found via Google just instructed to disable gnome-keyring so applications like Chrome will store their passwods in plain text, which is not a secure solution, obviously.

If you got the key-ring prompot after you changed your system password, this is not your solution (use seahorse).


All times are GMT -5. The time now is 04:07 AM.