News for hackers. Stuff that matters.
Re:Prevent Zoom from consuming all your CPU on Linux by KennyBlanken on Monday November 15, 2021 @10:25PM (#29236403)
Have you tried running the desktop client in a container? Lots of options for this on Linux.

There shouldn't be any significant virtualization penalty. My guess is that it uses hardware video codec acceleration and that wasn't accessible in the VM you had set up? If the guest was Windows, looks like nvidia has supported this since host driver version v465 or later.

https://nvidia.custhelp.com/app/answers/detail/a_id/5173/~/g...

HTH!

Re:Prevent Zoom from consuming all your CPU on Linux by jrockway on Monday November 15, 2021 @11:12PM (#29236717)
The systemd slice approach is the same mechanism as containers.

The security problem is being able to talk to the same X server as trusted applications. X clients can do pretty much all the things you don't want Zoom to do; look at your screen, observe your keystrokes, etc. (Sadly, many of Zoom's features, like screen sharing, are also great things for spyware to do in the background. Not saying Zoom does this, but if you don't trust them, this level of access is the part that worries people, not consuming too much CPU.)

Re:Prevent Zoom from consuming all your CPU on Linux by yc12340 on Tuesday November 16, 2021 @01:06AM (#29237423)
> The security problem is being able to talk to the same X server as trusted applications

Use Ctrl+Alt+F<number> to switch into another VT and run a different X server. Run zoom in container there.

I found this a lot more convenient than messing with nested X servers and other types of X11 client isolation. Each time you leave an X server and switch to another VT, the clients perceive it like the monitor being turned on/off.

Re:Prevent Zoom from consuming all your CPU on Linux by mbarbar on Tuesday November 16, 2021 @04:35AM (#29238630)
Thank you for this, easy solution that didn't cross my mind. I wanted to restrict Zoom from reading files (solved by a sandbox) while also sharing my screen from my normal environment (VM is out of the picture) but also preventing it from looking at the X clipboard and all that stuff.
Re:Prevent Zoom from consuming all your CPU on Linux by gbrown on Tuesday November 16, 2021 @08:24AM (#29240247)
I did, but had trouble getting it to work. It was a while ago though, and the image I was working from was old/unmaintained even at the time. Linux guest. Do you have any examples to hand?