scarygliders / X11RDP-o-Matic

Currently for Debian-based distributions only, X11rdp-o-Matic automaticallydownloads, compiles, installs, and configures the X11rdp back-end X server , and the latest version of xrdp. RDPsesman is a menu driven utility for system administrators to configure local system users's RDP desktop environments. Will automatically install packages if necessary.
http://scarygliders.net
ISC License
168 stars 75 forks source link

An established connection closed to endpoint: NULL:NULL - socket: 12 #72

Closed tommydrum closed 8 years ago

tommydrum commented 8 years ago

Hello,

Recently got a new server set up for me to play around with, and working to get x11rdp installed through this tool, I'm running into a bit of a problem. xrdp connection log

After reading up your previous methods on troubleshooting/debugging this issue, I tested running this connection with 2 terminals, one running xrdp -ns, one xrdp-sesman -ns. Here are those logs:

root@tommydrum-server:~# xrdp-sesman -ns
starting sesman in foregroud...
sesman config:
        ListenAddress:            127.0.0.1
        ListenPort:               3350
        EnableUserWindowManager:  1
        UserWindowManager:        startwm.sh
        DefaultWindowManager:     startwm.sh
        AuthFilePath:             disabled
Xvnc parameters:
        Parameter 00                   -bs
        Parameter 01                   -ac
        Parameter 02                   -nolisten
        Parameter 03                   tcp
        Parameter 04                   -localhost
        Parameter 05                   -dpi
        Parameter 06                   96
X11rdp parameters:
        Parameter 00                   -bs
        Parameter 01                   -ac
        Parameter 02                   -nolisten
        Parameter 03                   tcp
        Parameter 04                   -uds
XOrg parameters:
        Parameter 00                   -config
        Parameter 01                   xrdp/xorg.conf
        Parameter 02                   -logfile
        Parameter 03                   /dev/null
        Parameter 04                   -noreset
        Parameter 05                   -ac
        Parameter 06                   -nolisten
        Parameter 07                   tcp
security configuration:
        AllowRootLogin:       1
        MaxLoginRetry:        4
        AlwaysGroupCheck:     0
        No TSUsersGroup defined
        No TSAdminsGroup defined
session configuration:
        MaxSessions:                 50
        X11DisplayOffset:            10
        KillDisconnected:            0
        IdleTimeLimit:               0
        DisconnectedTimeLimit:       0
        Policy:       0
SessionVariables parameters:
  Parameter 00                   PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
logging configuration:
        LogFile:       /var/log/xrdp-sesman.log
        LogLevel:      4
        EnableSyslog:  1
        SyslogLevel:   4
