Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] how to run freerdp

855 views
Skip to first unread message

n952162

unread,
Aug 30, 2021, 3:20:04 PM8/30/21
to
I just emerged freerdp-2.3.2 without issue, but there's no executable
except /usr/bin/winpr-*, which I think just serve to set up an
authentication system.

There's no freerdp, xfreerdp, xfreerdp-server, or anything.

What am I not thinking about?

tastytea

unread,
Aug 30, 2021, 3:30:04 PM8/30/21
to
I have the same version and it installed /usr/bin/xfreerdp. I guess
you are missing a useflag? I have X alsa cups ffmpeg gstreamer jpeg
pulseaudio usb xinerama xv enabled.

Kind regards, tastytea

--
Get my PGP key with `gpg --locate-keys tast...@tastytea.de` or at
<https://tastytea.de/tastytea.asc>.

Michael

unread,
Aug 30, 2021, 3:50:04 PM8/30/21
to
On Monday, 30 August 2021 20:29:30 BST tastytea wrote:
> On 2021-08-30 21:10+0200 n952162 <n95...@web.de> wrote:
> > I just emerged freerdp-2.3.2 without issue, but there's no executable
> > except /usr/bin/winpr-*, which I think just serve to set up an
> > authentication system.
> >
> > There's no freerdp, xfreerdp, xfreerdp-server, or anything.
> >
> > What am I not thinking about?
>
> I have the same version and it installed /usr/bin/xfreerdp. I guess
> you are missing a useflag? I have X alsa cups ffmpeg gstreamer jpeg
> pulseaudio usb xinerama xv enabled.
>
> Kind regards, tastytea

Yes, the OP will need X and/or wayland USE flags:

$ equery u freerdp
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for net-misc/freerdp-2.3.2:
U I
+ + X : Add support for X11
+ + alsa : Add support for media-libs/alsa-lib (Advanced Linux Sound
Architecture)
+ + cups : Add support for CUPS (Common Unix Printing System)
- - debug : Enable extra debug codepaths, like asserts and extra output.
If you want to get
meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/
Backtraces
- - doc : Add extra documentation (API, Javadoc, etc). It is
recommended to enable per
package instead of globally
+ + ffmpeg : Enable ffmpeg/libav-based audio/video codec support
- - gstreamer : Add support for media-libs/gstreamer (Streaming media)
+ + jpeg : Add JPEG image support
- - openh264 : Enable H.264 support using media-libs/openh264
- - pulseaudio : Add support for PulseAudio sound server
- - server : Build server binaries
- - smartcard : Enable smartcard support
- - systemd : Enable use of systemd-specific libraries and features like
socket activation or
session tracking
- - test : Enable dependencies and/or preparations necessary to run
tests (usually
controlled by FEATURES=test but can be toggled
independently)
+ + usb : Add USB support to applications that have optional USB
support (e.g. cups)
+ + wayland : Enable dev-libs/wayland backend
- - xinerama : Add support for querying multi-monitor screen geometry
through the Xinerama API
+ + xv : Add in optional support for the Xvideo extension (an X API
for video playback)

$ equery f freerdp | grep bin/
/usr/bin/winpr-hash
/usr/bin/winpr-makecert
/usr/bin/wlfreerdp
/usr/bin/xfreerdp
signature.asc

n952162

unread,
Aug 31, 2021, 2:40:04 AM8/31/21
to
On 8/30/21 9:29 PM, tastytea wrote:
> On 2021-08-30 21:10+0200 n952162 <n95...@web.de> wrote:
>
>> I just emerged freerdp-2.3.2 without issue, but there's no executable
>> except /usr/bin/winpr-*, which I think just serve to set up an
>> authentication system.
>>
>> There's no freerdp, xfreerdp, xfreerdp-server, or anything.
>>
>> What am I not thinking about?
> I have the same version and it installed /usr/bin/xfreerdp. I guess
> you are missing a useflag? I have X alsa cups ffmpeg gstreamer jpeg
> pulseaudio usb xinerama xv enabled.
>
> Kind regards, tastytea
>

Ah ... I guess I'll never learn.  That did the trick, thank you.


Now, though, I'm battling a different problem:

[08:42:12:233] [14625:14626] [ERROR][com.freerdp.core.transport] -
BIO_read returned a system error 11: Resource temporarily unavailable
[08:42:12:233] [14625:14626] [ERROR][com.freerdp.core] -
transport_read_layer:freerdp_set_last_error_ex
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

It reaches the other side, because if I change the port, using some
arbitrary port, I get:

[08:24:20:275] [14524:14525] [ERROR][com.freerdp.core.transport] -
BIO_should_retry returned a system error 32: Broken pipe

n952162

unread,
Aug 31, 2021, 3:50:03 AM8/31/21
to

Comparing tcpdump traces of xfreerdp and rdesktop shows, I think, based on the TCP flags, the same failure:

    09:37:58.222556 IP client.54938 > host.ms-wbt-server: Flags [P.], seq 1:46, ack 1, win 502, options [nop,nop,TS val 2653789238 ecr 2608962080], length 45

    09:37:58.222713 IP host.ms-wbt-server > client.54938: Flags [.], ack 46, win 509, options [nop,nop,TS val 2608962080 ecr 2653789238], length 0

    09:37:58.222822 IP host.ms-wbt-server > client.54938: Flags [F.], seq 1, ack 46, win 509, options [nop,nop,TS val 2608962080 ecr 2653789238], length 0

    09:37:58.222841 IP host.ms-wbt-server > client.54938: Flags [R.], seq 2, ack 46, win 509, options [nop,nop,TS val 2608962080 ecr 2653789238], length 0

That would be PSH, FIN, RST?

The port on the host only appears when I enable the remote console on the vm in VirtualBox.

The authentication is External:

VRDE:                        enabled (Address 0.0.0.0, Ports 3389, MultiConn: off, ReuseSingleConn: off, Authentication type: external)
VRDE port:                   3389

So, I guess this isn't an xfreerdp issue...


So, now that I've emerged xfreerdb, is there a reason it's better than rdesktop?



n952162

unread,
Aug 31, 2021, 4:00:05 AM8/31/21
to
On 8/31/21 9:45 AM, n952162 wrote:
>
> So, now that I've emerged xfreerdb, is there a reason it's better than
> rdesktop?
>
>

Oh, I guess I know: USB support (etc.).  VirtualBox offers that, but
only from their Oracle proprietary code.
0 new messages