Can't Launch Tunnel on Remote Server or Connect to VSCode Tunnel

Describe the Bug

Hi all,

My IT group is forcing us to use tunnels instead of SSH connections for remote development. They want use to run ‘code tunnel …’ on the remote machine and then connect from VSCode on our local machine. When trying the same command with cursor, I get an error:
(base) [joj144@compute-gc-17-246 software]$ ./Cursor-1.1.6-x86_64.AppImage tunnel user login --provider microsoft
[576879:0630/141654.583346:ERROR:ozone_platform_x11.cc(246)] Missing X server or $DISPLAY
[576879:0630/141654.583410:ERROR:env.cc(257)] The platform failed to initialize. Exiting.
Segmentation fault (core dumped)
(base) [joj144@compute-gc-17-246 software]$

Seemingly because this is a no-display remote server. When I try to set up the tunnel with code and then connect through Cursor on my local machine, I get errors in Cursor “Could not fetch remote environment” and “Failed to connect to the remote extension hot server”.

Which one of these is the right way to do this?

Steps to Reproduce

  1. Download Cursor AppImage
  2. scp AppImage to remote machine
  3. Run AppImage

Expected Behavior

I should be able to either launch a tunnel with Cursor or connect to one launched with ‘code’ from Cursor on my local machine.

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6
VSCode Version: 1.96.2

Does this stop you from using Cursor

Yes - Cursor is unusable