That is incorrect advice.  VirtualGL (at least the current version) requires two X servers:

The 3D X server runs on the server machine and is used only to access the server-side GPU. vglserver_config is used to grant access to the 3D X server while the display manager is sitting at the login prompt.

The 2D X server can be either a real client-side X server or a server-side X proxy (such as VNC or Xpra.)  The 2D X server is used to display the non-OpenGL portions of the application's GUI and to display rendered images of the OpenGL portions of the application's GUI.  Those images are delivered to the 2D X server by VirtualGL using an "image transport."

At no point is 'ssh -X' invoked directly in a VirtualGL workflow.  If using a client-side 2D X server, then the VGL Transport is recommended.  That requires invoking 'vglconnect' on the client, which wraps 'ssh -X' but also automatically starts the VirtualGL Client (vglclient.)  If using a server-side X proxy as a 2D X server, then the X11 Transport is recommended, and SSH X forwarding is irrelevant.


On 6/8/21 3:08 PM, Spencer Bliven wrote:
Looks like you don't have X11 running. Most likely you forgot the -X option when connecting with ssh. Try running `xeyes` or similar to verify that you have X11 working. After that vglrun should work.

-Spencer

On 8 June 2021 at 20:55:55, Emanuel ([email protected] <mailto:[email protected]>) wrote:

I need some help with how to resolve the vglserver_config/vglrun  issue below.

Installing VirtualGL 2.5.1 on Ubuntu 20.04 has been problematic. I have tried VirtualGL 2.6.5 as well on Ubuntu 20.04 but no luck.

VirtualGL 2.5.1 install on Ubuntu 18.04 works.

 A reboot after running vglserver_config on Ubuntu 20.04 results in a blank screen with a blinking cursor; system comes back up on the network however - which allows me to run the vglrun command.

server:opt/apps/tigervnc/1.10.1/usr/bin$ vglrun glxgears

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

server:/opt/apps/tigervnc/1.10.1/usr/bin$ lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description:    Ubuntu 20.04.2 LTS

Release:        20.04

Codename:       focal

--
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/virtualgl-users/e50ac683-7012-45d8-a77e-591926a14cf0n%40googlegroups.com <https://groups.google.com/d/msgid/virtualgl-users/e50ac683-7012-45d8-a77e-591926a14cf0n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/virtualgl-users/CA%2BP6arnuHWHFvTpU1VCjGfWLw9owx3G%2B7kfT0xDu-wy5QFbr%2Bw%40mail.gmail.com <https://groups.google.com/d/msgid/virtualgl-users/CA%2BP6arnuHWHFvTpU1VCjGfWLw9owx3G%2B7kfT0xDu-wy5QFbr%2Bw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/virtualgl-users/36d1836f-0145-a24f-ec6a-ddef716afb51%40virtualgl.org.

Reply via email to