xrdp: MSTSC crashes when resolution is changed by maximizing on a different monitor

I have two monitors with 2560x1440 and 1920x1080 resolution.

and setting mstsc to use one monitor for full screen mode.

when I drag mstsc from a monitor to another, error occurred as below. image It means internal error.

and will got log


==> /home/.xorgxrdp.12.log <==
[1135171.145] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[1135171.145] rdpClientConProcessMsgVersion: version 0 0 0 1
[1135171.145] rdpClientConProcessScreenSizeMsg: set width 2560 height 1440 bpp 32
[1135171.146] rdpClientConProcessScreenSizeMsg: shmemid 254443553 shmemptr 0x7f5f87b3a000
[1135171.146] rdpRRScreenSetSize: width 2560 height 1440 mmWidth 677 mmHeight 381
[1135171.151] rdpRRGetInfo:
[1135171.151]   screen resized to 2560x1440
[1135171.157] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[1135171.157] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[1135171.157] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[1135171.158] rdpClientConProcessMsgVersion: version 0 0 0 1
[1135171.158] rdpClientConProcessScreenSizeMsg: set width 2560 height 1440 bpp 32
[1135171.158] rdpClientConProcessScreenSizeMsg: shmemid 254476321 shmemptr 0x7f5f87b3a000
[1135171.158] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[1135171.158] rdpClientConProcessMsgClientInfo:
[1135171.158]   got client info bytes 7064
[1135171.158]   jpeg support 0
[1135171.158]   offscreen support 1
[1135171.158]   offscreen size 10485760
[1135171.158]   offscreen entries 100
[1135171.158] rdpClientConProcessMsgClientInfo: got RFX capture
[1135171.158]   cap_width 2560 cap_height 1472
[1135171.158] rdpClientConProcessMsgClientInfo: shmemid 254509089 shmemptr 0x7f5f87aea000 bytes 15073280
[1135171.158]   client can not do offscreen to offscreen blits
[1135171.158]   client can do new(color) cursor
[1135171.158]   client can not do multimon
[1135171.158] rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
[1135171.158] rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 2560 height 1440
[1135171.158] rdpRRUpdateOutput:
[1135171.159] rdpLoadLayout: keylayout 0x00000804 variant  display 12
[1135171.159] rdpkeybChangeKeyboardControl:
[1135171.159] rdpkeybChangeKeyboardControl: autoRepeat on
[1135171.159] rdpkeybChangeKeyboardControl:
[1135171.160] rdpkeybChangeKeyboardControl: autoRepeat on
[1135171.160] rdpClientConProcessMsgClientInfo:
[1135171.160]   got client info bytes 7064
[1135171.160]   jpeg support 0
[1135171.160]   offscreen support 1
[1135171.160]   offscreen size 10485760
[1135171.160]   offscreen entries 100
[1135171.160] rdpClientConProcessMsgClientInfo: got RFX capture
[1135171.160]   cap_width 2560 cap_height 1472
[1135171.160] rdpClientConProcessMsgClientInfo: shmemid 254541857 shmemptr 0x7f5f87aea000 bytes 15073280
[1135171.160]   client can not do offscreen to offscreen blits
[1135171.161]   client can do new(color) cursor
[1135171.161]   client can not do multimon
[1135171.161] rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
[1135171.161] rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 2560 height 1440
[1135171.161] rdpRRUpdateOutput:
[1135171.161] rdpLoadLayout: keylayout 0x00000804 variant  display 12
[1135171.161] rdpkeybChangeKeyboardControl:
[1135171.161] rdpkeybChangeKeyboardControl: autoRepeat on
[1135171.161] rdpkeybChangeKeyboardControl:
[1135171.161] rdpkeybChangeKeyboardControl: autoRepeat on
[1135171.240] rdpRRGetInfo:
[1135171.259] rdpInDeferredRepeatCallback:
[1135171.259] rdpkeybChangeKeyboardControl:
[1135171.259] rdpkeybChangeKeyboardControl: autoRepeat off
[1135171.260] rdpRRGetInfo:
[1135171.260] rdpInDeferredRepeatCallback:
[1135171.260] rdpkeybChangeKeyboardControl:
[1135171.260] rdpkeybChangeKeyboardControl: autoRepeat off
[1135171.268] rdpInDeferredRepeatCallback:
[1135171.268] rdpkeybChangeKeyboardControl:
[1135171.268] rdpkeybChangeKeyboardControl: autoRepeat off
[1135171.268] rdpInDeferredRepeatCallback:
[1135171.268] rdpkeybChangeKeyboardControl:
[1135171.268] rdpkeybChangeKeyboardControl: autoRepeat off
[1135171.273] rdpRRGetInfo:

==> /var/log/xrdp.log <==
[20210623-15:44:38] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20210623-15:44:38] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100
[20210623-15:44:38] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20210623-15:44:38] [WARN ] xrdp_caps_process_codecs: unknown codec id 5
[20210623-15:44:38] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49

==> /home/.xorgxrdp.12.log <==
[1135171.458] KbdSync: toggling num lock
[1135171.458] rdpkeybChangeKeyboardControl:
[1135171.458] rdpkeybChangeKeyboardControl: autoRepeat off
[1135171.458] rdpkeybChangeKeyboardControl:
[1135171.458] rdpkeybChangeKeyboardControl: autoRepeat off
[1135171.486] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2559 cy 1439

==> /var/log/xrdp.log <==
[20210623-15:44:38] [ERROR] SSL_read: I/O error
[20210623-15:44:38] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20210623-15:44:38] [ERROR] SSL_shutdown: I/O error
[20210623-15:44:38] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed

==> /home/.xorgxrdp.12.log <==
[1135171.521] rdpClientConRecv: g_sck_recv failed(returned -1)
[1135171.521] rdpClientConRecvMsg: error
[1135171.521] rdpClientConCheck: rdpClientConGotData failed
[1135171.525] rdpClientConDisconnect:
[1135171.525] rdpRemoveClientConFromDev: removing clientCon 0x55644bb73110

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 43 (43 by maintainers)

Commits related to this issue

Most upvoted comments

Then I have enough to reproduce this. Give me a few days to test this. I have to dig out my old 1080p monitor 😃