Skip to content

Can't login to GitHub using the snap version of GitHub Desktop #5606

Closed

Description

@NatoBoram

Description

Can't login to GitHub using the snap version of GitHub Desktop.

github desktop bug

Version

$ snap info github-desktop 
name:      github-desktop
summary:   Extend your GitHub workflow beyond your browser with GitHub Desktop
publisher: Snapcrafters
contact:   https://github.com/snapcrafters/github-desktop/issues
license:   unset
description: |
  Extend your GitHub workflow beyond your browser with our Desktop,
  completely redesigned with Electron. Get a unified cross-platform
  experience that's completely open source and ready to customize.
commands:
  - github-desktop
snap-id:      vxuDrMy9vuqIU5Abf2MQOowf2e09tcm9
tracking:     edge
refresh-date: today at 15:50 EDT
channels:                     
  stable:    –                
  candidate: –                
  beta:      –                
  edge:      1.3.4 (31) 140MB -
installed:   1.3.4 (31) 140MB -
  • Operating system:
$ neofetch --off
nato@HelionUbuntu 
----------------- 
OS: Ubuntu 18.04.1 LTS x86_64 
Kernel: 4.15.0-34-generic 
Uptime: 4 hours, 44 mins 
Packages: 2148 
Shell: bash 4.4.19 
Resolution: 1920x1080 
DE: GNOME 3.28.3 
WM: GNOME Shell 
WM Theme: Adwaita 
Theme: Adwaita-dark [GTK2/3] 
Icons: Ubuntu-mono-dark [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i5-3570K (4) @ 4.100GHz 
GPU: NVIDIA GeForce GTX 660 Ti 
Memory: 6003MiB / 7922MiB 

Steps to Reproduce

  1. sudo snap install github-desktop --edge
  2. Open GitHub Desktop. It takes a while the first time.
  3. Login

Expected Behavior

The login completes successfully.

Actual Behavior

The login fails with the following message : An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.291" (uid=1000 pid=22162 comm="/snap/github-desktop/31/opt/GitHubDesktop/desktop " label="snap.github-desktop.github-desktop (enforce)") interface="org.freedesktop.Secret.Service" member="OpenSession" error name="(unset)" requested_reply="0" destination=":1.20" (uid=1000 pid=1732 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label="unconfined").

Additional Information

I believe it's because of an undeclared capability in the app. It should be as simple as modifying the package.json file by adding an interface.

Logs

... and I noticed I reported at the wrong place. There's already https://github.com/snapcrafters/github-desktop/issues/9.

Activity

  1. shiftkey commented on Sep 11, 2018

    @shiftkey
    Member

    Currently our Linux builds are in preview mode (see this documentation for more details), and we're tracking Linux-specific issues over in my fork so I'm going to close this out for the moment to keep this separate from the main project.

    Please submit this issue there, but keep in mind our Snap image isn't quite ready yet, and being discussed in shiftkey#58

  2. NatoBoram commented on Sep 11, 2018

    @NatoBoram
    Author

    Here you go : shiftkey#59 👍

  3. brunomgalvao commented on Aug 14, 2019

    @brunomgalvao

    I am going through the same problem. Unfortunately the new version does not start on my ubuntu 16.04

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions