this post was submitted on 20 Dec 2024
17 points (87.0% liked)

Linux Gaming

16057 readers
343 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

I just built a new PC and decided to use Linux. Initially when I built it my ssd was going to take a long time to come in, weeks after the rest of the parts. So I installed fedora onto an external SSD that I had and everything was great.

Thursday my new internal SSD came in and so I installed fedora onto it and migrated the files I wanted to keep to my new one. After installing steam I'm getting errors when it launches.

There are several versions, proton hot fix, steam, runtime 1.0 scout, runtime 2.0 soldier, runtime 3.0 sniper.

No matter which one I launch this time around I get "an error occurred while launching this game: invalid game configuration"

Usually I launch it, the icon pops up and goes away several times, I end the process, launch it again and it gives me the aforementioned error.

It didn't do that till I installed the new SSD.

top 17 comments
sorted by: hot top controversial new old
[–] UnfortunateShort 2 points 12 hours ago* (last edited 10 hours ago) (1 children)

Have you installed Steam as a Flatpak? In that case, maybe it tries to read the file system on the SSD, but has no permission to access it/its mount point

[–] Cheems 2 points 9 hours ago

Not a flatpak and the ssd that I originally used isn't hooked up.

I uninstalled it this morning and reinstalled it. The issue didn't pop up when I first launched it, but we'll see

[–] [email protected] 4 points 1 day ago (1 children)

Sounds like a permission problem from migrating files over, run steam from terminal to see precise errors.

[–] Cheems 2 points 1 day ago (1 children)

I reinstalled steam from scratch, I just only migrated files that I was working on for other things

[–] [email protected] 4 points 15 hours ago (1 children)

If you copied over your home user folder there may be some permission issues in the hidden directories where apps store their settings. If you suspect anything in your user directory might be an issue test creating and logging in with a new user account and see if everything works there.

[–] Cheems 1 points 12 hours ago

That's a good idea, I'll give that a go in a bit

[–] [email protected] 2 points 1 day ago* (last edited 21 hours ago) (1 children)

What happens when you start steam from a terminal, --> /usr/bin/steam

What are the errors that your getting?

Did you change ownership of the files you moved from your old storage device to a new user you setup on second install.

ls -la from your home directory and make sure that the third and fourth entries from the output match the user you have set up. They should be the same output as what echo $USER gives.

The output should look something like this

drwxr-xr-x 1 **user** **user** 13 Apr 13 2024 .

The bold bits should match your echo $USER output.

If they don't match your user you can use chown To take ownership of those files you moved.

chown $USER:$USER **file**

There might be many files to take ownership of and it might be worth chowning your home directory recursively.

cd ~ && chown -R $USER:$USER .

[–] Cheems 1 points 1 day ago (1 children)

None actually booted just fine.

How can I get it to do that while clicking an icon haha

[–] [email protected] 2 points 1 day ago* (last edited 22 hours ago) (1 children)

First do the games launch normally without error? If you have errors you might need to do the chown thing if you users are mixed up.

if everything is working fine you can use locate to find where you OS keeps steams .desktop files:

locate 'steam.desktop'

on my machine they are :

/usr/lib/steam/steam.desktop
/usr/share/applications/steam.desktop

so since both the desktop files are in a root directory we have to change it with root privilege.

sudo nano /usr/lib/steam/steam.desktop

will open the file in nano. Look for an entry that looks like Exec=/usr/bin/steam-runtime %U and change that to Exec=/usr/bin/steam. To save it [Crtl] + o and then [Ctrl] + m to save, then [Ctrl] + x should exit nano. You might want to back up those files before you edit them so you have something to go back to if something goes wrong.

sudo cp /usr/lib/steam/steam.desktop /usr/lib/steam/steam.desktop.bak

sudo cp /usr/share/applications/steam.desktop /usr/share/applications/steam.desktop.bak

here is a cheat sheet for nano

Lets first make sure that your USERS aren't messing with steam.

[–] Cheems 1 points 1 day ago (1 children)

Now that you mention it no.

Nothing I try to launch loads

[–] [email protected] 2 points 1 day ago (2 children)

What does ls -la .steam output say for your users?

[–] Cheems 1 points 1 day ago

And I did a restart launch from the terminal and was able to boot at least one thing

[–] Cheems 1 points 1 day ago (1 children)

I also should mention that in the notification thing at the top I'm seeing

"We're sorry, it looks like "steamwebhelper" crashed. Please contact developer if you want to report the issue."

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)

That steamwebhelper error I haven't seen before but I took a look and found this github report

maybe try if you installed steam as a flatpak:

/usr/bin/flatpak run com.valvesoftware.Steam

You might be suffering from this bug and might have to downgrade steam till the fix reaches you. I have no Idea how to do that on fedora. I'm sure their documentation is tip top.

[–] Cheems 1 points 1 day ago (1 children)

I get an error on that one saying app/com.valvesoftware.steam/x86_64/master not installed

[–] [email protected] 2 points 1 day ago (1 children)

just to make sure that you haven't installed the steam-flatpak.

flatpak list --all and look for steam. You might be able to grep for steam like so flatpak list --all | grep steam. If steam is not there you don't have flatpak version of steam.

If steam is not in the output there I would consult the Fedora documentation for how to downgrade a package and follow those steps to downgrade steam to an earlier version. If that doesn't work.

As I reread this thread, I must apologize, I could have done a better triage diagnosing this issue. I have been raw-dogging adhd lately and find myself a bit scattered. I really am sorry for being a bit everywhere! I do sincerely hope that downgrading steam will solve this issue. If it doesn't I'm out of ideas.

[–] Cheems 2 points 23 hours ago

Hey no worries you were a really great help. I do really appreciate it