• [gentoo-user] how to run freerdp

    From n952162@21:1/5 to All on Mon Aug 30 21:20:02 2021
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Aug 30 20:43:51 2021
    On Monday, 30 August 2021 20:29:30 BST tastytea wrote:
    On 2021-08-30 21:10+0200 n952162 <n952162@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

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmEtNPcACgkQseqq9sKV ZxlSpw//cBhaDCmc8Elx8l0TJxRkLl1rz0OAee2bAgJmSKYJhbWK6hJPm0HvpHZD WQvEfvQy8B+KNL/1+4bE2boqNYOLX5vNJlNPeCJ8u29lraUfxfln1akK2gtTEMKE 8lCGGo7FJ2oBXKnrBNmCd7RTuQKxsnQRHPAS7iLDs+d/ZADPyX7n+9Q6rZPwjeEI rCWw//d4i96tQerQ5W3+bv6ySPatvAQ0d+SS/VfpkUYCzk5P0T+AypTkVGqZUNdb 56rmd7XiaLfGvWxZ57gwHyGizquf4rRP6d74+WGbmIrLu7mFAmy+IFvYBbXzRVWk m3pLhUzpfyI7QD9PCqiM0yR3yfIM0uHobm/ShkucTmrjwd19289AaTuEQC42FRo6 0H8d8Fj0qSH0J4XB7Gb6l7RrjsTCaZpGjy8u5AcblKDEHbz2f7djh8WrIDuca27w LiBWEMbnw2p5oMrbulpg5yp6VbjG6rh9vmaKsVpb3Pc7T9YzQ/TMtgMn0qBKQNwo YfhgGEQ4pIh47ycbq6yLgeED5N16A6jOH/Vbiqmme9GsgM/c51ZGcOVvMwuFPo6F ooRIcFijq1VwiLWtKFixQQzdPHyKEfNhWe+R+HXkYFdyXLS4fH37GzqSDjzmpy5j fBZ1ID61kqWE30xu1m4bfxZn/NDCsRJbzaiVyzcL48Op4GyMN1o=
    =e+EL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tastytea@21:1/5 to n952162@web.de on Mon Aug 30 21:30:02 2021
    On 2021-08-30 21:10+0200 n952162 <n952162@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

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

    -----BEGIN PGP SIGNATURE-----

    iHQEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCYS0xmgAKCRDPw5SX8bJu B16IAPjg1KhZXmlCrQr4tXTdvQjN3jPmrNKbhCVz9X3B+CxPAPkBSSAP8S71KOA9 m0FkEoyHUMV4NoKufWfoNHLcDqRM5g==
    =oSdE
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to tastytea on Tue Aug 31 08:40:01 2021
    On 8/30/21 9:29 PM, tastytea wrote:
    On 2021-08-30 21:10+0200 n952162 <n952162@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to All on Tue Aug 31 09:50:01 2021
    This is a multi-part message in MIME format.
    On 8/31/21 8:36 AM, n952162 wrote:
    On 8/30/21 9:29 PM, tastytea wrote:
    On 2021-08-30 21:10+0200 n952162 <n952162@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



    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?




    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=windows-1252">
    </head>
    <body>
    <div class="moz-cite-prefix">On 8/31/21 8:36 AM, n952162 wrote:<br>
    </div>
    <blockquote type="cite"
    cite="mid:bf50aab0-480d-bb7f-4a1f-f7f5040c32af@web.de">On 8/30/21
    9:29 PM, tastytea wrote:
    <br>
    <blockquote type="cite">On 2021-08-30 21:10+0200 n952162
    <a class="moz-txt-link-rfc2396E" href="mailto:n952162@web.de">&lt;n952162@web.de&gt;</a> wrote:
    <br>
    <br>
    <blockquote type="cite">I just emerged freerdp-2.3.2 without
    issue, but there's no executable
    <br>
    except /usr/bin/winpr-*, which I think just serve to set up an
    <br>
    authentication system.
    <br>
    <br>
    There's no freerdp, xfreerdp, xfreerdp-server, or anything.
    <br>
    <br>
    What am I not thinking about?
    <br>
    </blockquote>
    I have the same version and it installed /usr/bin/xfreerdp. I
    guess
    <br>
    you are missing a useflag? I have X alsa cups ffmpeg gstreamer
    jpeg
    <br>
    pulseaudio usb xinerama xv enabled.
    <br>
    <br>
    Kind regards, tastytea
    <br>
    <br>
    </blockquote>
    <br>
    Ah ... I guess I'll never learn.  That did the trick, thank you.
    <br>
    <br>
    <br>
    Now, though, I'm battling a different problem:
    <br>
    <br>
    [08:42:12:233] [14625:14626] [ERROR][com.freerdp.core.transport] -
    <br>
    BIO_read returned a system error 11: Resource temporarily
    unavailable
    <br>
    [08:42:12:233] [14625:14626] [ERROR][com.freerdp.core] -
    <br>
    transport_read_layer:freerdp_set_last_error_ex
    <br>
    ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
    <br>
    <br>
    It reaches the other side, because if I change the port, using
    some
    <br>
    arbitrary port, I get:
    <br>
    <br>
    [08:24:20:275] [14524:14525] [ERROR][com.freerdp.core.transport] -
    <br>
    BIO_should_retry returned a system error 32: Broken pipe
    <br>
    <br>
    <br>
    </blockquote>
    <p><br>
    </p>
    <p>Comparing tcpdump traces of xfreerdp and rdesktop shows, I think,
    based on the TCP flags, the same failure:</p>
    <p>   <font face="monospace"> 09:37:58.222556 IP client.54938 &gt;
    host.ms-wbt-server: Flags [<b>P</b>.], seq 1:46, ack 1, win 502,
    options [nop,nop,TS val 2653789238 ecr 2608962080], length 45<br>
    <br>
        09:37:58.222713 IP host.ms-wbt-server &gt; client.54938:
    Flags [.], ack 46, win 509, options [nop,nop,TS val 2608962080
    ecr 2653789238], length 0<br>
    <br>
        09:37:58.222822 IP host.ms-wbt-server &gt; client.54938:
    Flags [<b>F</b>.], seq 1, ack 46, win 509, options [nop,nop,TS
    val 2608962080 ecr 2653789238], length 0<br>
    <br>
        09:37:58.222841 IP host.ms-wbt-server &gt; client.54938:
    Flags [<b>R</b>.], seq 2, ack 46, win 509, options [nop,nop,TS
    val 2608962080 ecr 2653789238], length 0</font><br>
    </p>
    <p>That would be PSH, FIN, RST?</p>
    <p>The port on the host only appears when I enable the remote
    console on the vm in VirtualBox.</p>
    <p>The authentication is External:</p>
    <blockquote>
    <p><font face="monospace">VRDE:                        enabled
    (Address 0.0.0.0, Ports 3389, MultiConn: off, ReuseSingleConn:
    off, Authentication type: external)<br>
    VRDE port:                   3389<br>
    </font></p>
    </blockquote>
    <p>So, I guess this isn't an xfreerdp issue...</p>
    <p><br>
    </p>
    <p>So, now that I've emerged xfreerdb, is there a reason it's better
    than rdesktop?</p>
    <p><br>
    </p>
    <p><br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to All on Tue Aug 31 10:00:01 2021
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)