I installed VirtualGL in our server using the root user. this server has 
Nvidia GPUs in the machine that other users use.
Ubuntu 18.04.5 LTS
TurboVNC version: 2.2.6
VirtualGL version: 3.0beta1

Configuration settings are set as:
n/n/Y

This is because with (Y/Y/Y) settings, the non-root users were not able to 
access 'nvidia-smi'.
I have added the users in "vglusers" groups. But still not able to do 
anything.

I am using TurboVNC to connect to this server. When I run the server on the 
root user, I am able to use the viewer. However, when I start the server 
using a non-root user, the Viewer shows a black screen.

Looking into this, I figured the error should be with the VirtualGL and not 
with the TurboVNC.

As a root user, I tried the three sanity checks.


*xauth merge /etc/opt/VirtualGL/vgl_xauth_key xdpyinfo -display :0 
/opt/VirtualGL/bin/glxinfo -display :0 -c *

I did not restrict 3D X server access.
As a root user, I am unable to run the first sanity check:
*xauth: (argv):1: merge: unable to open file 
/etc/opt/VirtualGL/vgl_xauth_key*

However, the 2nd and 3rd sanity check gives me outputs.

Everything with TurboVNC seems to be working well with the root user.

However, with the non-root users I am unable to run any of the sanity 
checks. I get this error:

*No protocol specified xdpyinfo: unable to open display ":0". *

Similarly, this command works as a root user but does not work as a 
non-root user:
*/opt/VirtualGL/bin/glxspheres64*

I have tried this with both lightdm as well as gdm as default display 
manager with the same issues.

How can I go about getting the non-root users to be able to run VirtualGL?

Thank you

-- 
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/086f9e18-0f30-4064-a3fd-dfc9e36c028fn%40googlegroups.com.

Reply via email to