← Back to issue list

GitKraken fails with XAUTHORITY error (Ubuntu 18.10)

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1822910
Type
issue
State
open
Author
~william-full-moon
Labels
—
Created
Updated
Closed
—

Current evaluation

User reports GitKraken snap won't start on Ubuntu 18.10 (Electron XAUTHORITY warning, ~/snap/gitkraken/138 not a directory) and asks for a configurable snap data dir plus a store 'Report Bug' button; untriaged, no maintainer response.

Suggested action: close not a bug

Reason: The failure is not in snapcraft: the quoted 'cmd_run.go:521: WARNING: XAUTHORITY ...' and 'cannot create user data directory: /home/william/snap/gitkraken/138' messages come from GitKraken's own Electron app inside the third-party (Axosoft) snap, and a search for 'gitkraken' across snapcraft's commit history returns no matching commits — snapcraft only builds/publishes snaps, it does not ship this one. The two asks in the body are likewise out of scope for this repo: relocating the ~/snap data directory to $SNAP_USER_DATA is a snapd/conf confinement design decision (snapcraft has no say), and the '[Report Bug]' button on store pages belongs to the store website, not the packaging tool. The issue should be redirected to the GitKraken snap publisher and snapd.

Evaluated by: mr-cal-bot

Impact: 20 Quick Win: 5 Complexity: 35 Confidence: 68 Actionability: 35

Issue body

I recently installed GitKraken on this workstation which runs Ubuntu 18.10 evidently from the snap store since it came via the 'Software' manager program. When it clicked on GitKraken on the menu, nothing happened. So I tried the command line: $ gitkraken --help 2019/04/03 10:49:18.133084 cmd_run.go:521: WARNING: XAUTHORITY environment value is not a clean path: "/data/home/william/.Xauthority" cannot create user data directory: /home/william/snap/gitkraken/138: Not a directory This directory is at $HOME=/home/william anyway so the first thing is that the package is making its own decisions about my environment. When I change partitions or hardware it will probably fail once more because the directory assumption has become invalid. The second thing is I NEVER EVER want to see a "$HOME/snap" folder as litter in a home directory. My preference would be to see something like: export SNAP_HOME="$HOME/.config/snap" So is there some way to change or configure an environment variable to Do just that. Point to "$HOME/.config/snap"? In addition to other things, some projects actually require config information in a different path (location). If this stuff is fixed as it seems to be the whole snap concept is of little value to our workflow. Mind you we only have 4 linux users, if you want more people to move off windows (where I can install the GitKraken via the electron store) I really recommend you consider making these things flexible and effective. Finally, the fact that GitKraken can't run at all is a bug. It took me a significant amount of time to find a place or link to "report bugs and errors". If you wish to know about errors, then a nice big button in the top-right corner of each snap page with [Report Bug] might encourage people to tell you something doesn't work imho. Hopefully you can correct these points or at least offer options for people to keep a tidy development environment and home directory set-up.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 20
Quick Win: 5
Complexity: 35
Confidence: 68
Actionability: 35
close not a bug User reports GitKraken snap won't start on Ubuntu 18.10 (Electron XAUTHORITY warning, ~/snap/gitkraken/138 not a directory) and asks for a configurable snap data dir plus a store 'Report Bug' button; untriaged, no maintainer response.
stealth/space-bunny-alpha
Impact: 12
Quick Win: 1
Complexity: 72
Confidence: 68
Actionability: 30
close not a bug GitKraken snap won't start (XAUTHORITY warning, ~/snap/gitkraken/138: Not a directory); also asks for a configurable snap data dir and a store bug-report button. Unlabeled, no maintainer response.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 15
Complexity: 45
Confidence: 78
Actionability: 55
needs triage GitKraken will not start on Ubuntu 18.10, reporting an XAUTHORITY warning and ~/snap/gitkraken/138: Not a directory; this unlabeled report has no maintainer triage.
qwen/qwen3.8-27b
Impact: 10
Quick Win: 6
Staleness: 95
Complexity: 40
Confidence: 70
Support Request: 75
close stale GitKraken snap fails to launch on Ubuntu 18.10 with an XAUTHORITY warning and a user-data-directory error; reporter asks for a configurable snap home path. Unlabeled, zero comments, no maintainer activity in ~7 years; the failure is snapd/app-side, not snapcraft.
qwen/qwen3.6-35b-a3b
Staleness: 100
Complexity: 20
Confidence: 90
Support Request: 60
close stale GitKraken fails to launch on Ubuntu 18.10 due to XAUTHORITY and snap directory path errors. User requests configurable snap home paths and better bug reporting UI.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 95
Support Request: 80
close stale User reports GitKraken snap fails to launch on Ubuntu 18.10 due to XAUTHORITY warning and snap directory creation errors. Requests configurable snap home path. Unresponded to for over seven years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 100
Complexity: 15
Confidence: 95
Support Request: 65
close stale GitKraken snap fails to launch on Ubuntu 18.10 due to XAUTHORITY and snap directory path errors. Unlabeled, no maintainer response, inactive for over 7 years.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.