Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

I can't get past gnome-keyring unless I'm in a desktop #335

Closed
mark-hahn opened this issue Apr 4, 2015 · 6 comments
Closed

I can't get past gnome-keyring unless I'm in a desktop #335

mark-hahn opened this issue Apr 4, 2015 · 6 comments

Comments

@mark-hahn
Copy link

When I have no desktop running and I do apm starred or apm publish it asks for the token over and over and the publish doesn't work (starred does). In the desktop I get a pop-up asking for the keyring password and then it works.

I've tried setting ATOM_ACCESS_TOKEN with no luck. I've also tried setting the keyring password to blank.

Is there any way to tell apm to just not use the keyring at all and store the token itself? Using ATOM_ACCESS_TOKEN would also be fine if it worked.

@thomasjo
Copy link
Contributor

thomasjo commented Apr 4, 2015

Is the gnome-keyring daemon running?


Please provide some more context and/or details next time. Since I came here directly from the discussion on Discuss I know the details about this running on a Chromebook etc, but hardly anyone else would have that context. Makes it easier for people to help out 😄

@mark-hahn
Copy link
Author

sorry, I'm usually better at this.

There is no daemon running. Googling gnome-keyring-daemon gave instructions way over my head. Can't I just use something like ATOM_ACCESS_TOKEN?

@thomasjo
Copy link
Contributor

thomasjo commented Apr 4, 2015

Judging from the relevant source code, it does look like that should work regardless of gnome-keyring. How did you set ATOM_ACCESS_TOKEN?

@mark-hahn
Copy link
Author

I did ...

ATOM_ACCESS_TOKEN="abcdefgh..."
apm starred

I sure hope I'm not doing some really stupid linux-newbie thing.

@mark-hahn
Copy link
Author

Damn. It was a newbie thing. Adding export ATOM_ACCESS_TOKEN fixed it. Now I need to study up on what export means.

I'm truly sorry for the trouble.

@thomasjo
Copy link
Contributor

thomasjo commented Apr 4, 2015

Glad it got sorted!

export makes a variable available to child processes. See http://www.gnu.org/software/bash/manual/bash.html#index-export.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants