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

VS Code "and still" won't open in a Linux xrdp session #35530

Closed
MaximoTrinidad opened this issue Oct 3, 2017 · 3 comments
Closed

VS Code "and still" won't open in a Linux xrdp session #35530

MaximoTrinidad opened this issue Oct 3, 2017 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) install-update VS Code installation and upgrade system issues

Comments

@MaximoTrinidad
Copy link

I still can't believe that twice this issue has been closed without any resolution:
#12233
#27369

In my own opinion, this still an open issue!

So, if a Windows Admin decide to remote connect to a Linux box, so they can't use VS Code.

  • VSCode Version: 1.17.0
  • OS Version: Ubuntu 16.04.3

Steps to Reproduce:

  1. Setup *xrdp:
sudo apt-get install tightvncserver
sudo apt-get install xrdp
sudo apt-get install xubuntu-desktop
echo "xfce4-session" > ~/.xsession
sudo gedit ~/.xsession
sudo service xrdp restart

*note: It's known that xrdp works only on 2D desktops, so either MATE and xubuntu need to be installed.

  1. From Windows use RDP app to connect to Linux.

  2. Open Code, but won't open and there are no errors displayed.

Workaround:
This time around I resolved the issue by narrowing the following Hack in two steps:

  1. Copy the system file 'libxcb.so.1.1.0' to the VS Code Insider folder:
copy /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 /usr/share/code-insider
  1. Last execute the sed stream editor command to alter value:
sudo sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' /usr/share/code-insider/libxcb.so.1.1.0

After these step were completed, I was able to open VS Code Insider on a xrdp session.
must important I didn't have to alter the system file "libxcb.so.1.1.0" as in previous posts was done in the "/usr/lib/x86_64-linux-gnu/" location.

(Below image shows implemented hack)
xrpd_vscode

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added the install-update VS Code installation and upgrade system issues label Oct 3, 2017
@chrmarti
Copy link
Contributor

chrmarti commented Oct 3, 2017

We seem to be tracking this as #3451 as you might be aware.

@chrmarti chrmarti self-assigned this Oct 3, 2017
@MaximoTrinidad
Copy link
Author

Hi @chrmarti,

Thanks for the heads up!

:)

@chrmarti
Copy link
Contributor

chrmarti commented Oct 4, 2017

I'm closing this as a duplicate of #3451. This is not to say that it is fixed, but that there already is an issue tracking it.

@chrmarti chrmarti closed this as completed Oct 4, 2017
@chrmarti chrmarti added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 4, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) install-update VS Code installation and upgrade system issues
Projects
None yet
Development

No branches or pull requests

2 participants