How to use VirtualGL without running an application on display 0 first?

39 views
Skip to first unread message

Niklas

unread,
Jan 9, 2019, 12:14:08 AM1/9/19
to VirtualGL User Discussion/Support

I am using vncserver to connect to a CentOS7 machine in the network. In order to make use of 3D graphics accelerations I am using VirtualGL. So any OpenGL program needs to be launched with vglrun to make use of OpenGL.

This works like a charm but only if I log myself in on DISPLAY 0 and launch at least one OpenGL application beforehand. In other words:

If I

  • reboot the machine,
  • directly start a vncserver and
  • connect to it with a client,

no OpenGL application is working and I get the error

[VGL] ERROR: Could not open display :0.

As soon as I log myself in on DISPLAY 0 and start an OpenGL application the error does not occur anymore until the machine is rebooted again.

My question:
How can I run OpenGL applications with vglrun without first running an OpenGL application on DISPLAY 0 after rebooting the machine?

DRC

unread,
Jan 12, 2019, 10:00:43 AM1/12/19
to virtual...@googlegroups.com
Have you run vglserver_config as specified in the User’s Guide?
--
You received this message because you are subscribed to the Google Groups "VirtualGL User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to virtualgl-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/virtualgl-users/cf80e31d-e4b8-4547-9a67-46bb6b7140ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages