Endless login
The problem
I simply login with browser return to the application just to find out that the login is not saved. And nothing, the application is impossible to use.
Release version
i don't know the latest on the README, downloaded because also the main one didnt work
Operating system
Ubuntu 24.04.2 LTS
Steps to reproduce the behavior
https://github.com/user-attachments/assets/0505e383-f41f-42a6-ac05-fff823636477
Log files
No response
Screenshots
No response
Additional context
No response
I had a similar problem to what you described here in my fresh install of Linux Mint. I'm a Linux newbie so I had to read a few articles to dig for the problem through all the terminology, so I though writing a more in-depth reply might help others like me in the future. After fiddling for about an hour and searching for answers I manged to fix it by mostly following what this reddit user did, so I'll share what I did and my OS specs, and my logs prior to and after the fix:
Specs
OS: Linux Mint 22.1 Cinnamon Cinnamon Version: 6.4.8 Linux Kernel: 6.8.0-51-generic
Logs before fix
2025-03-08T13:13:30.848Z - info: [ui] [SignInStore] initializing OAuth flow
2025-03-08T13:13:30.893Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=[REDACTED]&scope=repo%20user%20workflow&state=[REDACTED]
2025-03-08T13:13:37.362Z - info: [main] Received possible protocol arguments: 3
2025-03-08T13:13:37.367Z - info: [main] Processing protocol url
2025-03-08T13:13:38.862Z - info: [ui] [SignInStore] account resolved
2025-03-08T13:13:38.882Z - info: [ui] [AppStore] adding account SpaceFunkRai (Ryebuck Coppercap / Rai / SpaceFunk) to store
Logs after fix
2025-03-08T13:37:32.167Z - info: [ui] [SignInStore] initializing OAuth flow
2025-03-08T13:37:32.182Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=[REDACTED]&scope=repo%20user%20workflow&state=[REDACTED]
2025-03-08T13:37:43.521Z - info: [main] Received possible protocol arguments: 3
2025-03-08T13:37:43.524Z - info: [main] Processing protocol url
2025-03-08T13:37:43.978Z - info: [main] Received possible protocol arguments: 2
2025-03-08T13:37:43.992Z - info: [main] Processing protocol url
2025-03-08T13:37:44.913Z - info: [ui] [SignInStore] account resolved
2025-03-08T13:37:44.915Z - info: [ui] [AppStore] adding account SpaceFunkRai (Ryebuck Coppercap / Rai / SpaceFunk) to store
2025-03-08T13:37:45.698Z - info: [ui] Subscribed 'SpaceFunkRai' to Alive channel
2025-03-08T13:38:10.179Z - info: [ui] credential-helper: found GitHub credential for https://github.com/ in store
Solution
It turned out that the "Password and Keys" (AKA Seahorse) program wasn't reading keyring files (which GitHub Desktop uses to sign into your account) for one reason or another, so I had to go to the "Startup Applications" app (which I had to guess was Mint's way to do what the Reddit user did in their WM) and deleted the service that started up the keyrings (gnome-keyring-daemon), since it was apparently redundant, as they said in their thread. I also deleted the files in ~/.local/share/keyrings, though I'm unsure how necessary it was since I had tried doing only that before finding the solution that worked for me.
Hope it helps! (Also, you should probably post your logs when trying to get help, and any relevant context like programs that might be causing incompatibilities, your system version, and so on, otherwise others might not know what might be wrong ;3)