mojira.dev
MCL-21202

Not having GNOME keyring running when starting the launcher invalidates the tokens it stores, causing an error

If the launcher during startup does not have access to GNOME keyring (or any other software providing org.freedesktop secret service integration), then the login tokens that it stores become invalid.

I'm having this issue very frequently. For me this is a frequent issue as I use KDE as desktop environment instead of GNOME. Therefore I use keepassxc instead of GNOME keyring to store the login tokens. Unlike GNOME keyring, this does not start and unlock automatically during desktop log-in, so I have to that manually. Often after I started the launcher and therefore this bug has already been triggered.

Removing the account and then re-adding it seems to be a functional workaround. However, it would be great if this bug could be fixed.

Launcher version info:
Linuxย 5.13.0-37-genericย 2.2.11106
Friday, February 25, 2022, 1:10:49 AM
95c03ca464b8ee6cc2281620f63c7ad93333da83

Steps to reproduce:

  1. Make sure there's an active account in the launcher:

    1. Make sure that the GNOME keyring, (or whatever other software you are using to provide org.freedesktop Secret Service integration) is running.

    2. Open the launcher.

    3. Log-in.

    4. Close the launcher.

  2. Check that it properly remembers the log-in (optional) as follows:

    1. Open the launcher.

    2. Click your account

    3. This should log successfully and without asking for credentials

    4. Close the launcher

  3. Trigger the "something went wrong" error message as follows:

    1. Terminate the GNOME keyring (this is crucial as this is what triggers this error)

    2. Open the launcher

    3. Start the GNOME keyring

    4. Click on your account

    5. A "something went wrong" error message pops up and nothing else happens.

  4. Workaround to still be able to login:

    1. Delete your account

    2. Then re-add it, which requires you to re-enter your username and password.

    3. Next time login should work automatically again as long as you have the GNOME keyring running before you start the Minecraft launcher.

ย 

Linked issues

Comments

migrated

Does MCL-18924 describe or help solve your issue? Please notice the article link within, Secure Token Storage Failure on Linux.

migrated

I installed the GNOME keyring as the article suggested and that seems to work a lot better. Thanks.

migrated

Thank you for your report!
We're tracking this issue in MCL-18924, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
๐Ÿ““ Bug Tracker Guidelines โ€“ ๐Ÿ’ฌ Community Support โ€“ ๐Ÿ“ง Mojang Support
๐Ÿ““ Project Summary โ€“ โœ๏ธ Feedback and Suggestions โ€“ ๐Ÿ“– Game Wiki

migrated

(Unassigned)

Unconfirmed

Retrieved