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.88k stars 75 forks source link

Run full RDP session in windowed mode #56

Open juandpineiro opened 2 years ago

juandpineiro commented 2 years ago

Describe the solution you'd like In the command line options or in the GUI, it would be nice to have a way of running the full RDP session in windowed mode. Some apps really misbehave when they're run in single-app mode, but there's also a need to maybe go back and forth from the rest of the Linux desktop when running a full RDP session.

casualsnek commented 2 years ago

Thank you for suggestion, i will add a command line flag and toggle in GUI to use windowed mode in next version !

juandpineiro commented 2 years ago

I just learned that when running xfreerdp we can use the keyboard shortcut ctrl + alt + enter to exit full-screen. But for some reason, when in windowed mode the scale of the guest doesn't auto-adjust, even though the argument /dynamic-resolution is being passed.

Anyway, what I ended up doing is using the base xfreerdp command with the same arguments and it works fine in full-screen and windowed mode (auto-scaling as needed) and using cassowary for single apps. Seems like something in the wrapper is kind of disabling dynamic resolution?

casualsnek commented 2 years ago

Thank you, i will look which flag is causing the issue and remove it for full sessions !

I guess /span flag is the one causing the issue !

juandpineiro commented 2 years ago

jjjj

Thank you, i will look which flag is causing the issue and remove it for full sessions !

I guess /span flag is the one causing the issue !

Yup! Thatt's exactly it. For now I've built a version without the /span and multi-monitor flags, as I don't intend to use the VM on multiple screens.