FS#76483 - [code] Running CLI commands broken due to missing ELECTRON_RUN_AS_NODE=1

Attached to Project: Community Packages
Opened by Martin Rys (C0rn3j) - Tuesday, 08 November 2022, 08:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 08 November 2022, 20:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Running VSC with --list-extensions parameter fails on Linux through SSH if X is not running

See upstream bug report for details https://github.com/microsoft/vscode/issues/165614, which turns out to be fault in Arch's packaging

Steps to reproduce:
Works: `/usr/bin/code --list-extensions`

Doesn't: `ssh localhost '/usr/bin/code --list-extensions'` (on Wayland)

Adding ELECTRON_RUN_AS_NODE=1 before the exec command in the bundled .sh launch script makes it work again.
This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 08 November 2022, 20:00 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#75667 
Comment by Martin Rys (C0rn3j) - Tuesday, 08 November 2022, 08:51 GMT

Loading...