-
Notifications
You must be signed in to change notification settings - Fork 567
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
minecraft-launcher: minecraft does not work #5499
Comments
Related: #4961 |
Is there anything in the syslog? |
I just performed the steps above twice and with different syslog output. For the first run i go:
(is this even related, i don't know but the timestamp matches) And the second run result in
There is the stacktrace, I just don't know why it didn't show in the first run. |
(Offtopic) Please see the following links for how to format code blocks in markdown: |
(fixed formatting) |
So, I tried to find the line in the profile that hinders the game from launching. After some digging, I thought I found it but now I am at a state where firejail doesnt sandbox anything anymore.
So I guess that refers to the chromium part of the launcher. However, it would still leave the rest of the game without any further security constraints. The most problematic part is that malicious mods could escape the game and do harm to my system and/or read/write important files in my /home directory.* And I don't know why the game runs now, I am using the same profile as I did in the beginning *EDIT: I tried, the program can read all subdirectories (incl contents) in my homedir |
Note that /etc/firejail/minecraft-launcher.profile already includes So that include should either be removed or changed into something like the
Which includes /etc/firejail/minecraft-launcher.local if it exists. This way,
|
To make sure that this does not have the same cause as #4961 (as mentioned
|
Description
While it's possible to open the minecraft launcher itself, the actual game does not start. I can open the launcher, den then click on Start/Play, this only results in Exit Code 1.
Steps to Reproduce
Install firejail (0.9.70), download minecraft-launcher from minecraft.net and extract it to games/minecraft-launcher. Create file minecraft.local with content
And then execute
firejail --profile=minecraft.local games/minecraft-launcher/minecraft-launcher
.Login to minecraft and try launching the game with the latest version (1.19.2 as of writing this)
Note, the launcher does not crash but only displays a small pop up with the exit code. When running with --noprofile,
the game works fine.
LC_ALL=C firejail PROGRAM
(LC_ALL=C
to get a consistent output in English that can be understood by everybody)ERROR
Expected behavior
Successful game startup
Actual behavior
Launcher can't start game and reports Exit Code 1
Behavior without a profile
Game was playable
Additional context
.
Environment
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)[? ]
]browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)EDIT by @rusty-snake: Fix markdown
The text was updated successfully, but these errors were encountered: