Giter Site home page Giter Site logo

Run on Headless Ubuntu / Debian about zed HOT 6 CLOSED

authzed avatar authzed commented on July 21, 2024
Run on Headless Ubuntu / Debian

from zed.

Comments (6)

andrii-kasparevych avatar andrii-kasparevych commented on July 21, 2024 1

Any solution to this? I'm using WSL2 on Windows, and have just installed zed.
Running the first command from the manual is already a problem, exactly like the author described, except that no matter what I type in, it just re-prompts for pwd 3 times and then exits

from zed.

jzelinskie avatar jzelinskie commented on July 21, 2024

I think this happens sometimes if you ^C or just press enter without any input on the first time you're prompted for the password.

Does this work if you delete the $HOME/.zed directory and try again?

from zed.

c-thiel avatar c-thiel commented on July 21, 2024

Hi @jzelinskie, thanks for the prompt response.
Yes, it also happens when I delete the folder:

rm -rf ~/.zed/
zed context set local localhost:50051 "somerandomkeyhere" --insecure
Entering your password a lot? Try setting the environment variable `ZED_KEYRING_PASSWORD`
Enter passphrase to unlock "/home/XYZ/.zed/keyring.jwt":

from zed.

jzelinskie avatar jzelinskie commented on July 21, 2024

Oh! I think I realized the issue -- the first time zed prompts you for a password is actually the time it's setting the password.

We should probably detect if that's the case and change the text in the prompt so that it's clear.

If you confirm that's the case, I'll open up a PR with a fix.

from zed.

c-thiel avatar c-thiel commented on July 21, 2024

Oh yes, that actually seems to be the issue. Thanks!

from zed.

krosn avatar krosn commented on July 21, 2024

Any solution to this? I'm using WSL2 on Windows, and have just installed zed. Running the first command from the manual is already a problem, exactly like the author described, except that no matter what I type in, it just re-prompts for pwd 3 times and then exits

I got around this for now by setting the removing the ~/.zed directory, setting the environment variable, and then running the "zed context set ..." command again.

Though I was also able to get it working by just clearing the directory and specifying a new password like jzelinskie mentioned. You just need to re-enter the same password each time (it's set the first time).

For context, I am also using WSL2 on windows.

from zed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.