FreeRDP: Several error cases of connection

Describe the bug When i use cmd:./xfreerdp /v: /u: /p: /monitors:0,1 /multimon /network:auto /audio-mode:0 /sound /microphone +clipboard /cert:ignore +gfx-progressive +gfx-small-cache +gfx-thin-client /gdi:sw /floatbar:sticky:on,default:visible,show:always /drive:hotplug,* /gfx:avc444 /f .The following types of connection errors occur.

Test method Connect to the host hold for 10 seconds, wait for 1 second, and continue to connect to the host.

[INFO][com.freerdp.core] - ERRINFO_GRAPHICS_SUBSYSTEM_FAILED (0x0000112F):The server-side graphics subsystem is in an error state and unable to continue graphics encoding. [ERROR][com.freerdp.core] - rdp_set_error_info:freerdp_set_last_error_ex ERRINFO_GRAPHICS_SUBSYSTEM_FAILED [0x0001112F] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 104: Connection reset by peer [WARN][com.freerdp.client.common] - Disconnected by server hitting a bug or resource limit [The server-side graphics subsystem is in an error state and unable to continue graphics encoding.]

I noticed that there was an issue(#4717) that mentioned this problem, and I tried to use the solution(https://github.com/RangeeGmbH/FreeRDP/commit/bf9e5ceb4ac0afc97d2d44671ff08d460947b7d9), but it doesn’t seem to apply to my situation.

[12:35:17:642] [52758:52780] [ERROR][com.freerdp.channels.rdpdr.client] - channel [RDPDR] received 17219, expected state RDPDR_CHANNEL_STATE_CLIENT_CAPS but have state RDPDR_CHANNEL_STATE_NAME_REQUEST, aborting. [12:35:17:642] [52758:52780] [ERROR][com.freerdp.channels.rdpdr.client] - channel [RDPDR] received 21328, expected state RDPDR_CHANNEL_STATE_NAME_REQUEST but have state RDPDR_CHANNEL_STATE_INITIAL, aborting.

When this happens, I don’t know if it will affect normal use.

[15:26:55:510] [77839:77842] [INFO][com.freerdp.client.x11] - Logon Error Info SESSION_ID [UNKNOWN]

When this happens, subsequent connections will continue to trigger errors.And when this happens, I don’t know if it will affect normal use.

Environment Client:Ubuntu 20.04.6 LTS Server:Win10 Professional Edition 64bit

Build Details I compiled freerdp myself based on stable-2.0(b389d02d31063f601e395482ea21718c539210c4).

End Looking forward to your reply, thank you.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 19 (11 by maintainers)

Most upvoted comments

@LucasMou also, reduce your CMake parareters to actual options,

  • -DWITH_X264=OFF unsupported/unused
  • -DWITH_GFX_H264=OFF really bad idea, deactivates H264 support altogether
  • -DWITH_JPEG=ON does not hurt, but obsolete
  • -DWITH_PAM=ON -DWITH_PROXY=OFF -DWITH_SERVER=ON -DWITH_SERVER_CHANNELS=ON DWITH_SHADOW=ON if you don´t happen to use shadow or proxy these are pretty useless and a -DWITH_SERVER=OFF deactiavates these.
  • -DWITH_XDAMAGE=ON -DWITH_XTEST=ON -DWITH_X11=ON do NOT set these, these are internal detection variables, only thing you get is a broken compile or compilation errors