Hi,

System is Scientific Linux 6.1

$ uname -an
Linux bertha.mnmms.local 2.6.32-131.17.1.el6.x86_64 #1 SMP Wed Oct 5 17:19:54 
CDT 2011 x86_64 x86_64 x86_64 GNU/Linux

new install of xrdp from epel repository

$ rpm -qa |grep xrdp
xrdp-0.5.0-0.13.el6.x86_64

Rebooted box.

xrdp is running:

$ ps ax|grep rdp
 3221 ?        S      0:00 /usr/sbin/xrdp
 3225 ?        S      0:00 /usr/sbin/xrdp-sesman
 5124 pts/0    S+     0:00 grep rdp

Trying to log in from a dohs XP Pro box using mstsc.  login selection is 
sesman-Xvnc (It's the only option).  Attempting login using 
a username and password valid on the target linux box gives:

sesman connect ok
sending login info to session manager please wait
xrdp_mm_process_login_response_process: login failed.

logfile:

$ sudo cat /var/log/xrdp-sesman.log 
[20111103-08:55:12] [WARN ] [init:45] libscp initialized
[20111103-08:55:12] [CORE ] starting sesman with pid 3225
[20111103-08:55:12] [INFO ] listening...
[20111103-09:00:06] [INFO ] scp thread on sck 7 started successfully
[20111103-09:00:06] [INFO ] login denied for user smith
[20111103-10:01:29] [INFO ] scp thread on sck 7 started successfully
$

This is repeatable.

This thread:

http://comments.gmane.org/gmane.network.rdesktop.xrdp.devel/846

 does not seem relevant because

$ sudo ls -la /tmp/.X11-unix/
total 8
drwxrwxrwt.  2 root root 4096 Nov  3 08:55 .
drwxrwxrwt. 19 root root 4096 Nov  3 10:19 ..
srwxrwxrwx.  1 root root    0 Nov  3 08:55 X0
$

also, can this be right?  Are both sesman and xrdp-sesman pam entries required:

$ cat /etc/pam.d/xrdp-sesman 
#%PAM-1.0
auth       include      password-auth
account    include      password-auth
session    include      password-auth

$ cat /etc/pam.d/sesman 
#%PAM-1.0
auth       required    pam_unix.so shadow nullok
auth       required    pam_env.so readenv=1
account    required    pam_unix.so
$

Any thoughts on what's going on?  Or what to try next?  or how to actually fix 
it so it works?

Thanks!


                                          
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to