Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

DISPLAY not set #16

Open
reactormonk opened this issue May 22, 2020 · 4 comments
Open

DISPLAY not set #16

reactormonk opened this issue May 22, 2020 · 4 comments
Labels
needs more info Further information is requested

Comments

@reactormonk
Copy link

Logs on "Remote X11":

Setting up display for remote "ssh-remote".
Connecting to SSH user@host 2

Logs on "Remote X11 (SSH)":

Connecting to user@<ip> port 22

Settings (on localhost):

    "remoteX11.display": 1,
    "remoteX11.SSH.authenticationMethod": "agent",
    "remoteX11.SSH.agent": "/run/user/1003/gnupg/S.gpg-agent.ssh"

The last two settings are grayed out however.

@joelspadin
Copy link
Owner

Grayed out settings usually mean that the extension providing them (in this case, Remote X11 (SSH)) is either disabled or not installed. Clearly it's both enabled and installed since you're seeing logs from it though, so I don't know why that's happening.

Try enabling the remoteX11.SSH.verboseLogging setting and check if it logs anything more useful. There should normally be something after "Connecting to user@ip post 22" in the logs. My best guess is it's not properly talking to the SSH agent, but without the verbose logs it's impossible to tell.

If it is an issue with the SSH agent, you could also check through the issues for the SSH library I use to see if you can find anything relevant there. I pass whatever you set for remoteX11.SSH.agent directly to ss2 and let it handle it.

@joelspadin joelspadin added the needs more info Further information is requested label May 23, 2020
@reactormonk
Copy link
Author

The setting remoteX11.SSH.verboseLoggin is greyed out as well. "Remote X11 (SSH)" is enabled locally and "Remote X11" is enabled on the remote machine. The settings JSON file I open is via "Preferences: Open Settings (JSON)".

@joelspadin
Copy link
Owner

What version of the extensions do you have? If you have versions earlier than 1.3.2, then the remoteX11.SSH.verboseLogging setting doesn't exist, and if they are earlier than 1.3.0, the authenticationMethod and agent settings don't exist either.

If you do have the latest version (1.3.4), try using the settings UI rather than the settings JSON file.

@soul667
Copy link

soul667 commented Apr 19, 2023

caonima****wdnmdsb you bug buxiushiba

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs more info Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants