VirtualGL issues on Ubuntu 20.04

1,117 views
Skip to first unread message

Emanuel

unread,
Jun 8, 2021, 2:55:53 PM6/8/21
to VirtualGL User Discussion/Support

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

Spencer Bliven

unread,
Jun 8, 2021, 4:08:31 PM6/8/21
to virtual...@googlegroups.com
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
--
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/e50ac683-7012-45d8-a77e-591926a14cf0n%40googlegroups.com.

DRC

unread,
Jun 8, 2021, 6:51:49 PM6/8/21
to virtual...@googlegroups.com

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.

DRC

unread,
Jun 8, 2021, 6:53:30 PM6/8/21
to virtual...@googlegroups.com

You should definitely use VirtualGL 2.6.5, since Ubuntu 20.04 is not supported with VirtualGL 2.5.x.  Did you re-run vglserver_config after installing VirtualGL 2.6.5?

--

David Fuentes

unread,
Jun 28, 2021, 10:58:30 AM6/28/21
to VirtualGL User Discussion/Support
Hi, thank you for your response.  We installed VirtualGL 2.6.5 on Ubuntu 20.04 and are still getting this error " [VGL] ERROR: Could not open display :0 "
What error logs/install logs should be looking for possible errors ?

On prior release, we solved this by attaching a monitor, but we have a monitor attached and are still getting this error for this release ?

Emmanuel, can you please confirm your re-run vglserver_config ?

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal
$ ll  /opt/VirtualGL/
total 8
lrwxrwxrwx 1 root root   30 Nov 17  2020 doc -> /usr/share/doc/virtualgl-2.6.5/
drwxr-xr-x 2 root root 4096 May 19 11:07 include/
drwxr-xr-x 2 root root 4096 May 19 11:07 bin/
$ vglrun glxgears
No protocol specified
[VGL] ERROR: Could not open display :0.

Reply all
Reply to author
Forward
0 new messages