Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U...
by Mister_Snuggles on Wednesday May 24, 2017 @10:30AM
(#14410255)
> Maybe we've just been doing it wrong the entire time and we should just log into our single-user desktop computers as root and then spawn our shells and other applications as various unpriviledged users as necessary (this could easily be scripted in launcher scripts). I wonder if anybody has attempted to do that, but again I don't expect that Xorg would work very well in this configuration.
Replace '...as various unprivileged users' with '...as completely isolated virtual machines' and you've got the gist of what QubesOS does. I haven't tried it personally, but it sounds really interesting.
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U...
by simias on Wednesday May 24, 2017 @11:01AM
(#14410483)
Thanks to your and andrian's comment I'm currently downloading a QubeOS ISO, I'm curious to see how usable it is.
Using VMs sound a bit more heavy handed than what I had in mind, but I guess on modern machines with good hardware support it should be pretty workable.
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U...
by WrtCdEvrydy on Wednesday May 24, 2017 @11:50AM
(#14410908)
If that doesn't work (i've had issues with newer hardware), take RancherOS for a spin.
It's dockerized applications (as close as a VM as possible).
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U...
by leni536 on Wednesday May 24, 2017 @09:53AM
(#14409993)
Well, there is firejail now. It does Xorg sandboxing through xpra, I don't know how it affects hardware acceleration though.
Re:Malicious Subtitles Threaten Kodi, VLC and Popcorn Time U...
by simias on Wednesday May 24, 2017 @09:57AM
(#14410026)
Oh that looks grand, thank you for pointing that out. I'll give it a try.
But when it comes to the desktop everything runs at $user and that's the end of it. While this makes sense for multi user "mainframe"-style systems, for modern desktops it's an anti-pattern almost. I wish I could run my browser as its own user, my password manager as an other, my code editor/toolchain in an other, the closed source spotify client in a third etc...
It's kind of doable today but it's not exactly friendly to setup. In particular Xorg is not exactly designed with client isolation in mind as far as I can tell, preventing one window from overtaking an other without being too cumbersome is left as as exercise to the reader.
But really, at the OS level I feel like we already have all the functionality we need and we just completely ignore it. On a desktop the critical account isn't really root per se, rather it's the user account that contains all of my data.
Maybe we've just been doing it wrong the entire time and we should just log into our single-user desktop computers as root and then spawn our shells and other applications as various unpriviledged users as necessary (this could easily be scripted in launcher scripts). I wonder if anybody has attempted to do that, but again I don't expect that Xorg would work very well in this configuration.