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

XMING + Putty on Windows 10 cannot launch VSCODE #35553

Closed
pdewilde opened this issue Oct 3, 2017 · 5 comments
Closed

XMING + Putty on Windows 10 cannot launch VSCODE #35553

pdewilde opened this issue Oct 3, 2017 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster windows VS Code on Windows issues

Comments

@pdewilde
Copy link

pdewilde commented Oct 3, 2017

I am running putty on windows 10 configured to xforward using xming

$ xclock works as expected
but if I do
$ code
I get

[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
code: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted

and nothing shows up.

This is different from #13438 as it is not using WSL.

@vscodebot vscodebot bot added the debug Debug viewlet, configurations, breakpoints, adapter issues label Oct 3, 2017
@isidorn isidorn assigned Tyriar and unassigned isidorn Oct 4, 2017
@isidorn isidorn removed the debug Debug viewlet, configurations, breakpoints, adapter issues label Oct 4, 2017
@Tyriar
Copy link
Member

Tyriar commented Oct 4, 2017

Are you trying to run the Linux version of VS Code under Windows via xming?

@Tyriar Tyriar added info-needed Issue requires more information from poster windows VS Code on Windows issues labels Oct 4, 2017
@pdewilde
Copy link
Author

pdewilde commented Oct 4, 2017

Correct. I am running a Windows 10 machine and using putty with x11 forwarding to ssh into a remote machine. Xming is the xserver on the local Windows machine. I want to work on a remote linux host, and x-forwarding VS Code seemed like a more practical solution than setting up sshfs and ssh to get files and terminal to point to the remote version.

To be more specific, the linux host is running CentOS 7.4.1708 (Core)

I do not have root permissions on the remote machine, so I installed vscode using the tar in my home directory. Currently I am running version VS Code 1.15.0, but could update if you think that would be helpful.

@Tyriar
Copy link
Member

Tyriar commented Oct 5, 2017

Unfortunately we do not support launching VS Code using an X server for similar reasons to why launching in WSL doesn't work. When there is movement on #13138, support for this may be improved.

@Tyriar Tyriar closed this as completed Oct 5, 2017
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 5, 2017
@pdewilde
Copy link
Author

pdewilde commented Oct 5, 2017

Word on the stack overflow grapevine is that VcXsrv works. I'll test it and report back.

@pdewilde
Copy link
Author

pdewilde commented Oct 5, 2017

VcXsrv gives the same error behavior.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 19, 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) info-needed Issue requires more information from poster windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

3 participants