You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
Today I find that remoteX11.SSH.host and remoteX11.SSH.port are invalid for remote X11. Here I show two tests.
1. The linux(ubuntu) is in the public network and Windows laptop shared network by mobile phone.
The settings of ssh and remote X11: (Here the Remote X11 host and port are invalid)
Then reload the window:
The output of Remote X11 and Remote X11(SSH): (The extention correct the host and port automatically)
Even the DISPLAY number is different, it does work.
2. The linux(ubuntu) is in the local network, but it's 22 port 22 is forwarded to 2222 by the router and the router is in the public network. So I can using the PUTTY or Remote SSH in the Windows to connect the linux.
The settings of ssh and remote X11: (Here the Remote X11 host and port are random)
The output of Remote X11 and Remote X11(SSH): (The extention find the local address of the linux automatically and the the Remote X11 host and port are invalid)
The putty work normally.
I think there may be some strange problems here.😅
The text was updated successfully, but these errors were encountered:
Try setting the remoteX11.SSH.host and remoteX11.SSH.port settings in your remote settings instead of your user settings. From the Settings page, use the "Remote" tab:
I'm not sure why it would be ignoring those settings for you, as I think VS Code should load user settings too, but I intended for those settings to be set on the remote machine so you can set a different host and port for each machine.
Try setting the remoteX11.SSH.host and remoteX11.SSH.port settings in your remote settings instead of your user settings. From the Settings page, use the "Remote" tab:
I'm not sure why it would be ignoring those settings for you, as I think VS Code should load user settings too, but I intended for those settings to be set on the remote machine so you can set a different host and port for each machine.
Today I find that
remoteX11.SSH.host
andremoteX11.SSH.port
are invalid for remote X11. Here I show two tests.The settings of ssh and remote X11: (Here the Remote X11 host and port are invalid)
Then reload the window:
The output of Remote X11 and Remote X11(SSH): (The extention correct the host and port automatically)
Even the DISPLAY number is different, it does work.
The settings of ssh and remote X11: (Here the Remote X11 host and port are random)
The output of Remote X11 and Remote X11(SSH): (The extention find the local address of the linux automatically and the the Remote X11 host and port are invalid)
The putty work normally.
I think there may be some strange problems here.😅
The text was updated successfully, but these errors were encountered: