Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam suggests installing to "/boot" #373

Closed
1 task done
AKoskovich opened this issue Mar 16, 2024 · 4 comments
Closed
1 task done

Steam suggests installing to "/boot" #373

AKoskovich opened this issue Mar 16, 2024 · 4 comments
Labels
type/bug Something isn't working

Comments

@AKoskovich
Copy link

AKoskovich commented Mar 16, 2024

Ensure there isn't an existing issue for this and check the wiki

  • This issue is not a duplicate and I have checked the wiki.

Current Behavior

When I try to install a game it suggests installing to the default drive "/boot".

Expected Behavior

It doesn't try installing to "/boot".

Steps To Reproduce

sudo snap install steam

Try to install a game

Environment

nexus@prism:~$ snap run steam.report
mkdir: cannot create directory ‘/run/user/0’: Permission denied
find: ‘/root/snap/steam/common/.local/share/applications’: No such file or directory
find: Failed to restore initial working directory: /home/nexus: Permission denied
find: ‘/root/snap/steam/common/.local/share/icons/hicolor’: No such file or directory
find: Failed to restore initial working directory: /home/nexus: Permission denied
ln: failed to create symbolic link '/root/.local/share/applications/': No such file or directory
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Traceback (most recent call last):
  File "/snap/steam/171/bin/steamreport", line 472, in <module>
    main()
  File "/snap/steam/171/bin/steamreport", line 468, in main
    create_window(args)
  File "/snap/steam/171/bin/steamreport", line 402, in create_window
    window = SteamReportWindow(args)
  File "/snap/steam/171/bin/steamreport", line 29, in __init__
    super().__init__()
  File "/snap/steam/171/usr/lib/python3/dist-packages/gi/overrides/Gtk.py", line 519, in __init__
    raise RuntimeError(
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
steam-runtime-launcher-service: no process found
nexus@prism:~$

Ubuntu 24.04
ASUS Crosshair X670E Hero
AMD R9 7950X
AMD RX 7900 XTX
96GB DDR5

gaming-graphics-core22 version

No response

Anything else?

No response

@AKoskovich AKoskovich added the type/bug Something isn't working label Mar 16, 2024
@ashuntu
Copy link
Collaborator

ashuntu commented Mar 18, 2024

If you go to Settings > Storage what does it list the default storage device as? You may see an odd path as the drive name (it's usually something like /usr/lib/modules), but the full path should be listed as something like /home/<your_computer_username>/snap/steam/common/.local/share/Steam.

This assumes you haven't changed or added additional storage locations.

image

This isn't in regard to your specific issue, but you may want to try running sudo /usr/lib/snapd/snap-discard-ns steam to fix that steam.report error. If that doesn't work, you may need to restart your computer. If you do get a normal steam.report response, please update the issue with its information.

@AKoskovich
Copy link
Author

AKoskovich commented Mar 30, 2024

You may see an odd path as the drive name (it's usually something like /usr/lib/modules)

This is what it shows up as for the first install, but after changing snap connections detailed in the wiki it changes to /boot.
image

This isn't in regard to your specific issue, but you may want to try running sudo /usr/lib/snapd/snap-discard-ns steam to fix that steam.report error.

I actually get a different output after running that, but it's still errors. Updated comment, put some rough details on my current environment.

@ashuntu
Copy link
Collaborator

ashuntu commented Apr 1, 2024

This is what it shows up as for the first install, but after changing snap connections detailed in the wiki it changes to /boot.

It really shouldn't matter what the drive is called, as long as the full path points to ~/snap/steam/common/.local/share/Steam then it is fine (which yours indeed does). You can also verify it's correct by stalling a game and then running ls ~/snap/steam/common/.local/share/Steam/steamapps/common from a terminal, that's where your games should be installed to by default.

As far as I know, the drive name isn't something we have control over, so I'm going to close this issue for now.

I actually get a different output after running that, but it's still errors. Updated comment, put some rough details on my current environment.

Interesting. Thanks for updating the description.

@ashuntu ashuntu closed this as completed Apr 1, 2024
@mirao
Copy link

mirao commented Sep 7, 2024

Got this after installation of Steam to a fresh OS:

image

image

It's confusing that storage is displayed as /usr/lib/modules, however a location for Steam games seems to be correct and a game can be installed as expected.

Tested on Ubuntu 24.04 with Steam 1721173382 (snap steam ver. 1.0.0.79)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants