Skip to content

$PATH variable wrong #6975

@mmatheson

Description

@mmatheson

Issue Type: Bug

  1. Launch VSCode
  2. Connect to remote development machine using Extension: Remote - SSH v0.84.0
  3. Open integrated terminal

Expected: $PATH matches $PATH I get when connecting via ssh outside of VSCode (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin)

Actual: $PATH contains one entry: /home/matt/.vscode-server/bin/3b889b090b5ad5793f524b5d1d39fda662b96a2a/bin/remote-cli

Outcome: Integrated terminal does not work, extensions that need to use $PATH for things like git do not work

VS Code version: Code 1.69.2 (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:32:39.000Z)
OS version: Darwin arm64 21.5.0
Restricted Mode: No
Remote OS version: Linux x64 5.15.0-41-generic
Remote OS version: Linux x64 5.15.0-1014-azure

System Info
Item Value
CPUs Apple M1 (8 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.07GB free)
Process Argv --crash-reporter-id 1ce41452-6874-4c5a-ae58-e4324fca77e4
Screen Reader no
VM 0%
Item Value
Remote SSH: tailscale-home
OS Linux x64 5.15.0-41-generic
CPUs AMD Ryzen 7 3700X 8-Core Processor (16 x 2200)
Memory (System) 31.26GB (6.08GB free)
VM 0%
Item Value
Remote SSH: devbox
OS Linux x64 5.15.0-1014-azure
CPUs Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (8 x 2800)
Memory (System) 31.35GB (20.54GB free)
VM 0%
Extensions (3)
Extension Author (truncated) Version
remote-containers ms- 0.241.3
remote-ssh ms- 0.84.0
remote-ssh-edit ms- 0.80.0
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaac:30438847
pylanb8912cf:30529770
vsclangdc:30486549

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from postersshIssue in vscode-remote SSH

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions