Open vega-d opened 3 years ago
I think there are two ways it can be done.
Adding virsh suspend and virsh resume commands to the functions responsible for calling out xfreerdp with the USER, PASSWORD, DOMAIN, and the WIN_EXECUTABLE arguements in the winapps file ~/.local/bin/winapps. I'd make it resumes before everything else, and suspend if nothing else is running. Do note that this could mess with clipboard sharing via RDP.
Run a debloat script like Chris Titus', or AME script, with the SimpleWall firewall app to restrict all apps from having network access except the ones that you want. Although make sure you enable RDP in the filters.
I have done the later solution and am quite happy with it.
Windows tends to do "stuff" in the background, and if you're running winapps - literally in the background. If winapps can do
virsh suspend RDPWindows
on all windows closed andvirsh resume RDPWindows
when any window summoned then windows will be "paused" when not in use, freeing up system resources and preventing windows from doing shady stuff in the background.