You are not logged in.

#1 2014-02-27 17:16:24

jaro
Member
Registered: 2013-10-10
Posts: 25

cannot connect with xrdp server

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 1519.6350945-1
/etc/xrdp/xrdp.ini looks as follows.
Please help me !!!


[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=000000
#grey=d6d3ce
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#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

Offline

#2 2014-02-27 17:23:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: cannot connect with xrdp server

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2014-11-26 16:45:21

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: cannot connect with xrdp server

karol wrote:

When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.


well wasn't that a useful response.


[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1
max_bpp=24
#black=000000
#grey=d6d3ce
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72

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

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

[xrdp3]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask

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

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

[xrdp6]
name=freerdp-any
lib=libxrdpfreerdp1.so
ip=ask
port=ask3389
username=ask
password=ask

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

thanks.

Offline

#4 2014-11-26 20:42:34

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: cannot connect with xrdp server

infiniphunk wrote:

well wasn't that a useful response.

Are you the OP, or are we missing something?

FWIW: Using code tags makes the post more readable (and that is of benefit to those that seek to help you). Your response above it anti-helpful to anyone.

Now, if you want help on this, please post:

1) what you've already tried
2) appropriate logs (if any)
3) did this work before and just start after an upgrade? did it start after a network change? etc.?

Help someone help you.


Matt

"It is very difficult to educate the educated."

Offline

#5 2014-11-27 13:25:41

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: cannot connect with xrdp server

I recently did an upgrade and I have a feeling it changed something somewhere with xrdp, just not sure what.
This was working fine until a few days ago, but now, why I try to connect I get the same thing as OP

connecting to sesman ip 127.0.0.1 port 3350
sesman connected ok
sending login info to session manager, please wait...
xrdp_mm_process_login_response:login successful for display 
started connecting
connecting to 127.0.0.1 5910
error - problem connecting

then it prompts for password for user, and then:

connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
xrdp_mm_process_login_response:login failed

should I just uninstall it with pacman -R , delete config files and then re-install?

thanks

Offline

#6 2014-11-27 16:29:19

HellBilly
Member
Registered: 2013-11-26
Posts: 3

Re: cannot connect with xrdp server

I am actually experiencing the same exact thing. Update from a couple days ago seems to have changed something. Uninstalling and re-installing does not fix it, so save yourself the time. I do know that TigerVNC updated a couple days ago, and since that is a dependency for XRDP I am suspecting that has something to do with it. I have not yet rolled back TigerVNC but I will try and get to it today and let you know results.

Offline

#7 2014-12-07 19:22:59

markus40
Member
Registered: 2013-06-16
Posts: 13

Re: cannot connect with xrdp server

I also couldn't login anymore with xrdp into my Media server and did some experimenting.
I discovered the '-local' argument of Xvnc caused the refusal to login.
Removing that argument int /etc/xrdp/sesman.ini made it work again.

Last edited by markus40 (2014-12-07 19:23:49)

Offline

#8 2014-12-08 20:28:26

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: cannot connect with xrdp server

Thank you Marcus I will try this and let you know if it works for me too.

Offline

#9 2014-12-12 15:13:21

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: cannot connect with xrdp server

I looked at this again and I don't see a '-local' argument in /etc/xrdp/sesman.ini.
Am I missing something?

Offline

#10 2014-12-17 13:32:17

infiniphunk
Member
Registered: 2012-08-06
Posts: 30

Re: cannot connect with xrdp server

welp, looks like a recent update fixed it.

-RESOLVED-

Offline

Board footer

Powered by FluxBB