Closed tommydrum closed 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
I think this has been fixed in upstream.
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.
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:
and
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.