casualsnek / cassowary

Run Windows Applications on Linux as if they are native, Use linux applications to launch files files located in windows vm without needing to install applications on vm. With easy to use configuration GUI
GNU General Public License v2.0
2.87k stars 75 forks source link

Latest FreeRDP Dependency Behavior and Documentation #147

Open Ahmedsaed opened 4 months ago

Ahmedsaed commented 4 months ago

Describe the bug The behavior of the FreeRDP dependency differs from user expectations due to the discrepancy between the version packaged in certain Linux distributions and the version marked as latest by the developer. Updating the documentation or providing a warning within the application may help guide users encountering this issue.

Steps to Reproduce:

  1. Install FreeRDP from the repository of a Linux distribution that packages the latest released version (e.g., version 3.4.0).
  2. Attempt to use FreeRDP with the /app argument.
  3. Observe FreeRDP printing the help message and exiting unexpectedly.

Expected Behavior: FreeRDP should properly handle the /app argument and perform the intended operation without issues.

Actual Behavior: In the latest couple of released versions of FreeRDP (e.g., version 3.4.0), using the /app argument causes FreeRDP to print the help message and exit instead of executing the desired operation.

System information:

Impact: This issue affects users relying on FreeRDP distro packages, particularly those needing to use the /app argument.

Workaround:

johron commented 4 months ago

What version of freerdp should i run for the workaround?

Ahmedsaed commented 4 months ago

What version of freerdp should i run for the workaround?

I haven't tested all versions but 2.6.1 worked like a charm

CiRiX- commented 3 months ago

What version of freerdp should i run for the workaround?

I haven't tested all versions but 2.6.1 worked like a charm

Hi @Ahmedsaed

Do you mind sharing the .flatpak file for 2.6.1? I am not very experienced with flatpak, and i'm having way to much problems creating it from source :smiling_face_with_tear:

Ahmedsaed commented 3 months ago

Do you mind sharing the .flatpak file for 2.6.1? I am not very experienced with flatpak, and i'm having way to much problems creating it from source 🥲

I haven't used any Flatpaks in my setup. I also believe that freerdp is not available through FlatHub.

As I have mentioned above. You can workaround this issue by using distrobox and export the program to the host.

  • Using Distrobox or similar solutions to run a Linux container that has the binaries for the correct version in the repositories.
    • Use distrobox-export to export the binary to host system. Ex: distrobox-export --bin /usr/bin/xfreerdp ~/.local/bin
CiRiX- commented 3 months ago

Do you mind sharing the .flatpak file for 2.6.1? I am not very experienced with flatpak, and i'm having way to much problems creating it from source 🥲

I haven't used any Flatpaks in my setup. I also believe that freerdp is not available through FlatHub.

As I have mentioned above. You can workaround this issue by using distrobox and export the program to the host.

  • Using Distrobox or similar solutions to run a Linux container that has the binaries for the correct version in the repositories.

    • Use distrobox-export to export the binary to host system. Ex: distrobox-export --bin /usr/bin/xfreerdp ~/.local/bin

Thank you. I installed CentOS on distrobox and used wget http://mirror.centos.org/centos/7/os/x86_64/Packages/freerdp-2.1.1-2.el7.x86_64.rpm

Then sudo yum install freerdp-2.1.1-2.el7.x86_64.rpm and finally the export command.

It is now working!

Thank you :smile: