-
Notifications
You must be signed in to change notification settings - Fork 9
Cant set up display #7
Comments
I have some changes to add more logging that I haven't published yet. I'll try to publish a new version soon and then hopefully it will give more info to go on, since I can't tell what's wrong from what you've written. |
I just published version 1.1.0 with improved logging. The Remote X11 (SSH) logs now print the output from the SSH server, which should hopefully tell us why it's timing out. |
With the new version launching X apps just hangs, also found out that any interactive program hangs on load (doesn't open and hangs) as well
If I uninstall both |
Can you provide logs from the Output panel (Ctrl+Shift+U) for "Remote X11" and "Remote X11 (SSH)"? From my experience, GUI programs hanging without displaying anything usually means the application is sending things to the forwarded display, but the X server on the local machine isn't receiving them. Other things to check:
# Set the location and display number of your X server
export DISPLAY=localhost:0
# SSH with X forwarding
ssh leo@linux -X
# GUI programs should now display locally
xclock
|
Remote X11:
Remote X11 (SSH):
|
Based on that, it sounds like the traffic is making it through the SSH connection to your local PC, but then either I'm not routing it to the correct place or something like a firewall is blocking it. I don't have anything that runs macOS, so I can't test how an X server behaves on it. I have a few more ideas though:
|
@ChaosinaCan I'm having a similar problem on my macbook, and I think it's because we have to route it to somewhere else than MacOS doesn't come with X server out of the box, we use Xquartz instead. In this case, I have to set |
I was thinking I should just replace the display/screen settings with a single one where you write the full |
That sounds about right |
Have you solved this problem, recently I have this problem too. |
I just published version 1.5.0, which changes to using a Unix socket to communicate with the X11 server on Linux and macOS. It is now working for me on Linux, but I don't have any way to test on macOS. Could you check if this is fixed now? |
I can confirm that the issue still exists in the latest version. |
I came across the related problem, under macOS 10.15.7 + VS code 1.54.3 + Remote X11 1.5.0. Under settings 1+2.1, the xeyes GUI tool hang for a long time and the xquart doesn't show out; under settings 1+2.2, the xquart inited and it worked. The setting 2.1 was set, as I misunderstood the README The other settings modified: |
Hi @ddzhang3 The latest MacOS vs code (Remote - SSH) don’t need this extension anymore. Check my environment for your reference: XQuartz: 2.8.0_beta1 (xorg-server 1.19.7) Summary of ~/.ssh/config: ForwardX11 yes
ForwardX11Trusted yes |
First of all, thank you for your work on this extension.
Im running vscode
1.43.2
onmacOS 10.15.4
and connecting with a remote session to aUbuntu 18.04.4 LTS (GNU/Linux 5.3.0-42-generic x86_64)
server.Remote X11
:Remote X11 (SSH)
(Server IP was modified for the example):It doesnt start the
X11
session:The text was updated successfully, but these errors were encountered: