I'm trying to remotely login to the desktop of our mcuxpresso headless build server Linux machine (which I've never done before). I'm able to ssh -X in, launch tightvncserver (having chmodded ~/.Xauthority), work out the port number from the log file, and then use Windows Remote Desktop to get VNC access to a grey desktop (via the port). Basically, I can get in and navigate the desktop (e.g. edit text files etc) OK, so everything is looking as though it ought to work.
However, when I try to right-click-launch mcuxpressoide from the desktop --> Applications --> Development, it silently refuses to start up. The vnc log file reports a single enigmatic error message:
env: ‘SWT_GTK3’: No such file or directory
So the problem is almost certainly that, like running mcuxpressoide from the command line, I need to set SWT_GTK3=0 (to force it to use GTK2 rather than GTK3). To do this, I suspect I need to edit some .ini file somewhere (maybe /ide/mcuexpresso_ide.ini ?) to forcibly set the environment variable SWT_GTK3=0, but I can't see where or how.
What am I missing here? Thanks!