Sunteți pe pagina 1din 4

Your libfreerdp does not support H264 (#1584) · ... https://gitlab.

com/Remmina/Remmina/issues/1584

Closed Opened 1 year ago by Antenore Gatta

Your libfreerdp does not support H264


Created by: douglasg14b

I installed remmina via sudo apt-get install remmina freerdp2-x11 -y . I went to RDP into a server
and received the following error:

You requested an H264 GX mode for server [snip], but your libfreerdp does not support H264.
Please check Color Depth settings.

The error seems pretty obvious, I need H264 support. However, I have no idea how to set that up for
freerdp. How do I setup H264 support to run at my current color depth settings?

Please give us some details about the systems you are using:

Client (OS name and version): Kubuntu 18.04


Remmina version (remmina --version): 1.2.0-rcgit-29
Desktop environment (GNOME, Unity, KDE, ..): KDE 5.12.4
Connecting to (OS and version): Win 10, Win Server 2016, Win Server 2012 R2
Connecting via (RDP, VNC, ...): RDP
RDP issues only, freerdp version (xfreerdp --version): 2.0.0-dev

EDIT by @antenore

Why there is this problem


This happens because Ubuntu 18.04 comes with an old version of FreeRDP and Remmina default is to use
GFX, that needs a newer version of FreeRDP.

So we can do nothing but propose a workaround...

How to workaround
1. Install Remmina from the PPA or one of the flatpak/snap packages.

This is the easier solution, from our point of view the PPA is the still the best option. If use choose one of
the other two, keep in mind that they use a containerized technology, therefore you will have to play
around to have your profiles and settings set up as you like/need.

2. Change each profile to use a different colour dept

all the 32 bpp are good as AVC444, it's just a matter of optimizations

This setting is in each profile in the first tab.

1 of 4 8/24/19, 8:05 PM
Your libfreerdp does not support H264 (#1584) · ... https://gitlab.com/Remmina/Remmina/issues/1584

If you have a lot of profiles, you can change "en masse" all the profiles with sed, like:

sed -i -e 's/colordepth=66/colordepth=0/g' ~/.local/share/remmina/*remmina

Finally you can save a default profile with the "Save as default" button in the profile editor. To achieve
this, create a fake profile, that you can delete afterwards, with all the default settings you need and push
the above mentioned button.

Related issues  0

Antenore Gatta @antenore · 1 year ago Owner

Hi @douglasg14b in the profile Basic settings, change the colour depth till you find the one
that is supported by your server.

Giovanni Panozzo @giox069 · 1 year ago Owner

maybe freerdp on newer Ubuntu is not yet very updated. If you switch to our PPA you should
also get H264 for GFX AVC444 support, needed to connect to recent Windows 10 and
windows server 2016. To use our PPA, use instructions on the Remmina Wiki.

Giovanni Panozzo @giox069 · 1 year ago Owner

@matt-edu which OS/distribution/version are you using? Also please reboot the PC after
switching to the PPA.

Giovanni Panozzo @giox069 · 1 year ago Owner

@shankervenkat open remmina, in the main window select the profile you use to connecto

2 of 4 8/24/19, 8:05 PM
Your libfreerdp does not support H264 (#1584) · ... https://gitlab.com/Remmina/Remmina/issues/1584

to your server, click on it with the right mouse button and choose "Edit" or press Ctrl+E. A dialog box
with your profile settings will appear, look for "color depth", choose "High Color (16bpp)" or "True
Color (32bpp)". Color profiles with "AVC" will require a newer libfreerdp2, which is not yet available
on Ubuntu 18.04.

Giovanni Panozzo @giox069 · 1 year ago Owner

In the meanwhile, I can suggest ubuntu users to open a bug here: https://bugs.launchpad.net
/ubuntu/+source/freerdp2 asking both to upgrade freerdp to a newer version and add
support for H.264 (AVC modes).

Giovanni Panozzo @giox069 · 1 year ago Owner

@MAnand59 have you tried the proposed soultions ? (change color depth to 32 or 16bpp or
switch to the remmina-next PPA which should work also on Ubuntu on Raspberry Pi?)

Giovanni Panozzo @giox069 · 1 year ago Owner

The last issue was that running an apt upgrade tries to revert the packages back to
the distribution version.

This is not a good news ;(

Giovanni Panozzo @giox069 · 1 year ago Owner

@JeremyHargis older profile cannot have a GFX settings, unles you are coming form our
remmina-next PPA. For newer profiles, just set your correct color depth and press the "Save
as default" button. Or switch to our remmina-next PPA, as explained on the wiki.

Antenore Gatta @antenore · 1 year ago Owner

@giox069 was faster than me to answer. :-)

3 of 4 8/24/19, 8:05 PM
Your libfreerdp does not support H264 (#1584) · ... https://gitlab.com/Remmina/Remmina/issues/1584

The profiles are under ~/.local/share/remmina

With sed or an editor like vim/emacs it's quite straight forward to modify all the profiles at your
needs.

sed -i -e 's/colordepth=66/colordepth=0/g' *remmina

Colordepth=66 is the AVC444 and colordepth=0 is the "Remote FX 32 bpp"

You just have to do some tests to gather the right values, but the one I gave should do the job.

Than as @giox069 said, you can save a default profile.

Giovanni Panozzo @giox069 · 1 year ago Owner

@aplocher, try also to paste here the output of: remmina --full-version ldd
/usr/lib/x86_64-linux-gnu/remmina/plugins/remmina-plugin-rdp.so | fgrep
freerdp

Antenore Gatta @antenore · 1 year ago Owner

WARNING: The Remmina project is moving to gitlab.com, in order to keep receiving


notification about this issue, you should have a gitlab account and link it to github. The
migration will happen in the next days. Thanks for your support and understanding.

cc @antenore @aplocher @douglasg14b @firefishy @giox069 @JeremyHargis


@jonathann @MAnand59 @matt-edu @mraoofnia @niallnsec @NipunaPrashan
@shankervenkat

Antenore Gatta @antenore · 1 month ago Owner

Closing as too old, please let us know if still need support or submit a new issue.
Thanks!

Antenore Gatta @antenore closed 1 month ago

Please register or sign in to reply

4 of 4 8/24/19, 8:05 PM

S-ar putea să vă placă și