Hoping someone on here might be able to help me with an issue with running steam through flatpak.
So I’m running Ubuntu 24.04.1, I’ve got 2 sata internal drives that I’ve got my games installed to, separate from my OS NVMe drive. I’m trying to set up the PC up with multiple users for some of the people I live with to also be able to use the PC without having admin permissions and without them being able to muck about with my stuff.
The issue I’m running into is that when I have the library pointed to the right directories (through flatseal) and it all shows up correctly innsteam most of the games won’t boot. It appears to be down to permissions in Ubuntu, specifically it doesn’t seem to allow anyone but the owner of the directory boot the game. If I move the game it seems to make that user the directory owner and allows the game to boot fine, but then none else can boot it. I’ve tried setting up rwx permissions for the owner group and users and that doesn’t fix it, I’ve tried creating a custom group and that doesn’t work, I’ve defaulted the directory structure to make any new files follow the owner, group and user permissions and that doesn’t work either.
How do I get multiple users to be able to run games on a shared drive through steam flatpak?
I know I could install steam as a deb package, but if I can get the benefits of sandboxing steam as a flatpak I’d prefer to do that.
TIA 
1 Like
You could work around it by launching it as the same user no matter who’s logged in. so a little script to
sudo -u myusername flatpak run steam
and make flatpaks able to use sudo passwordless. Do not make the same allowance for flatseal.
Might be some issues to work around with display permissions and whatnot to implement that.
What filesystem are those drives?
What you’re describing sounds a lot like the typical issues one encounters with WINE when the files are on an NTFS or (ex)FAT drive.
Would that not be an issue if the users are not admin accounts? And would it not also mean eberyonenwould be logging into a single steam account?
So one is NTFS, and one is ext4, and both have the same issue. I can freely move games between drives which will fix the issue for that user, but the issue than passes across to all other users.
Yes, steam would launch as that user.
So I guess you’ll want to install it per user. I’m guessing you already tried this, since you already messed around with flatseal?
flatpak remote-add --user flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub com.valvesoftware.Steam
flatpak override --user com.valvesoftware.Steam --filesystem=/mnt/games1
flatpak override --user com.valvesoftware.Steam --filesystem=/mnt/games2
I don’t use SELinux or apparmor so if you’ve done all that perhaps the issue lies there?
FWIW, I haven’t had great luck with flatpak steam either… always end up switching back to the regular install.
im looking for help i have flatpak steam and it says that my disk write speed is 0bps also my wifi speed starts good then it drops about 80%. im on ubunutu linux
when downloading a game? if so try a different steam download server! steam settings –-> downloads –> download region –> different city closest to you! Maybe an issue with that server or to many people on it.
Also if you can hardwired via ethernet to your network your connection speed should improve.