Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging in on a headless machine throws strange error #690

Closed
TylerLeonhardt opened this issue Jan 27, 2022 · 3 comments
Closed

logging in on a headless machine throws strange error #690

TylerLeonhardt opened this issue Jan 27, 2022 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@TylerLeonhardt
Copy link
Member

run this inside a container or something headless:

npx vsce login

Get the following:

ERROR  Cannot autolaunch D-Bus without X11 $DISPLAY

I know that you can specify a PAT instead, this error could be caught and suggest that.

@joaomoreno joaomoreno added the bug Issue identified by VS Code Team member as probable bug label Jan 27, 2022
@joaomoreno
Copy link
Member

joaomoreno commented Jan 27, 2022

Repro:

$ docker run -it node:lts bash
# apt update && apt install libsecret-1-0
# npx vsce login foo

@joaomoreno
Copy link
Member

joaomoreno commented Jan 27, 2022

Going with the following warning:

image

@joaomoreno joaomoreno added this to the January 2022 milestone Jan 27, 2022
@joaomoreno
Copy link
Member

Fixed by a332618

Released in 2.6.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants