X11 forwarding within cursor

I am working on java code on a remote system and am using libraries like javafx and joptionpane, but in order to run those scripts I have to open a terminal window and manually create a ssh -X connection and export the DISPLAY environment variable, I have tried putting ForwardX11 yes in the sshconfig used by cursor, but the debugger still does not have DISPLAY set

1 Like

I have the same problem; from windows 11 with WSLg (window system for linux with graphics) I can run ssh -X remote and display X11 applications, but I cannot get cursor from my window 11 machine to make an X11 connection so that the agents or my terminals within cursor to use this remote display from my remote-ssh connection to my local computer. Why is this so hard to include this option in remote-ssh?

Just to add that X11 Forwarding is not dead :slight_smile: .

I have a headless Linux server that I administer remotely and do some development work on it – it’s much easier just to type the name of the program into the shell prompt and have the application display its window on VcXsvr than need to use Cursor for all my day to day admin work, on the off chance I’ll need to use it to go in and make a few tweaks to an application.

That’s why the Remote SSH “solution” really is a non-starter for someone like me.

VSCode happily lets the remote window manager manage its window (and puts up with it – it’s not too proud).

I’d rather use Cursor, though. But currently, that’s impossible due to this needless (as proven by Microsoft, much as I’m loath to give them any credit) restriction.