[20160919-00:37:45] [WARN ] [init:46] libscp initialized
[20160919-00:37:45] [CORE ] starting sesman with pid 2546
[20160919-00:37:45] [INFO ] listening...
[20160919-00:38:08] [INFO ] A connection received from: 127.0.0.1 port 42662
[20160919-00:38:08] [INFO ] scp thread on sck 8 started successfully
[20160919-00:38:08] [INFO ] ++ created session (access granted): username tommydrum, ip 66.190.0.0:4336 - socket: 8 #hid my IP..
[20160919-00:38:08] [INFO ] starting X11rdp session...
[20160919-00:38:08] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-00:38:08] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-00:38:08] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-00:38:08] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-00:38:08] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-00:38:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-00:38:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-00:38:09] [INFO ] An established connection closed to endpoint: 127.0.0.1:42662 - socket: 8
[20160919-00:38:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20160919-00:38:09] [INFO ] An established connection closed to endpoint: 127.0.0.1:42662 - socket: 8
[20160919-00:38:09] [INFO ] X11rdp :14 -geometry 1920x1080 -depth 0 -bs -ac -nolisten tcp -uds
use: X [:<display>] [option]
-a #                   default pointer acceleration (factor)
-ac                    disable access control restrictions
-audit int             set audit trail level
-auth file             select authorization file
-br                    create root window with black background
+bs                    enable any backing store support
-bs                    disable any backing store support
-c                     turns off key-click
c #                    key-click volume (0-100)
-cc int                default color visual class
-nocursor              disable the cursor
-core                  generate core dump on fatal error
-dpi int               screen resolution in dots per inch
-dpms                  disables VESA DPMS monitor control
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f #                   bell base (0-100)
-fc string             cursor font
-fn string             default font name
-fp string             default font path
-help                  prints message with these options
-I                     ignore all remaining arguments
-ld int                limit data space to N Kb
-lf int                limit number of open files to N
-ls int                limit stack space to N Kb
-nolock                disable the locking mechanism
-logo                  enable logo in screen saver
nologo                 disable logo in screen saver
-nolisten string       don't listen on protocol
-noreset               don't reset after last client exists
-reset                 reset after last client exists
-p #                   screen-saver pattern duration (minutes)
-pn                    accept failure to listen on all ports
-nopn                  reject failure to listen on all ports
-r                     turns off auto-repeat
r                      turns on auto-repeat
-render [default|mono|gray|color] set render color alloc policy
-retro                 start with classic stipple and cursor
-s #                   screen-saver timeout (minutes)
-t #                   default pointer threshold (pixels/t)
-terminate             terminate at server reset
-to #                  connection time out
-tst                   disable testing extensions
ttyxx                  server started from init on /dev/ttyxx
v                      video blanking for screen-saver
-v                     screen-saver without video blanking
-wm                    WhenMapped default backing-store
-wr                    create root window with white background
-maxbigreqsize         set maximal bigrequest size
+xinerama              Enable XINERAMA extension
-xinerama              Disable XINERAMA extension
-dumbSched             Disable smart scheduling, enable old behavior
-schedInterval int     Set scheduler interval in msec
+extension name        Enable extension
-extension name        Disable extension
-query host-name       contact named host for XDMCP
-broadcast             broadcast for XDMCP
-multicast [addr [hops]] IPv6 multicast for XDMCP
-indirect host-name    contact named host for indirect XDMCP
-port port-num         UDP port number to send messages to
-from local-address    specify the local address to connect from
-once                  Terminate server after one session
-class display-class   specify display class to send in manage
-cookie xdm-auth-bits  specify the magic cookie for XDMCP
-displayID display-id  manufacturer display ID for request
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
                       enable/disable accessx key sequences
-ardelay               set XKB autorepeat delay
-arinterval            set XKB autorepeat interval

X11rdp specific options
-geometry WxH          set framebuffer width & height
-depth D               set framebuffer depth
-uds                   create and listen on /tmp/.xrdp/xrdp_display_x

[20160919-00:38:19] [ERROR] X server for display 14 startup timeout
[20160919-00:38:19] [INFO ] starting xrdp-sessvc - xpid=2581 - wmpid=2580
xrdp-sessvc: waiting for X (pid 2581) and WM (pid 2580)
[20160919-00:38:19] [ERROR] X server for display 14 startup timeout
chansrv::main: using log file [/home/tommydrum/xrdp-chansrv.log]
[20160919-00:38:19] [CORE ] main: app started pid 2592(0x00000a20)
[20160919-00:38:19] [ERROR] another Xserver might already be active on display 14 - see log
[20160919-00:38:19] [DEBUG] aborting connection...
xrdp-sessvc: WM is dead (waitpid said 2580, errno is 0) exiting...
xrdp-sessvc: stopping channel server
xrdp-chansrv [1096917000]: scard_deinit:
chansrv:smartcard_pcsc [1096917000]: scard_pcsc_deinit:
xrdp-sessvc: stopping X server
xrdp-sessvc: clean exit
[20160919-00:38:19] [INFO ] ++ terminated session:  username tommydrum, display :14.0, session_pid 2578, ip 66.190.0.0:4336 - socket: 8 #Hid my IP.

and

root@tommydrum-server:~# xrdp -ns
logging configuration:
        LogFile:       /var/log/xrdp.log
        LogLevel:      4
        EnableSyslog:  1
        SyslogLevel:   4
