Login  Register

Re: Using Jogl for offscreen image composing (no GUI)

Posted by tarto on Jul 29, 2015; 3:31pm
URL: https://forum.jogamp.org/Using-Jogl-for-offscreen-image-composing-no-GUI-tp4034993p4034996.html

Hello Sven
Thank you for the answer, it put me on the right track I think. The whole X11 topic is very new to me, but: I installed Xorg (which was not apparently), and when I log with X-forwading, this assigns a value to the DISPLAY variable which seems to solve the issue as GLProfile.getDefault() is executed correctly, and a proper GLProfile is set.
However it is not the case when user is not connected with X-forwarding.

>Yes, we need one WM available .. if supported on the platform.
>Here it seems X11 is available but no server running?
>In this case, just kick-off an offscreen FB server instance
>to satisfy the desktop GL library.

It seems my issue is to keep a value for DISPLAY somehow (It seems I can not having X11 server running, as startx gives me some errors I need to dig into).
But when you say an "offscreen FB server instance", are you refering to a VNC ? Do you have some reference that I could look into ?

Thanks again.