Skip to content

GitHub Desktop "The name is not activatable" on Arch Linux #1020

Open

Description

The problem

GitHub Desktop is completely unusable on Arch Linux.

Everytime after authorizing the app with my GitHub account the error "The name is not activatable" appears and GitHub Desktop fails to connect to my GitHub account and I cannot access my repositories.

Since there is no error code or anything else that could hint to the cause, the only things I can provide is a screenshot and the production.log inside ~/.config/GitHub Desktop/logs/

Release version

Version 3.3.8-linux2 (x64)

Operating system

OS: Arch Linux x86_64 | Kernel: 6.7.8-arch1-1 | DE: KDE Plasma 6.0.1 on Wayland

Steps to reproduce the behavior

  1. Install GitHub Desktop from the AUR: https://aur.archlinux.org/packages/github-desktop
  2. Open GitHub Desktop on Arch Linux.
  3. Sign in with your GitHub account.
  4. Authorize GitHub Desktop in your webbrowser.
  5. Let the GitHub website redirect back to the GitHub Desktop application.
  6. The error "The name is not activatable" will appear with no further information.

Log files

2024-03-08.desktop.production.log

Screenshots

Screenshot_20240307_183042

Additional context

No response

Activity

  1. Zoddhand commented on Mar 8, 2024

    @Zoddhand

    same issue here.

  2. olegovechko commented on Mar 8, 2024

    @olegovechko

    I have the same problem.

  3. shiftkey commented on Mar 8, 2024

    @shiftkey
    Owner

    This is a generic DBUS message from the backing store we need to persist credentials, and it's really all the context we see from the application side. I'd suggest checking the gnome-keyring keychain is setup.

  4. added
    dbus
    on Mar 8, 2024
  5. ShoreNinth commented on Mar 8, 2024

    @ShoreNinth

    This is a generic DBUS message from the backing store we need to persist credentials, and it's really all the context we see from the application side. I'd suggest checking the gnome-keyring keychain is setup.

    Thanks, sir. It's solved after I have gnome-keyring installed and set up.

  6. Richardk2n commented on Mar 28, 2024

    @Richardk2n

    The PKGBUILD has org.freedesktop.secrets as a dependency. Which is provided by gnome-keyring but also by kwallet which works fine for me. At least for continued use. This might be related to initial setup.

  7. Richardk2n commented on Apr 6, 2024

    @Richardk2n

    Works for me on both my machines (running Manjaro).
    grafik
    Assure, that you have kwallet running and unlocked (If you set a separate password, it is locked by default; Maybe needs to be added to PAM manually on Arch).
    Other than that I am not sure, what I might have installed/configured different from you, but I can assure you gnome-keyring is not required and thus should not be made a requirement.

  8. crazymonkyyy commented on Apr 16, 2024

    @crazymonkyyy

    This is a generic DBUS message from the backing store we need to persist credentials, and it's really all the context we see from the application side. I'd suggest checking the gnome-keyring keychain is setup.

    I have no interest in keyrings and other nonsense; I got this message after disabling kde's on a fresh install

    I tried deleting .config/"github desktop", but it still didnt work after trying to log in

  9. axzxc1236 commented on May 3, 2024

    @axzxc1236

    In my case I have full disk encryption setup and use KDE, I configured SDDM to auto-login (because I already have password required to decrypt boot disk).

    Github desktop won't prompt for wallet unlock, but chromium does.

    So my work around is to open chromium first, unlock kwallet, then open Github desktop

  10. RomanShumikhin commented on May 20, 2024

    @RomanShumikhin

    Same issue. I use auto-login feature in SDDM, so kwallet is not unlocked automatically until I start a browser or another app that that requires it and enter my password, after that GitHub Desktop starts working again.

  11. mkurz commented on Dec 11, 2024

    @mkurz

    Does not work for me in KDE Plasma 6.2 and using kwallet also.

    Note

    However, instead of "The name is not activatable" I get the message "Can't find session /org/freedesktop/secrets/session/1"

    Never had any problems with kwallet so far, here what's installed:

    $ pacman -Q | grep -iE 'kwallet'
    kwallet 6.8.0-1
    kwallet-pam 6.2.4-1
    kwallet5 5.116.0-1
    kwalletcli 3.03-4
    kwalletmanager 24.08.3-1
    signon-kwallet-extension 24.08.3-1

    Also, kwallet is a provider of org.freedesktop.secrets, see: https://archlinux.org/packages/?q=org.freedesktop.secrets

    Only after switching to gnome-keyring things worked...

    Digging a bit deeper here is what gets send via dbus when using kwallet, maybe you have an idea?

    $ dbus-monitor --session
    ...
    method call time=1733857263.408148 sender=:1.121 -> destination=org.freedesktop.secrets serial=11 path=/org/freedesktop/secrets/aliases/default; interface=org.freedesktop.Secret.Collection; member=CreateItem
       array [
          dict entry(
             string "org.freedesktop.Secret.Item.Attributes"
             variant             array [
                   dict entry(
                      string "account"
                      string "mkurz"
                   )
                   dict entry(
                      string "service"
                      string "GitHub - https://api.github.com"
                   )
                   dict entry(
                      string "xdg:schema"
                      string "org.freedesktop.Secret.Generic"
                   )
                ]
          )
          dict entry(
             string "org.freedesktop.Secret.Item.Label"
             variant             string "GitHub - https://api.github.com/mkurz"
          )
       ]
       struct {
          object path "/org/freedesktop/secrets/session/2"
          array of bytes [
             ...<reducted>...
          ]
          array of bytes [
             ...<reducted>...
             ...<reducted>...
             ...<reducted>...
          ]
          string "text/plain"
       }
       boolean true
    ...
    signal time=1733857263.409732 sender=:1.21 -> destination=(null destination) serial=371 path=/org/freedesktop/secrets/collection/kdewallet/0; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
       string "org.freedesktop.Secret.Item"
       array [
       ]
       array [
       ]
    ...
    signal time=1733857263.409746 sender=:1.21 -> destination=(null destination) serial=372 path=/org/freedesktop/secrets/aliases/default; interface=org.freedesktop.Secret.Collection; member=ItemChanged
       object path "/org/freedesktop/secrets/collection/kdewallet/0"
    signal time=1733857263.409749 sender=:1.21 -> destination=(null destination) serial=373 path=/org/freedesktop/secrets/collection/kdewallet; interface=org.freedesktop.Secret.Collection; member=ItemChanged
       object path "/org/freedesktop/secrets/collection/kdewallet/0"
    error time=1733857263.409900 sender=:1.21 -> destination=:1.121 error_name=org.qtproject.QtDBus.Error.InvalidObjectPath reply_serial=11
       string "Can't find session /org/freedesktop/secrets/session/2"
    ...
    
  12. mkurz commented on Dec 11, 2024

    @mkurz
  13. Richardk2n commented on Dec 11, 2024

    @Richardk2n

    Continues to work perfectly fine with Plasma 6.2 using kwallet for me.
    Are you sure your kwallet service is running?

  14. mkurz commented on Dec 11, 2024

    @mkurz

    @Richardk2n did you do the inital setup (login to GitHub via browser) with gnome-keyring?

  15. Richardk2n commented on Dec 11, 2024

    @Richardk2n

    I think I did for one of the machines. The other one I am not quite sure but would tend to say no. But I have relogged since and that worked perfectly fine. Pretty sure kwallet is 100% compatible. As you can see from the posts above all issues turn out to be setup/config related. So this issue should really be closes, because it has nothing to do with GitHub desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dbus

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions