Azure / Azure/static-web-apps-cli

swa cli fails in WSL2 with - X11 host DESKTOP-5VOB2BG:6000 is not reachable

Open
#544 1 comment 0 reactions 1 assignee Claimed by @Reshmi-Sriram View on GitHub
command: login status: duplicate
Dominant language
TypeScript
Stars
668
Forks
156
PR merge metrics
No merged PRs in 30d

Description

Version: 1.0.2

running `swa deploy` in WSL2 results in
```
✖ X11 host DESKTOP-5VOB2BG:6000 is not reachable.
✖ An X11 server is required when keychain is enabled. You can disable keychain using --no-use-keychain or try a different login method.
```

**Expected behavior**
This is resolved with using the `--no-use-keychain`, but its just additional friction for developers new to the service that feels very unnecessary!

**Screenshots**
![image](https://user-images.githubusercontent.com/1034202/183963506-82ce6030-35de-44fd-9d16-808d1b34a6f5.png)

**Desktop (please complete the following information):**

- OS: Windows11 WSL2 (Ubuntu 20.04)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.