desktop: Not able to sign in

The problem

At the welcome page, click on the “Sign in to GitHub.com” button, approve it on the web page. No reaction after that. The spinner in the button keeps going.

Release version

3.0.6-linux1

Operating system

Ubuntu 22.04

Steps to reproduce the behavior

1, At the welcome page, click on the “Sign in to GitHub.com” button, 2, approve it on the web page of github.

No reaction after that. The spinner in the button keeps going.

Log files

2022-10-02.desktop.production.log

Screenshots

No response

Additional context

There are error in console: $ ./GitHubDesktop-linux-3.0.6-linux1.AppImage libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) [267574:1001/171619.934140:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [267574:1001/171622.799074:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [267574:1001/171624.146379:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [267574:1001/171802.589885:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 2
  • Comments: 16 (2 by maintainers)

Most upvoted comments

For me, the base problem i think i had was that the mime types were not set up.

So, i tried was to register the mime types manually for GitHub Desktop and it worked.

First I looked for a file named github-desktop.desktop which i found in ~/.local/share/applications For reference, the file looked like:

[Desktop Entry]
Name=GitHub Desktop
Comment=Simple collaboration from your desktop
GenericName=GitHub Desktop
Exec=github-desktop %u
Icon=github-desktop
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;
MimeType=x-scheme-handler/x-github-client;x-scheme-handler/x-github-desktop-auth;x-scheme-handler/x-github-desktop-dev-auth;

Path=
Terminal=false

Then, i ran the commands (in ~/.local/share/applications working directory):

xdg-mime default github-desktop.desktop x-scheme-handler/x-github-client
xdg-mime default github-desktop.desktop x-scheme-handler/x-github-desktop-auth
xdg-mime default github-desktop.desktop x-scheme-handler/x-github-desktop-dev-auth

Reference: https://unix.stackexchange.com/questions/497146/create-a-custom-url-protocol-handler

I think the best workaround would be an alternative option to enter the authorization code manually instead of waiting for reply from the browser.

This would be amazing…

Having these issues with v3.3.10 on WSL (it was working last Friday - yes I use it under WSL because husky) and the workarounds do not work for me… Just get the icon spinning forever.

DevConsole only says “[SignInStore] initializing OAuth flow”

EDIT: In my case, I fixed it by using a non-snap browser. It looks like when we install chromium or firefox from apt-get, Ubuntu will install a snap version, which runs isolated in a sandbox and cannot communicate with the Github Desktop app. Installing Google Chrome from the official website using dpkg solved it.

For me, the base problem i think i had was that the mime types were not set up.

Perfect. This was the problem for me. That fixed it. Thanks a million!

@shiftkey I was using Firefox. Apparently that was my issue, not something of the app. I completely forgot about the GitHub Mobile app where I was notified to act as 2FA. Worked just fine after that. Sorry for the wrong call there

Same thing here. Using Mint and tried it with Firefox, Chrome and Brave. Nothing works.