9

I installed Live Share in VS Code but it is not showing me the login window, instead a tab for it appeared which has 2 buttons but they are not responding.

Here is the image

BoredBoi
  • 143
  • 1
  • 2
  • 7

6 Answers6

13

I ran into the same problem today. I'm not sure what causes this error but as suggested in a related VSCode issue I used the repair command that comes with the Live-Share extension:

  • Open VSCode's command prompt:

    ctrl + shift + p

  • Enter the following command:

    >Live Share: Repair Installation

  • Follow further instructions

This fixed the problem for me.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Matthias S.
  • 174
  • 4
  • 11
3

For Ubuntu 22.04, issue is reported here:

A solution/workaround is as follows (from here):

echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt update
sudo apt install libssl1.1
noisy
  • 6,495
  • 10
  • 50
  • 92
  • I've got `Err:8 http://security.ubuntu.com/ubuntu impish-security Release 404 Not Found [IP: 185.125.190.39 80]` – Mauricio Sep 06 '22 at 22:18
  • This solution worked for me, with a slight modification. I'm pretty sure that, at least on Ubuntu 22.04 now, the above will result in: `E: The repository 'http://security.ubuntu.com/ubuntu impish-security Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default.` You need to change `security` to `old-releases`, resulting in: `echo "deb http://old-releases.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list` As mentioned, this has security implications. – pydrink Sep 26 '22 at 18:49
3

For Manjaro (possibly also Arch) icu69 was missing. Installing it sorted it for me. (It stopped working out of the blue after an update - not really sure why - probably some dep that changed somewhere...)

froderik
  • 4,642
  • 3
  • 33
  • 43
2

I got the same problem and solved it by installing some missing package on linux. linux-tips-by-distribution See this site if you run vscode in linux too.

Anton Ping
  • 21
  • 2
2

I had the same problem on a Macbook with M1 chip, I tried the other answers but they didn't work and the solution for my case was to install rosetta software (seems like liveshare depends on some Intel specific things till now)

So in the terminal, just run:

softwareupdate --install-rosetta
Ahmed Elkoussy
  • 8,162
  • 10
  • 60
  • 85
0

If the Live Share plugin doesn't have the Linux dependencies installed it can fail silently. This presents as there being no way to sign in to Live Share and the buttons in the question seemingly not working.

In my experience this was the problem when I used an Alpine Linux base image for the Devcontainer. By Switching to a recent Ubuntu base container and rebuilding my Devcontainer (and GitHub Codespace), followed by the above answer of reparing the installation it worked.

I recognise I could have spent time figuring out the missing dependencies, but it was quicker for me to just change the base image, YMMV.

To summarise

1) Ensure the base image in the Dockerfile to one supported by Live Share such as Ubuntu
2) Repair the installation using the command pallet

References

Sam
  • 602
  • 1
  • 6
  • 10