Apparmor for Steam

Hello

Steam has been growing its Linux library with the introduction of Proton in the recent weeks which is great, but as far as I know there is no sandboxing happening in Steam or Wine project, so I would imagine it’s not present in Proton either.
I was wondering if it is practical to run steam and its games (native and proton) in containers like Apparmor?
So far I haven’t been able to create a working Apparmor profile for steam or get any of the available ones on github to work.

Thank you

Sure, maybe the easiest method is to just run Steam in firejail instead of writing a profile for Apparmor.
Just need to disable seccomp filtering from wine’s firejail profile fo Steam to work, but that’s no biggie since the remaining defaults restrict the process very much.

1 Like

Thanks for your response @Baz. I will give it a try with firejail.
I still like to know if anyone was able to make it work under Apparmor.

Just to update the information here. I ended up trying LXD.
It worked well. You need to set it up properly with access to X11 and also install your graphics card driver in the container (Driver must be the same version as the one installed on the host system).