In the `vglserver_config` script, the function setdripermissions() is called once each with the following parameters:


If the given path does not exist, the function returns immediately. Thus on modern Linux systems it won't do anything, because usage of "/etc/X11/xorg.conf" has been deprecated in favor of multiple arbitrarily named files in the directory "/usr/share/X11/xorg.conf.d/".

Is this intended?

Or should the function possibly create a new file (e.g. "/usr/share/X11/xorg.conf.d/01-virtualgl-dri") when the folder exists but the traditional "xorg.conf" file doesn't?