[20160919-00:38:02] [INFO ] A connection received from: 66.190.0.0 port 4335
[20160919-00:38:02] [INFO ] An established connection closed to endpoint: 66.190.0.0:4335 - socket: 8 #Hid my IP
[20160919-00:38:02] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20160919-00:38:02] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20160919-00:38:02] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
pub_mod bytes 64
pri_exp 64
libxrdp_force_read: error
xrdp_process_main_loop: libxrdp_process_incomming failed
[20160919-00:38:02] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
xrdp_mcs_disconnect - socket closed
[20160919-00:38:03] [ERROR] Listening socket is in wrong state we terminate listener
[20160919-00:38:03] [INFO ] A connection received from: 66.190.0.0 port 4336
[20160919-00:38:03] [INFO ] An established connection closed to endpoint: 66.190.0.0:4336 - socket: 8
#hid my IP a bit more..
[20160919-00:38:03] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20160919-00:38:03] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20160919-00:38:03] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
pub_mod bytes 64
pri_exp 64
colorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp)
postBeta2ColorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp 0xca02 15bpp 0xca03 16bpp 0xca04 24bpp)
highColorDepth 0x0018 (0x0004 4bpp 0x0008 8bpp 0x000f 15bpp 0x0010 16 bpp 0x0018 24bpp)
supportedColorDepths 0x000f (0x0001 24bpp 0x0002 16bpp 0x0004 15bpp 0x0008 32bpp)
earlyCapabilityFlags 0x07ef (0x0002 want32)
got client client connection type 0x00000007
xrdp_sec_process_mcs_data_CS_SECURITY:
  client supports 40 bit encryption
  client supports 128 bit encryption
  client supports 56 bit encryption
  client supports fips encryption
  client and server support high crypt, using high crypt
xrdp_sec_out_mcs_data: using 512 bit RSA key
xrdp_load_keyboard_layout:
xrdp_load_keyboard_layout: model [] variant [] layout [us]
xrdp_sec_establish_keys:
xrdp_caps_process_order: bitmap cache v3 supported
xrdp_caps_process_pointer: client supports new(color) cursor
xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
unknown in xrdp_caps_process_confirm_active 30
xrdp_process_capset_window wnd_support_level 2 wnd_num_icon_caches 3 wnd_num_icon_cache_entries 12
xrdp_caps_process_codecs: nscodec codec id 1 prop len 3
xrdp_caps_process_codecs: unknown codec id 5
xrdp_caps_process_codecs: rfx codec id 3 prop len 49
yeah, up_and_running
[20160919-00:38:04] [DEBUG] xrdp_00000a0a_wm_login_mode_event_00000001
xrdp:xrdp_mm [1096901873]: xrdp_mm_create: bpp 32 mcs_connection_type 7 jpeg_codec_id 0 v3_codec_id 0 rfx_codec_id 3
[20160919-00:38:04] [WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
xrdp_wm_login_mode_changed: login_mode is 0
in xrdp_wm_init:
   xrdp_wm_init: no autologin / auto run detected, draw login window
xrdp:xrdp_cache [1096901929]: xrdp_cache_add_bitmap: reset detected cache_id 2
xrdp:xrdp_cache [1096901931]: xrdp_cache_add_bitmap: reset detected cache_id 1
out xrdp_wm_init:
xrdp_wm_login_mode_changed: login_mode is 1
xrdp_wm_login_mode_changed: login_mode is 2
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
[20160919-00:38:08] [DEBUG] returnvalue from xrdp_mm_connect 0
xrdp_wm_login_mode_changed: login_mode is 3
xrdp_mm_process_login_response: login successful for display
 14
loaded module 'libxup.so' ok, interface size 8016, version 2
started connecting
[20160919-00:38:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:09] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:10] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:10] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:11] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:11] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:12] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:13] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:13] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:14] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:14] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:15] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:15] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:16] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:17] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:17] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:18] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:18] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:19] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:19] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:20] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:21] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:21] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:22] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:22] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:23] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:23] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:24] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:25] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:25] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:26] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:26] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:27] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:29] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:29] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:30] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:30] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:31] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:31] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:32] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:33] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:33] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:34] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:35] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:35] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:36] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:36] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:37] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:38] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:39] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:40] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:40] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:41] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:41] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:42] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-00:38:42] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
connection problem, giving up
some problem
[20160919-00:38:42] [DEBUG] xrdp_mm_module_cleanup
[20160919-00:38:43] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
xrdp_wm_login_mode_changed: login_mode is 11

The first time I connected after installation, it works for a few seconds, before it hangs and dies. Any attempt at re-connection, even after rebooting, this now occurs.

This may be more of a x11rdp problem, if so, sorry I'm submitting this here. I also do not know how to log x11rdp specifically.

Ubuntu Server 16.04.1 with ubuntu-mate and ubuntu-mate-core packages installed.

Thanks, Tommy

Edit: I realized my IP was shown here, so I edited it out.. just for security's sake.

tommydrum commented 8 years ago

Well, got it to come up and hang another time, here are those logs:

root@tommydrum-server:~# xrdp -ns
logging configuration:
        LogFile:       /var/log/xrdp.log
        LogLevel:      4
        EnableSyslog:  1
        SyslogLevel:   4
[20160919-01:08:24] [INFO ] A connection received from: 66.190.0.0 port 4493
[20160919-01:08:24] [INFO ] An established connection closed to endpoint: 66.190.0.0:4493 - socket: 8
[20160919-01:08:24] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20160919-01:08:24] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20160919-01:08:24] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
pub_mod bytes 64
pri_exp 64
libxrdp_force_read: error
xrdp_process_main_loop: libxrdp_process_incomming failed
[20160919-01:08:24] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 8
xrdp_mcs_disconnect - socket closed
[20160919-01:08:24] [ERROR] Listening socket is in wrong state we terminate listener
[20160919-01:08:25] [INFO ] A connection received from: 66.190.0.0 port 4494
[20160919-01:08:25] [INFO ] An established connection closed to endpoint: 66.190.0.0:4494 - socket: 8
[20160919-01:08:25] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20160919-01:08:25] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20160919-01:08:25] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
pub_mod bytes 64
pri_exp 64
colorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp)
postBeta2ColorDepth 0xca01 (0xca00 4bpp 0xca01 8bpp 0xca02 15bpp 0xca03 16bpp 0xca04 24bpp)
highColorDepth 0x0018 (0x0004 4bpp 0x0008 8bpp 0x000f 15bpp 0x0010 16 bpp 0x0018 24bpp)
supportedColorDepths 0x000f (0x0001 24bpp 0x0002 16bpp 0x0004 15bpp 0x0008 32bpp)
earlyCapabilityFlags 0x07ef (0x0002 want32)
got client client connection type 0x00000007
xrdp_sec_process_mcs_data_CS_SECURITY:
  client supports 40 bit encryption
  client supports 128 bit encryption
  client supports 56 bit encryption
  client supports fips encryption
  client and server support high crypt, using high crypt
xrdp_sec_out_mcs_data: using 512 bit RSA key
xrdp_load_keyboard_layout:
xrdp_load_keyboard_layout: model [] variant [] layout [us]
xrdp_sec_establish_keys:
xrdp_caps_process_order: bitmap cache v3 supported
xrdp_caps_process_pointer: client supports new(color) cursor
xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
unknown in xrdp_caps_process_confirm_active 30
xrdp_process_capset_window wnd_support_level 2 wnd_num_icon_caches 3 wnd_num_icon_cache_entries 12
xrdp_caps_process_codecs: nscodec codec id 1 prop len 3
xrdp_caps_process_codecs: unknown codec id 5
xrdp_caps_process_codecs: rfx codec id 3 prop len 49
yeah, up_and_running
[20160919-01:08:26] [DEBUG] xrdp_00000ed5_wm_login_mode_event_00000001
xrdp:xrdp_mm [1098723582]: xrdp_mm_create: bpp 32 mcs_connection_type 7 jpeg_codec_id 0 v3_codec_id 0 rfx_codec_id 3
[20160919-01:08:26] [WARN ] local keymap file for 0x0409 found and dosen't match built in keymap, using local keymap file
xrdp_wm_login_mode_changed: login_mode is 0
in xrdp_wm_init:
   xrdp_wm_init: no autologin / auto run detected, draw login window
xrdp:xrdp_cache [1098723637]: xrdp_cache_add_bitmap: reset detected cache_id 2
xrdp:xrdp_cache [1098723639]: xrdp_cache_add_bitmap: reset detected cache_id 1
out xrdp_wm_init:
xrdp_wm_login_mode_changed: login_mode is 1
xrdp_wm_login_mode_changed: login_mode is 2
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
[20160919-01:08:32] [DEBUG] returnvalue from xrdp_mm_connect 0
xrdp_wm_login_mode_changed: login_mode is 3
xrdp_mm_process_login_response: login successful for display
 13
loaded module 'libvnc.so' ok, interface size 4024, version 2
VNC started connecting
VNC error - only supporting 8, 15, 16 and 24 bpp rdp connect
ions
[20160919-01:08:32] [DEBUG] xrdp_mm_module_cleanup
[20160919-01:08:32] [DEBUG] VNC mod_exit
[20160919-01:08:33] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
xrdp_wm_login_mode_changed: login_mode is 11
xrdp_wm_login_mode_changed: login_mode is 0
in xrdp_wm_init:
   xrdp_wm_init: no autologin / auto run detected, draw login window
out xrdp_wm_init:
xrdp_wm_login_mode_changed: login_mode is 1
xrdp_wm_login_mode_changed: login_mode is 2
no library name specified in xrdp.ini, please add lib=libxrd
p-vnc.so or similar
[20160919-01:08:40] [ERROR] Failure setting up module
[20160919-01:08:41] [DEBUG] xrdp_mm_module_cleanup
[20160919-01:08:42] [DEBUG] returnvalue from xrdp_mm_connect 1
xrdp_wm_login_mode_changed: login_mode is 11
xrdp_wm_login_mode_changed: login_mode is 2
no library name specified in xrdp.ini, please add lib=libxrd
p-vnc.so or similar
[20160919-01:08:44] [ERROR] Failure setting up module
[20160919-01:08:45] [DEBUG] xrdp_mm_module_cleanup
[20160919-01:08:46] [DEBUG] returnvalue from xrdp_mm_connect 1
xrdp_wm_login_mode_changed: login_mode is 11
xrdp_wm_login_mode_changed: login_mode is 2
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
[20160919-01:09:02] [DEBUG] returnvalue from xrdp_mm_connect 0
xrdp_wm_login_mode_changed: login_mode is 3
xrdp_mm_process_login_response: login successful for display
 14
loaded module 'libxup.so' ok, interface size 8016, version 2
started connecting
[20160919-01:09:07] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-01:09:07] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 12
[20160919-01:09:08] [INFO ] lib_mod_log_peer: xrdp_pid=3797 connected to X11rdp_pid=4198 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=66.190.0.0 client_port=4494
connected ok
[20160919-01:09:09] [ERROR] xrdp_mm_connect_chansrv: connect failed trying again...
[20160919-01:09:10] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 13
[20160919-01:09:10] [DEBUG] xrdp_mm_connect_chansrv: chansrvconnect successful
[20160919-01:09:10] [INFO ] An established connection closed to endpoint: 127.0.0.1:3350 - socket: 11
xrdp_wm_login_mode_changed: login_mode is 10
xrdp_wm_login_mode_changed: login_mode is 11
lib_mod_signal: type 2 len 0
lib_send_client_info:
[20160919-01:09:10] [INFO ] The following channel is allowed: rdpdr (0)
[20160919-01:09:11] [INFO ] The following channel is allowed: rdpsnd (1)
[20160919-01:09:11] [INFO ] The following channel is allowed: cliprdr (2)
[20160919-01:09:11] [INFO ] The following channel is allowed: drdynvc (3)
[20160919-01:09:11] [DEBUG] The allow channel list now initialized for this session
xrdp:xrdp_cache [1098769584]: xrdp_cache_add_bitmap: reset detected cache_id 0

and the xrdp-sesman (it's partial, since I was also testing xvnc, a bit..)

[20160919-01:09:03] [INFO ] starting X11rdp session...
[20160919-01:09:04] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:04] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:05] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:05] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:05] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:05] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:06] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:06] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:06] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20160919-01:09:07] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20160919-01:09:07] [INFO ] An established connection closed to endpoint: 127.0.0.1:54938 - socket: 8
[20160919-01:09:07] [INFO ] An established connection closed to endpoint: 127.0.0.1:54938 - socket: 8
[20160919-01:09:07] [INFO ] X11rdp :14 -geometry 1920x1080 -depth 24 -bs -ac -nolisten tcp -uds
[20160919-01:09:08] [INFO ] starting xrdp-sessvc - xpid=4198 - wmpid=4197
InitOutput:

X11rdp, an X server for xrdp
Version 0.7.0
Copyright (C) 2005-2012 Jay Sorg
See http://xrdp.sf.net for information on xrdp.
Underlying X server release 10903000, The X.Org Foundation
Screen width 1920 height 1080 depth 24 bpp 32
dpix 100 dpiy 100
buffer size 8294400
xrdp-sessvc: waiting for X (pid 4198) and WM (pid 4197)
19/09/16 01:09:08 chansrv::main: using log file [/home/tommydrum/xrdp-chansrv.log]
kill disconencted [0] timeout [60] sec
pRRScrPriv 0x1310850
rdpScreenInit: ret 1
[20160919-01:09:08] [CORE ] main: app started pid 4225(0x00001081)
InitOutput: out
[dix] Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/OTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
rdpSpriteDeviceCursorInitialize:
process_message_channel_setup: chan name 'rdpdr' id 0 flags 00000000
process_message_channel_setup: chan name 'rdpsnd' id 1 flags 00000000
process_message_channel_setup: chan name 'cliprdr' id 2 flags 00000000
process_message_channel_setup: chan name 'drdynvc' id 3 flags 00000000
rdpPointerWarpCursor:
rdpPointerNewEventScreen:
InitInput:
rdpMouseCtrl:
rdpChangeKeyboardControl:
19/09/16 01:09:10 got a connection
process_version_msg: version 0 0 0 1
process_screen_size_msg: set width 1920 height 1080 bpp 32
process_screen_size_msg: g_shmemid 1310738 g_shmemptr 0x7fd69b179000
KbdSync: toggling num lock
rdpChangeKeyboardControl:
rdpup_process_msg: got client info bytes 5312
  jpeg support 0
  offscreen support 1
  offscreen size 10485760
  offscreen entries 100
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpLoadLayout: keylayout 0x00000409 variant  display 14
rdpChangeKeyboardControl:
xrdp-chansrv [1098768356]: xcommon_init: connected to display ok
xrdp-chansrv [1098768356]: sound_init:
rdpChangeKeyboardControl:
rdpRRGetInfo:
rdpRRRegisterSize: width 1920 height 1080
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetInfo:
rdpRRRegisterSize: width 1920 height 1080
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpChangeKeyboardControl:
rdpRRGetPanning:
rdpRRGetInfo:
rdpRRRegisterSize: width 1920 height 1080
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRGetInfo:
rdpRRRegisterSize: width 1920 height 1080
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetInfo:
rdpRRRegisterSize: width 1920 height 1080
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRScreenSetSize: width 1920 height 1080 mmWidth 508 mmHeight 286
  resizing screenPixmap [0x133aba0] to 1920x1080, currently at 1920x1080
  pixmap resized to 1920x1080
rdpRRGetInfo:
rdpRRRegisterSize: width 1920 height 1080
  screen resized to 1920x1080
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetInfo:
rdpRRRegisterSize: width 1920 height 1080
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRCrtcGetGamma:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
rdpRRGetPanning:
xrdp-chansrv [1098769580]: sound_process_output_format:
xrdp-chansrv [1098769580]:       wFormatTag      1
xrdp-chansrv [1098769580]:       nChannels       2
xrdp-chansrv [1098769580]:       nSamplesPerSec  44100
xrdp-chansrv [1098769580]:       nAvgBytesPerSec 176400
xrdp-chansrv [1098769580]:       nBlockAlign     4
xrdp-chansrv [1098769580]:       wBitsPerSample  16
xrdp-chansrv [1098769580]:       cbSize          0
xrdp-chansrv [1098769580]: sound_process_output_format:
xrdp-chansrv [1098769580]:       wFormatTag      1
xrdp-chansrv [1098769581]:       nChannels       2
xrdp-chansrv [1098769581]:       nSamplesPerSec  22050
xrdp-chansrv [1098769581]:       nAvgBytesPerSec 88200
xrdp-chansrv [1098769581]:       nBlockAlign     4
xrdp-chansrv [1098769581]:       wBitsPerSample  16
xrdp-chansrv [1098769581]:       cbSize          0
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:
xrdp-chansrv [1098769681]: drdynvc_process_capability_response: DVC version 3 selected
xrdp-chansrv [1098769686]: sound_process_training: round trip time 100
rdpChangeKeyboardControl:
rdpDeferredUpdateCallback: skipping
xrdp-chansrv [1098769773]: scard_init:
chansrv:smartcard_pcsc [1098769773]: scard_pcsc_init:
rdpDeferredUpdateCallback: skipping
rdpRRGetPanning:
rdpRRGetPanning:
rdpDeferredUpdateCallback: skipping
metalefty commented 8 years ago

I think this has been fixed in upstream.