I have problems to connect to xrdp from Win7 with RemoteDesktopConnection and also from Linux with
I’m using xrdp: 0.9.0git.1401423964-2.1
with the versions of:
libvncclient0 0.9.10-10.4.1
libvncserver0 0.9.10-10.4.1
tightvnc 1.3.10-123.1
xorg-x11-Xvnc 1.4.1-6.35.1
firewall is opened also tried with disabled firewall.
on the remote screen I see:
in the Connection Log:
connection to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending loginfo to session manager, please wait...
xrdp_mm_process_login_response: login successful for diplay
11
VNC started connecting
VNC connecting to 127.0.0.1 5911
VNC error - problem connecting
output from xfreerdp
xfreerdp -u hoffmann -g 1920x1200 xxx.xx.xxx.155
connected to xxx.xx.xxx.155:3389
connected to xxx.xx.xxx.155:3389
connected to xxx.xx.xxx.155:3389
unknown capability type 6
incorrect offset, type:0x06 actual:4 expected:5
/var/log/xrdp-sesman.log contains only:
20150915-08:36:52] [CORE ] starting sesman with pid 6365
I don’t know why you are using that particular version,but have a suggestion for you. You might try compiling from sources or else try installing from ltsp repo.
I set up the loglevel to DEBUG and for my last attempt to connect I got:
/var/log/xrdp-sesman.log
[20150916-08:54:25] [INFO ] A connection received from: 127.0.0.1 port 36109
[20150916-08:54:25] [INFO ] scp thread on sck 7 started successfully
[20150916-08:54:25] [INFO ] ++ reconnected session: username hoffmann, display :10.0, session_pid 2062, ip xxx.xx.xxx.157:61416 - socket: 8
[20150916-08:54:25] [INFO ] An established connection closed to endpoint: 127.0.0.1:36109 - socket: 7
[20150916-08:55:05] [INFO ] shutting down sesman 1
[20150916-08:55:05] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 6
[20150916-08:55:05] [INFO ] shutting down sesman 1
[20150916-08:55:05] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 6
[20150916-08:55:05] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 6
[20150916-08:56:02] [WARN ] [init:46] libscp initialized
[20150916-08:56:02] [CORE ] starting sesman with pid 1801
[20150916-08:56:02] [INFO ] listening...
[20150916-08:57:15] [INFO ] A connection received from: 127.0.0.1 port 37107
[20150916-08:57:15] [INFO ] scp thread on sck 7 started successfully
[20150916-08:57:15] [INFO ] ++ created session (access granted): username hoffmann, ip xxx.xx.xxx.157:61425 - socket: 8
[20150916-08:57:16] [INFO ] starting Xvnc session...
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: 127.0.0.1:37107 - socket: 7
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 6
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: 127.0.0.1:37107 - socket: 7
[20150916-08:57:16] [INFO ] Xvnc start:Xvnc :10 -geometry 1920x1200 -depth 24 -rfbauth /home/hoffmann/.vnc/sesman_hoffmann_passwd -bs -ac -nolisten tcp -localhost -d
pi 96
[20150916-08:57:16] [INFO ] starting xrdp-sessvc - xpid=2015 - wmpid=2014
/var/log/xrdp.log
[20150916-08:57:09] [INFO ] A connection received from: xxx.xx.xxx.157 port 61424
[20150916-08:57:09] [INFO ] An established connection closed to endpoint: xxx.xx.xxx.157:61424 - socket: 8
[20150916-08:57:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20150916-08:57:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
[20150916-08:57:09] [INFO ] A connection received from: xxx.xx.xxx.157 port 61425
[20150916-08:57:09] [INFO ] An established connection closed to endpoint: xxx.xx.xxx.157:61425 - socket: 8
[20150916-08:57:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20150916-08:57:09] [DEBUG] MCS_CJRQ - channel join request received
[20150916-08:57:09] [DEBUG] MCS_CJRQ - channel join request received
[20150916-08:57:09] [DEBUG] MCS_CJRQ - channel join request received
[20150916-08:57:09] [DEBUG] MCS_CJRQ - channel join request received
[20150916-08:57:09] [DEBUG] xrdp_000007db_wm_login_mode_event_00000001
[20150916-08:57:09] [WARN ] local keymap file for 0x0407 found and dosen't match built in keymap, using local keymap file
[20150916-08:57:15] [DEBUG] returnvalue from xrdp_mm_connect 0
[20150916-08:57:16] [DEBUG] VNC error before sending share flag
[20150916-08:57:16] [DEBUG] VNC error before receiving server init
[20150916-08:57:16] [DEBUG] VNC error before receiving pixel format
[20150916-08:57:16] [DEBUG] VNC error before receiving name length
[20150916-08:57:16] [DEBUG] VNC error before receiving name
[20150916-08:57:16] [DEBUG] xrdp_mm_module_cleanup
[20150916-08:57:16] [DEBUG] VNC mod_exit
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 11
[20150916-08:57:16] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 10
Ok now I tried the old version.
I used this version because it seemed to be newer.
0.6.1 works.
So do not use 0.9
But if I change the orde of the WM in the startwm.sh fom
SESSIONS=“icewm-session mate-session startxfce4 gnome-session blackbox fluxbox startkde xterm”
to
SESSIONS=“startkde icewm-session mate-session startxfce4 gnome-session blackbox fluxbox xterm”
to get the kde started instead of icewm. I got the same behavior like bevore.
It is really frustrating.
I installed the version from LTSP Repo.
It seems to work, but only with icewm.
I installed and tried it with gnome, mate, lxde, xfce.
The best result was a black screen after “succesfull” connection with gnome. All other gets only the message: problem connecting.
What I’m missing here. Is there a special requirement for other desktops than icewm?