LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-18-2015, 01:04 PM   #1
constantm
LQ Newbie
 
Registered: Dec 2015
Posts: 6

Rep: Reputation: Disabled
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.
 
Old 04-19-2018, 11:20 AM   #2
sambaum
LQ Newbie
 
Registered: Apr 2018
Posts: 2

Rep: Reputation: Disabled
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xrdp, auto-login and keyring unlock tonj Linux - Software 1 04-20-2018 02:19 AM
How to disable gnome-keyring? fannymites Linux - Software 20 09-30-2016 07:09 PM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
Gnome keyring from nowhere fridgitator Linux - Newbie 2 02-19-2008 11:45 PM
How to get rid of the gnome keyring ? thejasondean Linux - Software 4 05-19-2006 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration