Replies: 5 comments 3 replies
-
At the moment there isn't I'm afraid. We'll need it later as we're planning on implementing a complete PAM dialogue within sesman but that won't go in until after the next major release of xrdp. |
Beta Was this translation helpful? Give feedback.
-
Hello, about this - any progress on implementing PAM dialogue with latest release v.0.10.0 - if its not ready how can I provide a short info text what could happen if login fails on the login screen like #547 Thank you. |
Beta Was this translation helpful? Give feedback.
-
Thank you. How does xrdp handle the connection within ldap? I tried to use Policy=Separate to allow multiple logins - and pam_ldap the basic idea was to generate dynamic homes like $HOME/session_1/$USER for each additional session. But it seem that xrdp does not request homeDirectory from LDAP on those additional sessions? Right? I am using an Ldap Proxy based on ldaptor proxy example to manipulate the Response:
on cli it works fine:
next step xrdp connect
But the second connect does not the the new $HOME. Would appreciate any Idea. Thank you. |
Beta Was this translation helpful? Give feedback.
-
@itxworks - try with xrdp v0.10.x if you aren't already. This uses PAM in a much cleaner way. For v0.9.x, the authentication is all done in one process, and there may be some caching going on. |
Beta Was this translation helpful? Give feedback.
-
I do on deb 12.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I use this part in /etc/pam.d/xrdp-sesman to pass the user password into the following script -> xrdp_pam.sh:
auth optional pam_exec.so expose_authtok log=/var/log/xrdp-pam_auth.log /usr/local/bin/xrdp_pam.sh
The xrdp_pam.sh triggers a python script -> /usr/local/bin/pam_login.py $PAM_USER $password
The final python script mounts shares and puts some user specific links on his desktop - basically it removes all icons and creates them on each login - this works fine at all, but if the user is already connected and a second connection is established it wipes all icons from the current connected user desktop.
To avoid this the python script now checks for an existing connection and stops before:
All fine and the User get's the Connection Log this one confuses him:
"connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
login failed for user XXXX"
Is there any way to pass a message into the connection log ???
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions