Closed justin-gerhardt closed 3 years ago
Thanks! I'll try to test this on a linux to linux connection soon.
And the Linux Laptop I'd been using for testing just died... may take me a while to either repair it or find something else I can use to run VS Code on Linux.
@joelspadin Maybe you could test it using a Linux virtual machine?
I have several Raspberry Pis laying around, so I'm going to try it on those first, but using a VM is a good idea if that doesn't work.
I almost have a working setup to test this using a Raspberry Pi 4, but VS Code keeps crashing even without any extensions installed. Looking at the issues in the VS Code repo, it looks like some improvements for 32-bit ARM are incoming, so I'll try again after the January update is released.
I still haven't gotten this working on my Raspberry Pi yet, but from what little debugging I'm able to do before VS Code crashes on me, it looks like it is properly talking with xauth. Since I've verified this works on Windows, and since Linux doesn't work without it so it can't possibly make that any worse, I'm going to go ahead and merge it. Thanks!
I figured out what I was missing. I needed to change the connection type to Unix socket. I'll change the default to be an "auto" mode that picks TCP on Windows and Unix sockets otherwise.
Support authenticating to the X11 server using MIT-MAGIC-COOKIE-1 tokens generated by xauth. Fixes https://github.com/joelspadin/vscode-remote-x11/issues/21