Re: [Xrdp-devel] cannot connect with xrdp server

2014-04-04 Thread Jay Sorg
What distro is this(for xrdp)?
If it's EL, I think there is a pam file to manually copy over.

Jay


On Fri, Apr 4, 2014 at 1:14 AM, Pawel Por porpa...@gmail.com wrote:
 Hi
 I cannot connect from Windows 7 RD to my xrdp.
 I get the following error message:
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager
xrdp_mm_process_login_response: login failed

 xrdp version: xrdp-git 1861.0a2b3a2-1
 I use sesman-X11rdp option to log in and the login and password are correct.

 Please help me !!!

 Below is the listing of my log and config files.

 # /etc/xrdp/xrdp.ini

 [globals]
 bitmap_cache=yes
 bitmap_compression=yes
 port=3389
 crypt_level=high
 allow_channels=true
 max_bpp=24
 fork=yes
 # regulate if the listening socket use socket option tcp_nodelay
 # no buffering will be performed in the TCP stack
 tcp_nodelay=yes
 # regulate if the listening socket use socket option keepalive
 # if the network connection disappear without close messages the connection
 will be closed
 tcp_keepalive=yes
 #black=00
 #grey=d6d3ce
 #dark_grey=808080
 #blue=08246b
 #dark_blue=08246b
 #white=ff
 #red=ff
 #green=00ff00
 #background=626c72
 #autorun=xrdp1
 #hidelogwindow=yes

 # when true, userid/password *must* be passed on cmd line
 # require_credentials=yes

 #bulk_compression=yes
 # You can set the PAM error text in a gateway setup (MAX 256 chars)
 #pamerrortxt=change your password according to policy at http://url
 #new_cursors=no

 [Logging]
 LogFile=xrdp.log
 LogLevel=DEBUG
 EnableSyslog=1
 SyslogLevel=DEBUG
 # LogLevel and SysLogLevel could by any of: core, error, warning, info or
 debug

 [channels]
 # Channel names not listed here will be blocked by XRDP.
 # You can block any channel by setting its value to false.
 # IMPORTANT! All channels are not supported in all use
 # cases even if you set all values to true.
 # You can override these settings on each session type
 # These settings are only used if allow_channels=true
 rdpdr=true
 rdpsnd=true
 drdynvc=true
 cliprdr=true
 rail=true
 xrdpvr=true

 # for debugging xrdp, in section xrdp1, change port=-1 to this:
 # port=/tmp/.xrdp/xrdp_display_10

 # for debugging xrdp, add following line to section xrdp1
 # chansrvport=/tmp/.xrdp/xrdp_chansrv_socket_7210

 [xrdp1]
 name=sesman-X11rdp
 lib=libxup.so
 username=ask
 password=ask
 ip=127.0.0.1
 port=-1
 xserverbpp=24
 code=10

 [xrdp2]
 name=sesman-Xvnc
 lib=libvnc.so
 username=ask
 password=ask
 ip=127.0.0.1
 port=-1

 [xrdp3]
 name=console
 lib=libvnc.so
 ip=127.0.0.1
 port=5900
 username=na
 password=ask

 [xrdp4]
 name=vnc-any
 lib=libvnc.so
 ip=ask
 port=ask5900
 username=na
 password=ask
 #pamusername=asksame
 #pampassword=asksame
 #pamsessionmng=127.0.0.1

 [xrdp5]
 name=sesman-any
 lib=libvnc.so
 ip=ask
 port=-1
 username=ask
 password=ask

 [xrdp6]
 name=rdp-any
 lib=librdp.so
 ip=ask
 port=ask3389

 [xrdp7]
 name=freerdp-any
 lib=libxrdpfreerdp1.so
 ip=ask
 port=ask3389
 username=ask
 password=ask
 # You can override the common channel settings for each session type
 #channel.rdpdr=true
 #channel.rdpsnd=true
 #channel.drdynvc=true
 #channel.cliprdr=true
 #channel.rail=true
 #channel.xrdpvr=true

  xrdp.log

 [20140404-09:29:03] [INFO ] A connection received from: 172.18.129.6 port
 55444
 [20140404-09:29:03] [INFO ] An established connection closed to endpoint:
 172.18.129.6:55444 - socket: 8
 [20140404-09:29:03] [INFO ] An established connection closed to endpoint:
 NULL:NULL - socket: 7
 [20140404-09:29:03] [INFO ] An established connection closed to endpoint:
 172.18.129.6:55444 - socket: 8
 [20140404-09:29:03] [INFO ] A connection received from: 172.18.129.6 port
 55445
 [20140404-09:29:04] [INFO ] An established connection closed to endpoint:
 172.18.129.6:55445 - socket: 8
 [20140404-09:29:04] [INFO ] An established connection closed to endpoint:
 NULL:NULL - socket: 7
 [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
 [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
 [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
 [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
 [20140404-09:29:04] [DEBUG] xrdp_0557_wm_login_mode_event_0001

  xrdp-sesman.log

 [20140404-09:55:00] [WARN ] [init:46] libscp initialized
 [20140404-09:55:00] [CORE ] starting sesman with pid 1989
 [20140404-09:55:00] [INFO ] listening...
 [20140404-09:55:30] [INFO ] A connection received from: 127.0.0.1 port 45862
 [20140404-09:55:30] [INFO ] scp thread on sck 8 started successfully
 [20140404-09:55:30] [INFO ] An established connection closed to endpoint:
 127.0.0.1:45862 - socket: 8


 --

 ___
 xrdp-devel mailing list
 xrdp-devel@lists.sourceforge.net
 

Re: [Xrdp-devel] cannot connect with xrdp server

2014-04-04 Thread Pawel Por
Thanks for reply.
I'm using Arch Linux.
Please write me which file should I copy where.
I will check this on my box.



On Fri, Apr 4, 2014 at 11:53 AM, Jay Sorg jay.s...@gmail.com wrote:

 What distro is this(for xrdp)?
 If it's EL, I think there is a pam file to manually copy over.

 Jay


 On Fri, Apr 4, 2014 at 1:14 AM, Pawel Por porpa...@gmail.com wrote:
  Hi
  I cannot connect from Windows 7 RD to my xrdp.
  I get the following error message:
 connecting to sesman ip 127.0.0.1 port 3350
 sesman connect ok
 sending login info to session manager
 xrdp_mm_process_login_response: login failed
 
  xrdp version: xrdp-git 1861.0a2b3a2-1
  I use sesman-X11rdp option to log in and the login and password are
 correct.
 
  Please help me !!!
 
  Below is the listing of my log and config files.
 
  # /etc/xrdp/xrdp.ini
 
  [globals]
  bitmap_cache=yes
  bitmap_compression=yes
  port=3389
  crypt_level=high
  allow_channels=true
  max_bpp=24
  fork=yes
  # regulate if the listening socket use socket option tcp_nodelay
  # no buffering will be performed in the TCP stack
  tcp_nodelay=yes
  # regulate if the listening socket use socket option keepalive
  # if the network connection disappear without close messages the
 connection
  will be closed
  tcp_keepalive=yes
  #black=00
  #grey=d6d3ce
  #dark_grey=808080
  #blue=08246b
  #dark_blue=08246b
  #white=ff
  #red=ff
  #green=00ff00
  #background=626c72
  #autorun=xrdp1
  #hidelogwindow=yes
 
  # when true, userid/password *must* be passed on cmd line
  # require_credentials=yes
 
  #bulk_compression=yes
  # You can set the PAM error text in a gateway setup (MAX 256 chars)
  #pamerrortxt=change your password according to policy at http://url
  #new_cursors=no
 
  [Logging]
  LogFile=xrdp.log
  LogLevel=DEBUG
  EnableSyslog=1
  SyslogLevel=DEBUG
  # LogLevel and SysLogLevel could by any of: core, error, warning, info or
  debug
 
  [channels]
  # Channel names not listed here will be blocked by XRDP.
  # You can block any channel by setting its value to false.
  # IMPORTANT! All channels are not supported in all use
  # cases even if you set all values to true.
  # You can override these settings on each session type
  # These settings are only used if allow_channels=true
  rdpdr=true
  rdpsnd=true
  drdynvc=true
  cliprdr=true
  rail=true
  xrdpvr=true
 
  # for debugging xrdp, in section xrdp1, change port=-1 to this:
  # port=/tmp/.xrdp/xrdp_display_10
 
  # for debugging xrdp, add following line to section xrdp1
  # chansrvport=/tmp/.xrdp/xrdp_chansrv_socket_7210
 
  [xrdp1]
  name=sesman-X11rdp
  lib=libxup.so
  username=ask
  password=ask
  ip=127.0.0.1
  port=-1
  xserverbpp=24
  code=10
 
  [xrdp2]
  name=sesman-Xvnc
  lib=libvnc.so
  username=ask
  password=ask
  ip=127.0.0.1
  port=-1
 
  [xrdp3]
  name=console
  lib=libvnc.so
  ip=127.0.0.1
  port=5900
  username=na
  password=ask
 
  [xrdp4]
  name=vnc-any
  lib=libvnc.so
  ip=ask
  port=ask5900
  username=na
  password=ask
  #pamusername=asksame
  #pampassword=asksame
  #pamsessionmng=127.0.0.1
 
  [xrdp5]
  name=sesman-any
  lib=libvnc.so
  ip=ask
  port=-1
  username=ask
  password=ask
 
  [xrdp6]
  name=rdp-any
  lib=librdp.so
  ip=ask
  port=ask3389
 
  [xrdp7]
  name=freerdp-any
  lib=libxrdpfreerdp1.so
  ip=ask
  port=ask3389
  username=ask
  password=ask
  # You can override the common channel settings for each session type
  #channel.rdpdr=true
  #channel.rdpsnd=true
  #channel.drdynvc=true
  #channel.cliprdr=true
  #channel.rail=true
  #channel.xrdpvr=true
 
   xrdp.log
 
  [20140404-09:29:03] [INFO ] A connection received from: 172.18.129.6 port
  55444
  [20140404-09:29:03] [INFO ] An established connection closed to endpoint:
  172.18.129.6:55444 - socket: 8
  [20140404-09:29:03] [INFO ] An established connection closed to
 endpoint:
  NULL:NULL - socket: 7
  [20140404-09:29:03] [INFO ] An established connection closed to
 endpoint:
  172.18.129.6:55444 - socket: 8
  [20140404-09:29:03] [INFO ] A connection received from: 172.18.129.6
 port
  55445
  [20140404-09:29:04] [INFO ] An established connection closed to
 endpoint:
  172.18.129.6:55445 - socket: 8
  [20140404-09:29:04] [INFO ] An established connection closed to
 endpoint:
  NULL:NULL - socket: 7
  [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
  [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
  [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
  [20140404-09:29:04] [DEBUG] MCS_CJRQ - channel join request received
  [20140404-09:29:04] [DEBUG] xrdp_0557_wm_login_mode_event_0001
 
   xrdp-sesman.log
 
  [20140404-09:55:00] [WARN ] [init:46] libscp initialized
  [20140404-09:55:00] [CORE ] starting sesman with pid 1989
  [20140404-09:55:00] [INFO ] listening...
  [20140404-09:55:30] [INFO ] A connection received from: 127.0.0.1 port
 45862
  [20140404-09:55:30] [INFO ] scp