The first thing to try, as indicated in the "Sanity Check" section of the docs (https://cdn.rawgit.com/VirtualGL/virtualgl/master/doc/index.html#hd006002), is:
xauth merge /etc/opt/VirtualGL/vgl_xauth_key xdpyinfo -display :0 That may reveal the underlying cause of the problem. If the xauth command fails, then check the following: - Make sure that your installation of MDM keeps its initialization script in the standard place (/etc/mdm/Init/Default). I've tested Linux Mint before, so it should work, but maybe they moved something in a more recent release. - Make sure that /etc/mdm/Init/Default is being modified properly by vglserver_config. It should have a 'vglgenkey' line at the top if all is well. - Edit /etc/mdm/Init/Default and add 'echo here >/tmp/here', then restart the display manager and verify that /tmp/here is created. If not, then the display manager isn't executing the initialization script as it should. This is known to be an issue with some versions of GDM: https://bugzilla.redhat.com/show_bug.cgi?id=851769. Maybe the issue creeped into MATE as well? (I hope not.) - Make sure you added yourself to the vglusers group and logged out/logged back in to activate the new group permissions. - Edit /etc/mdm/Init/Default and redirect the output of vglgenkey to a file. Restart the DM and look at the file to see if there are any error messages reported by vglgenkey. This is generally the process I use when diagnosing failures to access display :0. Thus far, I have yet to encounter such a failure that wasn't due to one of the issues above. On 8/1/17 9:54 AM, stage...@msu.edu wrote: > Hi All, > I have setup a headless server with 2 - Nvidia GTX 1080i video cards > using Linux Mint 18.1 as the OS. I am using the Nvidia 384.59 drivers. > Output from nvidia-xconfig --query-gpu-info: > Number of GPUs: 2 > > GPU #0: > Name : GeForce GTX 1080 Ti > UUID : GPU-cc7afa9d-a61d-950a-0f45-511bd6f1f340 > PCI BusID : PCI:4:0:0 > > Number of Display Devices: 0 > > > GPU #1: > Name : GeForce GTX 1080 Ti > UUID : GPU-def710e8-b54f-d87d-be43-538d7395c0d8 > PCI BusID : PCI:65:0:0 > > Number of Display Devices: 0 > > Pertinent output from lspci: > 04:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1) > 41:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1) > > I am using the default mdm display manager (comes stock with linux mint) > When I plug a monitor into the computer directly all video functions > work correctly (glxgears, glxinfo, etc..) > > I setup the vncserver and then use the vncviewer to connect to the > headless server. When I try to execute vglrun glxgears I get the error: > [VGL] ERROR: Could not open display :0. > I have ran the vglserver_config script with stopping the following > modules: nvidia_drm, nvidia_uvm, nvidia_modeset, and nvidia. I also > stopped the killed the nvidia persistence process prior to the setup > along with mdm. The config seemed to complete perfectly and I have > restarted the computer. > > I appreciate any further advice with this issue. > Thank you, > > Marshall Stageberg > Michigan State University ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users