-
Notifications
You must be signed in to change notification settings - Fork 308
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
ENV cannot take effect #10614
Labels
ssh
Issue in vscode-remote SSH
Comments
@heartacker Could you share your Remote - SSH log? What happens if, after connecting, you open up a new terminal? Does the environment variable get set? @meganrogge This setting should be honored, right? |
Yes, does it reproduce locally? |
I find some var can take effect "terminal.integrated.env.linux": {
"DISPLAY": "acker.XXXXXX.xin:0"
"VSCODE_PC_ID": "rog"
}, mylog
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
setting[Optional] Diagnose with Copilot
I did not ask the @remote-ssh participant for help
In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?
I did not try step 2 of the troubleshooting steps
Remote-SSH Log
I have add setting to my remote config-folder .vscode/setting.json
and i open the bash,
echo $DISPLAY
, it still be:0
Expected Behavior
acker.xxxxxx.xin:0
Actual Behavior
0
Steps To Reproduce
also , i set this config to my local vscode setting.
i get the same result
Anything else?
No response
The text was updated successfully, but these errors were encountered: