Skip to content

bwrap: setting up uid map: Permission denied (pipx installation) #400

@IskandarAlex2

Description

@IskandarAlex2

Before I continue, I want to clarify that I didn't use the Flatpak version, despite running perfectly, because its winecfg library cannot find my discord-rpc.dll.so file, which is why I needed protontricks in the first place. I already tried giving it so many permissions via Flatseal, including running sh into its sandbox, and it indeed can see the .dll.so and the environment in that sandbox is already set to WINEDLLPATH=/opt/discord-rpc/bin64:/opt/discord-rpc/bin32 but the winecfg still couldn't find any library named "discord-rpc", so I don't know what to do.

I installed protontricks as shown in the readme with pipx. It does show the game menu, but when I select a game, it just crashes immediately.

System: Kubuntu 24.04.2 LTS x86_64

protontricks (INFO): Found Steam directory at /home/iskandaralex2/.local/share/Steam
protontricks (INFO): Using default Steam Runtime at /home/iskandaralex2/.local/share/Steam/ubuntu12_32/steam-runtime
protontricks (INFO): WINETRICKS environment variable is not available. Searching from $PATH.
protontricks (INFO): Found 2 Steam library folders
protontricks (INFO): Multiple compatdata directories found for app 526870
protontricks (INFO): Multiple compatdata directories found for app 1222670
protontricks (INFO): Multiple compatdata directories found for app 1657630
protontricks (INFO): Currently logged-in Steam user: iskalex2
protontricks (INFO): Couldn't find custom shortcuts. Maybe none have been created yet?
protontricks (INFO): Using 'zenity' as GUI provider
protontricks (INFO): User has configured app Proton version (CompatToolMapping): proton_hotfix
protontricks (INFO): Found active compatibility tool: Proton Hotfix
protontricks (INFO): Active compatibility tool is a Proton installation
protontricks (INFO): Using 'bwrap = True' as default value
protontricks (INFO): Using separately installed Steam Runtime: Steam Linux Runtime 3.0 (sniper)
protontricks (INFO): Running Steam Runtime using bwrap containerization.
If any problems arise, please try running the command again using the `--no-bwrap` flag and make an issue report if the problem only occurs when bwrap is in use.
protontricks (INFO): Created Steam Runtime Wine binary directory at /home/iskandaralex2/.cache/protontricks/proton/Proton Hotfix/bin
protontricks (INFO): WINE environment variable is not available. Setting WINE environment variable to Proton bundled version.
protontricks (INFO): WINESERVER environment variable is not available. Setting WINESERVER environment variable to Proton bundled version
protontricks (INFO): Starting bwrap launcher process: /home/iskandaralex2/.cache/protontricks/proton/Proton Hotfix/bin/bwrap-launcher
protontricks - bwrap-launcher 10645: Following directories will be mounted inside container: /bin.usr-is-merged /boot /etc /home /IskyArchives /lib.usr-is-merged /lost+found /media /mnt /opt /root /sbin /sbin.usr-is-merged /snap /srv /tmp
protontricks - bwrap-launcher 10645: Using temporary directory: /tmp/protontricks-7bpon95w
pressure-vessel-wrap[10645]: E: Child process exited with code 1: bwrap: setting up uid map: Permission denied

protontricks (INFO): Terminating launcher process 10645
protontricks (INFO): Launcher process terminated
Traceback (most recent call last):
  File "/home/iskandaralex2/.local/bin/protontricks", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/home/iskandaralex2/.local/share/pipx/venvs/protontricks/lib/python3.12/site-packages/protontricks/cli/main.py", line 32, in cli
    main(args)
  File "/home/iskandaralex2/.local/share/pipx/venvs/protontricks/lib/python3.12/site-packages/protontricks/cli/util.py", line 175, in wrapper
    return cli_func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/iskandaralex2/.local/share/pipx/venvs/protontricks/lib/python3.12/site-packages/protontricks/cli/main.py", line 337, in main
    run_command(
  File "/home/iskandaralex2/.local/share/pipx/venvs/protontricks/lib/python3.12/site-packages/protontricks/util.py", line 522, in run_command
    raise RuntimeError(
RuntimeError: bwrap launcher crashed, returncode: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions