RDP broken

Hello!

Two recent updates (the huge one and the latest 20210928) have broken RDP functionality. Both Remmina and XfreeRDP show black screen, but cursor change while moving through the screen areas, so problems occur to be on client side.
Remmina on 15.3 works as expected.

XfreeRDP spams terminal with same error:

[12:08:58:028] [3709:3776] [ERROR][com.freerdp.codec] - Failed to decode video frame (status=-1094995529)
[12:08:58:028] [3709:3776] [WARN][com.freerdp.gdi] - avc444_decompress failure: 0, ignoring update. 
[h264 @ 0x7fd09708db40] No support for codec h264 profile 77.
[h264 @ 0x7fd09708db40] Failed setup for format vaapi_vld: hwaccel initialisation returned error.                                                                                                                                                                             
[h264 @ 0x7fd09708db40] decode_slice_header error                                                                                                                                                                                                                             
[h264 @ 0x7fd09708db40] No support for codec h264 profile 77.                                                                                                                                                                                                                 
[h264 @ 0x7fd09708db40] Failed setup for format vaapi_vld: hwaccel initialisation returned error.                                                                                                                                                                             
[h264 @ 0x7fd09708db40] decode_slice_header error                                                                                                                                                                                                                             
[h264 @ 0x7fd09708db40] No support for codec h264 profile 77.                                                                                                                                                                                                                 
[h264 @ 0x7fd09708db40] Failed setup for format vaapi_vld: hwaccel initialisation returned error.                                                                                                                                                                             
[h264 @ 0x7fd09708db40] decode_slice_header error                                                                                                                                                                                                                             
[h264 @ 0x7fd09708db40] No support for codec h264 profile 77.                                                                                                                                                                                                                 
[h264 @ 0x7fd09708db40] Failed setup for format vaapi_vld: hwaccel initialisation returned error.                                                                                                                                                                             
[h264 @ 0x7fd09708db40] decode_slice_header error                                                                                                                                                                                                                             
[h264 @ 0x7fd09708db40] no frame!                                                        

My Tumbleweed hasn’t been updated for a few says and XRDP worked fine using the Microsoft Client.

I have just updated the whole system (900 odd updates) and rebooted just to be on the safe side! All is fine. As I say I am using windows client, with LXDE as my desktop environment on the Tumbleweed system.

I am on xrdp 0.9.15 from the X11 Remote Desktop repository and utilises tigervnc 1.10.1 from the Main OSS repository.

I have had issues in the past with Plasma if logging on as the same user on both console and RDP. That resulted in strange blank screen behaviour.

I’ve just updated my OpenSUSE Tumbleweed to the latest version and it has broken all my RDP clients (Remmina, Krdc, Vinagre). I use Gnome Xorg session, but it doesn’t work on Wayland neither.

Here is my Remmina debug log:

(rcw_map_event) - Mapping: RemminaConnectionWindow
(remmina_protocol_widget_map_event) - Calling plugin mapping function
(remmina_protocol_widget_open_connection_real) - Opening connection
(remmina_rdp_event_init) - Disable smooth scrolling is set to 0
(remmina_rdp_event_init) - Adding GDK_SMOOTH_SCROLL_MASK
(remmina_protocol_widget_open_connection_real) - Have SSH
(remmina_rdp_main) - RDP data path is /home/*****/.local/share/remmina/RDP
(remmina_rdp_main) - Not using system proxy settings
(remmina_rdp_tunnel_init) - Tunnel init
(remmina_protocol_widget_start_direct_tunnel) - SSH tunnel initialization…
(remmina_protocol_widget_start_direct_tunnel) - Calling remmina_public_get_server_port
(remmina_protocol_widget_start_direct_tunnel) - Calling remmina_public_get_server_port (tunnel)
(remmina_protocol_widget_start_direct_tunnel) - server: ***********, port: 3389
(remmina_rdp_tunnel_init) - protocol_plugin_start_direct_tunnel() returned ***********]:3389
(remmina_rdp_tunnel_init) - Tunnel has been optionally initialized. Now connecting to ******:3389
(remmina_rdp_main) - gfx_h264_available: 1
(remmina_rdp_main) - Resolution set by the user: 1680x864
(remmina_rdp_main) - Resolution set after workarounds: 1680x864
(remmina_rdp_main) - proxy_type: (null)
(remmina_rdp_main) - proxy_username: (null)
(remmina_rdp_main) - proxy_password: (null)
(remmina_rdp_main) - proxy_hostname: (null)
(remmina_rdp_main) - proxy_port: 80
(remmina_rdp_main) - Share folder set to /home/
/Documents
(rco_on_disconnect) - Disconnect signal received on RemminaProtocolWidget
(remmina_file_save) - Saving profile
(remmina_file_save) - Profile saved
(rco_on_disconnect) - Could not disconnect

Is there any workaround for this problem?

The problem still exists in 20211016.

Can you check which versions of XRDP and vnc you are using. Also there can be issues with the desktop selection which is set via /etc/xrdp/startwm.sh

I have no XRDP installed.
vncviever is TigerVNC Viewer 64-bit v1.10.1
xfreerdp version is 2.4.0
Remmina version is 1.4.20

Hi. I had the same problems which were driving me crazy. However, I think I have found a solution - at least it works for me.

I tried updating the VLC codecs from Yast, but it gave me an unresolved dependency, but I googled that and found a way through using the following web-page:
https://opensuse.pkgs.org/tumbleweed/vlc-x86_64/libavcodec58_134-4.4-7.2.x86_64.rpm.html

This recommended adding the videolan.org repo and installing the codec from there.

zypper addrepo https://download.videolan.org/pub/vlc/SuSE/Tumbleweed/ vlc-x86_64

zypper install libavcodec58_134-4.4-7.2.x86_64

I chose option 1 on all the questions that it asked me (which was basically to change the vendor on a number of libraries).

Having done that, I was able to go back to Yast and install the VLC-codecs rpm and it installed the needed h.264 codec.

I hope that is clear and that it helps someone.

BJ

TranslatorBJ,
thank you for your reply, it helped me to search wider.
Sorry, but your workaround didn’t help me. I’ve changed the repo for vlc-codecs and libavccodec from packman-essentials to vlc-x86-64 but it didn’t change anything.
But reading here https://gitlab.com/Remmina/Remmina/-/issues/1584 I found another workaround - manually changing bit depth. All from 16-bit till GFX RFX are working, and GFX420 and GFX444 are not, and AUTO seems to pick GFX444.

So I think I’m ready to submit a bug, if it’s not widely known.

Thanks! It worked to me! It is also driving me crazy.