-
Notifications
You must be signed in to change notification settings - Fork 253
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
Live Share not doing anything on linux #4646
Comments
I have exactly the same issue on a fresh install of Ubuntu 22.04. Worked perfectly on 20.04. On 22.04 it's a new VS Code installation with all settings and extensions being synced from the 20.04 installation. The sync has been deactivated as of now. Uninstalling and reinstalling the extension does nothing useful, nor does the "repair" command (which at least starts, though). Perhaps Ubuntu 22.04 is the culprit? |
I am also having this issue on Arch Linux as well. |
Had exactly the same issue, comented on #180, try to install another libicu package, it might be the cause of the problem (after a fresh install of my old libicu package it showed me this error, i had to install another one) |
This doesn't seem to be the problem on Ubuntu 22.04, as currently there is only one amd64 libicu package available (libicu70 / 70.1-2). |
On Arch Linux installing |
this is not an available fix for ubuntu ^ just as a fyi for anyone else here |
I've enabled debug diagnostics and out for liveshare on an Ubuntu 22.04 installation and got the following:
In particular, note this line:
in my system, libssl v3 is installed:
which means that liveshare is probably not compatible with this version of libssl, and should probably be updated to reflect that. docs/reference/linux.md says that libssl1.0 is required for this extension, but it is not available in ubuntu jammy repositories. Thing is, there's not even an error message for this since openssl is correctly installed in my sytem(v3.0.2, same as libssl) so the hopefully this helps someone figure out how to fix this problem |
I might have found a temporary workaround. It started working for me after I installed Here are the commands:
|
Hey everyone, sorry about this issue and thanks for your patience. I was able to repro this today. When the Live Share buttons don't work, this indicates that the agent is not activated. It should auto-activate, but if it doesn't, we can try to start it manually. You can navigate to the vsls-agent executable by finding it in the When I tried running the executable, it was missing dependencies, which led me to discover that dotnet is not supported for Ubuntu 22.04. This appears to be the reason Live Share is not working. Here is the issue tracking that release: dotnet/core#7038. Hopefully this provides some helpful context about the issue. Feel free to use other supported versions of Ubuntu in the meantime. For future reference, here is our information about Live Share for Linux and the dependencies that are needed. And thanks to everyone helping provide workarounds. In the meantime, I will continue to evaluate the workarounds, and if we find one that works, we can add it to the installation script. |
This one works. Thank you @gorfeelt |
live saver, this works 👍 thanks |
based on the dotnet issue linked i think "dotnet is not supported on ubunut 22.04" is inaccurate. they state dotnet(core) 3.1 and net 5 arent supported net6+ will be supported. So it looks like the solution has to be update liveshare deps to work with dotnet 6+ for any OS that ships with openssl3 by default looks like this will come to a head (all the above workarounds will fall out of date) next september based on release info from openssl directly https://www.openssl.org/source/ |
This one did it for me, thanks for sharing the solution. |
Hi all, I updated the installation script to add libssl1.1 for Ubuntu. This fixed the problem for me when I installed a fresh Ubuntu 22.04, installed Live Share, then ran the script. Thanks for all the contributions! Here is a link to the command and script: https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/linux#install-linux-prerequisites. |
i tried running the script but it failed with
|
I am also unable to install libssl1.1 on Ubuntu 22.04 Desktop, as it is not available as an install candidate. Standard (and rather fresh) install, universe and multiverse are enabled, system is completely up-to-date. The install script linked by @alyssajotice produces the same output as shown by @dermasmid. Not sure why libssl1.1 seems to be available for some installs but not for others? |
@frank-straetz hello, did you well add |
So I investigated this problem for a bit, and it seems like there simply is no libssl1.1 for Ubuntu 22.04, no matter which install we are talking about: https://packages.ubuntu.com/search?keywords=libssl1.1&searchon=names&suite=all§ion=all |
No. In my opinion, this is not a problem resolution, but a workaround / hack. One can not expect all users of VS Code working with Ubuntu 22.04 to add apt repositories of older Ubuntu versions to their sources.list. (And they may not even be able to do so.) Also, this is not even documented as a required workaround at https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/linux#install-linux-prerequisites. |
Thanks a lot, finally works on ubuntu 22.04 LTS |
Any tips for the Snap Just in case, I've just checked and I have all the libs required by the community editions: But still the Live Share on Snap doesn't seem to work. |
Got Live Share working again using the flatpak version on popos. I assume this is because flatpaks package all their dependencies internally. |
This worked for me, Pop!_OS 22.04 LTS |
@alyssajotice could you re-open this issue? The prereq script (#4646 (comment)) is still not installing libssl1.1 on Ubuntu 22.04 in WSL2. The workaround mentioned here #4646 (comment) works in WSL2 as well. ❯ sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
[sudo] password for dp:
(Reading database ... 60161 files and directories currently installed.)
Preparing to unpack libssl1.1_1.1.0g-2ubuntu4_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.0g-2ubuntu4) over (1.1.0g-2ubuntu4) ...
Setting up libssl1.1:amd64 (1.1.0g-2ubuntu4) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link The out of the box experience just doesn't work if you have an Ubuntu 22.04 as your WSL2 distro. I would assume these hits most new installations because people normally choose the latest LTS on a fresh box. I was wondering why it was working on my plain Ubuntu 22.04 installation without any problems, then I remembered that I had to backport libssl1.1 for another application before. Please ensure while testing that you're using a machine that has not backported this already. |
Reopening and reassigning for triage @setaskin. @dariuszparys, in the meantime, you can contribute to the linux-install script here: https://github.com/MicrosoftDocs/live-share/blob/main/scripts/linux-prereqs.sh. |
Impish is EOL, so the Impish version of libssl1.1 is no longer available. However, the LTS Focal version works just as well, and made vslive work for me on Ubuntu 22.04. |
Just merged #4742, this will hopefully resolve the issue. |
@alyssajotice hey, thanks for the follow through, although tbh I'm a little confused as to why installing a package from a prior ubuntu release is the "proper" solution here, even if it does happen to work fine in practice. what exactly depends on precisely |
@joshsleeper I'm not sure at the moment but we can look into a different, more modern package. Reassigning to @setaskin for triage. |
So how did you install this? I'm pretty new to linux so a lot of the information in this thread goes over my head. I tried the installation script that someone else linked but I just ended up with this error message. |
@Andrew-Pynch when you follow this link https://packages.ubuntu.com/focal/amd64/libssl1.1/download (assuming you're on amd64) there are instructions on how to install it. Basically:
After adding this line you just You could automate this in the script, but I feel that this kind of decision on the user's system should be taken by the user itself as Ubuntu 22.04 comes out of the box with libssl3. |
If you're on Jammy, you'll notice the Impish security-repository is no longer available (EOL). Thankfully, someone did build for Jammy in a PPA.
|
On Ubuntu 22.04 Jammy, switching from Impish to Focal in garf-real's work-around worked for me. This avoids a third party ppa and Focal is support until April 2025 so hopefully this solution will be durable. I'm curious to know if this could cause other issues with the Ubuntu 22.04 system.
|
I don't want (or intend) to nag, but is there any update on progress here, even if it's just a direction, or discussion about direction? As I said before, while I def appreciate that installing What I've read seems to imply this could be related to using an older version of .NET Core, although some dialog on adjacent issues over there counters that maybe that's not the case. |
Hi @joshsleeper, we've been working on completely removing our .NET Core dependencies. It is still in the experimental stage but we're getting very close to a full release. I've tested the new experience on a VM with a fresh install of Ubuntu 22.04 LTS. The extension no longer fails on activation. Unfortunately, there is still an issue when you attempt to authenticate in VS Code when sharing/joining a collaboration session. VS Code's native auth also has a dependency on libssl1.1. The authentication gets stuck and never completes. You can follow updates to the investigation in this issue. Until this is resolved, the workaround is still to install libssl1.1 manually on Ubuntu 22.04 |
heck yea, that's really exciting @jramsay! thanks a bunch for the update and references, it's great to know that it's being actively worked on~ |
We’ve made improvements in this area since this issue was filed (i.e. the vsls-agent process and associated .NET dependencies have been removed). We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you. |
@derekbekoe heck yea, that's great news and we really appreciate the hard work! I can confirm that |
Describe what happened:
Live Share basically isn't doing anything. Although it's installed and shows in the left panel and command palette, the buttons in the left panel don't work and the command palette gives a "command liveshare.start not found". I've tried deleting misc stuff to no avail.
What was your system configuration?
Product and Version [VS/VSCode]: VS Code latest 1.66.2
OS Version[macOS/Windows]: Ubuntu 22.04
Live Share Extension Version: v1.0.5527
Target Platform or Language [e.g. Node.js]: Website, not relevant
Steps to Reproduce / Scenario:
Not quite sure to put here? I guess I'll just restate
Please attach logs to this issue:
loggg.zip
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
Screenshots
I think I captured a lot in this screenshot...
The text was updated successfully, but these errors were encountered: