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

Cassowary Black screen using wayland wlfreerdp #95

Open Fant0mic opened 2 years ago

Fant0mic commented 2 years ago

Describe the bug A Description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Use wlfreerdp as a client for app session
  2. Click on 'cassowary desktop shortcut'
  3. See error

Expected behavior Application should launch and be visible and centered

System information:

Additional context I open any microsoft office apps and it seems to zoom in on the top left corner of windows and then turning the screen black

casualsnek commented 2 years ago

AFAIK wlfreerdp does not support RAIL or Remote apps https://github.com/FreeRDP/FreeRDP/issues/5076 The wlfreerdp is there just for testing or while using full sessions. So if you want to use remote apps its recommended to use xfreerdp with Xwayland until freerdp wayland client has RAIL support !

Fant0mic commented 2 years ago

Sorry to bother but could you explain how to use xwayland for cassowary remote apps

casualsnek commented 2 years ago

Set xfreerdp as client for app session and Xwayland should be used in wayland sessions, Xwayland itself is started by wayland compositor itself. For Gnome's mutter and KDE's kwin Xwayland should start right away normally. But if you are using other compositor, you can check their documentation on how to start Xwayland !

bphd commented 2 years ago

Problem is that it doesn't issue anything but a timeout while using XFreeRDP, and it only work on full RDP session while using WLFreeRDP. So if we want to use app sessions on WayLand, it's a bit complicated

casualsnek commented 2 years ago

Problem is that it doesn't issue anything but a timeout while using XFreeRDP, and it only work on full RDP session while using WLFreeRDP. So if we want to use app sessions on WayLand, it's a bit complicated

Does full sessions work while using Xfreerdp ? If yes there seems to be issue within windows component that may need to be checked ! Can you share logs from the windows system and linux system after you get the timeout error ?

bphd commented 2 years ago

If I remember correctly, the full session never worked on X, but it rarely worked on WL when the connection would be established because of random hacking

I've shared you all my logs about Cassowary in the other issue