Thanks for the response.

I've tried on two different machines:
(1)  Windows 10 Pro 20H2 Build 19042.928, with WSL2 Ubuntu 20.04. 
(2) Windows 10 Home insider program Build 21370.co_release.210424-1611, 
insider Developer program Nvidia Driver 470.25  (the combination of these 
two give GPU pass through abilities), with WSL2 Ubuntu 20.04.

They both have the same behavior where /etc/opt/VirtualGL/vgl_xauth_key is 
never generated.

I'm hoping to get this to work as our team is looking to standardize on VGL 
for our development process. Each team member has a different computer 
setup (some linux, some Mac, some Windows/WSL2, some local, some remote). 
Hopefully we can get it working on WSL2...

Thanks again.

On Thursday, May 6, 2021 at 12:17:35 PM UTC-4 DRC wrote:

> Using WSL as a VirtualGL server platform isn't officially supported, 
> because it doesn't make sense in production VirtualGL environments to use a 
> Windows workstation as a virtual Linux server.  However, there is no 
> technical reason why it shouldn't work.
>
> Issue #65 (the necessity to use LightDM on Ubuntu 16.04 and later) was 
> worked around in VirtualGL 2.6.2, so that issue is no longer relevant in 
> the latest releases of VirtualGL.
>
> I need to reproduce the issue before we can proceed, so please specify the 
> version of Ubuntu you are using.  Also, please make sure you are using the 
> latest release of VirtualGL.
>
> On 5/6/21 11:02 AM, southern.cross wrote:
>
> Has anyone had success in getting VGL to work on any version of WSL2 
> Ubuntu?  
>
> The VGL installation is not making /etc/opt/VirtualGL/vgl_xauth_key
>
> The following told me to use lightdm: 
> https://github.com/VirtualGL/virtualgl/issues/65
>
> I successfully completed:
>
> sudo systemctl disable gdm3
> sudo apt install lightdm
>
> But  not,
> sudo systemctl enable lightdm
>
> I get:
>
> root@SEDACS29L:~# systemctl enable lightdm
> Synchronizing state of lightdm.service with SysV service script with 
> /lib/systemd/systemd-sysv-install.
> Executing: /lib/systemd/systemd-sysv-install enable lightdm
> The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
> Alias= settings in the [Install] section, and DefaultInstance= for template
> units). This means they are not meant to be enabled using systemctl.
>
> Possible reasons for having this kind of units are:
> • A unit may be statically enabled by being symlinked from another unit's
>   .wants/ or .requires/ directory.
> • A unit's purpose may be to act as a helper for some other unit which has
>   a requirement dependency on it.
> • A unit may be started when needed via activation (socket, path, timer,
>   D-Bus, udev, scripted systemctl call, ...).
> • In case of template units, the unit is meant to be enabled with some
>   instance name specified.
>
> If I proceed and try to run,
>
> /opt/VirtualGL/bin/vglserver_config -config -s
>
> even after a wsl --shutdown and relaunch I cannot get 
> /etc/opt/VirtualGL/vgl_xauth_key to be created.
>
> Google searches have not shown any results of VGL being used with WLS2 
> Ubuntu... Is this not a supported use case?
>
> Thanks in advance.
>
> -- 
> 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/34f961d5-dcad-4a07-9624-1c36512faf88n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/virtualgl-users/34f961d5-dcad-4a07-9624-1c36512faf88n%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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/virtualgl-users/437080c3-c011-492b-ba07-90ceb62f2ccdn%40googlegroups.com.

Reply via email to