Note: this is a Unty3D app, not Unity desktop.
I have a small app (no more than a rotating cube) that works fine on my ubuntu 18.04.3 machine and now I want to launch it from a windows machine via MobaXterm and have the output show up on my windows desktop. I have so far failed.
I checked in the sshd_config to see if XForwarding is set, answer: yes. and all other settings seem correct. x11 works mostly.
All the usual trial apps work fine (gedit, xclock etc, all show up no problem) and if I set the unity app to throw up a screen resolution selector dialog, that shpws up fine as well but as soon as it gets to the main event, the problems start.
when I launch with a simple ./exe_name, I get a 'No protocol specified' message and the app shows up in the process list with the cpu at 100% so it is obviously doing something evil. The unity player log shows: Desktop is 0 x 0 @ 0 Hz No protocol specified
So I checked the DISPLAY environment variable. it is set to 11 so I launched with: DISPLAY=:11.0 ./exe_name
and it no longer gives me a 'no protocol specified' message but it doesn't seem to run either. The log gives me this:
Display 0 'default 42"': 3840x1080 (primary device). Desktop is 3840 x 1080 @ 0 Hz Unable to find a supported OpenGL core profile Failed to create valid graphics context: please ensure you meet the minimum requirements E.g. OpenGL core profile 3.2 or later for OpenGL Core renderer No supported renderers found, exiting (Filename: Line: 618)
The primary device shown there is my dual monitor desktop on my local machine so it is definitely trying to launch over here but why can't it find OpenGL? Is there someplace else I can look to get more info?