mojira.dev
MCL-24881

The launcher does not open on Linux

when the launcher is opened, it says an unexpected issue occurred.

when the launcher is opened from the terminal, it gives the following output:

Created browser window for reuse: 0x400004
[13186:13206:0228/145914.991606:ERROR:ssl_client_socket_impl.cc(883)] handshake failed; returned -1, SSL error code 1, net_error -100
[13186:13206:0228/145914.992149:ERROR:ssl_client_socket_impl.cc(883)] handshake failed; returned -1, SSL error code 1, net_error -100
[13186:13206:0228/145915.000143:ERROR:ssl_client_socket_impl.cc(883)] handshake failed; returned -1, SSL error code 1, net_error -100
[13186:13206:0228/145915.001055:ERROR:ssl_client_socket_impl.cc(883)] handshake failed; returned -1, SSL error code 1, net_error -100
[13136:13170:0228/145915.212201:ERROR:cast_crl.cc(443)] CRL - Verification failed.
[13136:13170:0228/145915.220543:ERROR:cast_crl.cc(443)] CRL - Verification failed.

(minecraft-launcher:13136): IBUS-WARNING **: 14:59:15.570: minecraft-launcher has no capability of surrounding-text feature
[13184:13184:0228/145915.573817:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[13184:13184:0228/145916.617429:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[13136:13170:0228/145918.186475:ERROR:cast_crl.cc(443)] CRL - Verification failed.
[13136:13170:0228/145918.196528:ERROR:cast_crl.cc(443)] CRL - Verification failed.
terminate called after throwing an instance of 'std::bad_function_call'
  what():  bad_function_call

Environment

arch linux, kernel version 6.13.1 (i use arch btw)

Linked issues

MCL-24884 Minecraft Launcher not opening properly (ARCH) Resolved MCL-24891 Minecraft Launcher gives "Unexpected Error" on Arch Linux. This never has happened before. Resolved MCL-24886 Launcher won't open anymore Resolved MCL-24894 Linux launcher not working Resolved MC-280499 Minecraft Java not Starting correctly Resolved

Attachments

Comments 21

Having same issue with launcher. Kernel: 6.13.4-arch1-1

I’ve tried reinstalling launcher from minecraft.net and trying curseforge but same issue occurs. Log attached

[media][media]

Also having the same issue. I tried cleanBuilding and everything

Same here. Launcher worked just fine when I was playing Minecraft yesterday. Only thing that changed is that I ran a system upgrade today.

Moving away the .minecraft folder into another file and reopening the launcher fixed it for me, you just have to move back all of your important stuff, like modded profiles, world saves, settings, etc

Here I am again… That did not fix it… Once you reopen the launcher it breaks again…

11 more comments

Same issue, I’m currently using Bazzite, it seems to have a slight delay when closing the error page, starting with a black page and then freezing before closing. I fixed the problem by just erasing the whole webcache2 folder before. Same with just erasing the Preferences folder, it doesn’t fix now.

(Hopefully) working solution:

I wrote a following bash script:

#!/bin/bash
rm ~/.minecraft/webcache2/Default/Preferences
minecraft-launcher &

And replaced minecraft-launcher with the script location in the .desktop file (alternatively you can just run the script directly). The script must have an “executable” attribute set. This can be done either by right-clicking on the file, going to preferences, permissions and checking the “executable” checkbox, or running a command chmod +x <script-filename>.


Explanation:
The launcher seems to clash with plasma-integration extension, and the simplest way to fix it is removing the browser’s preferences file (located by default in ~/.minecraft/webcache2/Default/Preferences).

First line of the script says its a bash script (should be executed by /bin/bash).
The second line removes the file ~/.minecraft/webcache2/Default/Preferences
The third line launches the minecraft-launcher and closes the script without waiting (the & character in the end) so it doesn’t stay open the whole time you play.

Hope this helps, it worked for me.

Discussion on AUR points to a bug with kde-browser-installation. Others have reported that uninstalling that package fixes the problem. It places the extension /usr/share/chromium/extensions/cimiefiiaegbelhefglklhhakcgmhkai.json I can confirm that removing this file allows Minecraft launcher to boot normally on repeated attempts.

The file apparently allows chromium-based browsers to automatically install the extension. I cannot confirm how removing the file affects kde-browser-integration with other chromium browsers (I am using Firefox), but it evidently doesn’t play well with ML’s built-in browser.

The bug has been reported to KDE (https://bugs.kde.org/show_bug.cgi?id=501866 ) and on this forum at MCL-25003. If you want to check out the AUR discussion: https://aur.archlinux.org/packages/minecraft-launcher

The startup hack removes the window size preference… many other options persist.

My 2 cents: I don’t think it’s KDE’s prerogative to remove the automatic extension installation. The Minecraft Launcher is not designed to function as a web browser and thus should not be inheriting anything from OS browser defaults.

Mason Jones

(Unassigned)

Confirmed

Retrieved