I’m trying to use VScode remote explorer to connect to projects running on my RPi4 running OSMC but I’m having issues connecting.
Doing some digging in the error logs led me to this VScode Github thread which suggests the issue is probably related to the fact OSMC is using a 64bit kernel but 32bit userland which results in the 64bit version of node being installed which prevents the VScode server from starting.
The workaround described is to temporarily comment out arm_64bit=1
in /boot/config.txt
, install vscode-server and then revert the changes, but when I try that the pi doesn’t boot.
Any suggestions on how I can boot temporarily with a 32bit kernel, it doesn’t need to run Kodi, just need SSH access as a minimum.
My config.txt is stock:
[pi4]
dtoverlay=rpivid-v4l2
arm_64bit=1
kernel=kernel.img
[all]
dtoverlay=vc4-kms-v3d,cma-512
disable_overscan=1
start_x=1
disable_splash=1
disable_fw_kms_setup=1
include config-user.txt
Thanks