[vtkusers] Remote Desktop and the VTK window

David E DeMarle dave.demarle at kitware.com
Mon Feb 26 11:38:23 EST 2018


Besides the above options, software mesa gl can work.

You can build or more simply grab dlls from
https://github.com/pal1000/mesa-dist-win, put the dll's into place, set an
environment variable or two, and then the VTK app will bypass the system
opengl and the gpu. Rendering is unlikely to be fast though.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Feb 26, 2018 at 11:33 AM, Ken Martin <ken.martin at kitware.com> wrote:

> A few options I have heard of
>
> 1) On windows 10 nvidia supports OpenGL 3.2 with remote desktop IF you
> have quadro cards. I do not believe they support it on regular consumer
> cards :-(
>
> 2) (I apologize for this one in advance) Some people have created small
> batch files that launch the application one minute later. So you remote
> desktop into the system. Fire off the batch file. Close the RD connection.
> The batch file starts the application with local OpenGL which is
> accelerated. Then a minute later you RD back in and your app is running
> well.
>
> 3) (what I do) Use nomachine https://www.nomachine.com  It works across
> Windows/linux/OSX and since it is video based it seems to always work.
>
>
>
>
>
>
>
> On Mon, Feb 26, 2018 at 11:13 AM, Shawn Waldon <shawn.waldon at kitware.com>
> wrote:
>
>> Hi Doug,
>>
>> Windows 10 supports OpenGL 3.2 (which VTK's OpenGL2 backend uses) over
>> remote desktop... but it depends how the user initially logs into the
>> machine.  If the initial login is over remote desktop, Windows decides "you
>> don't need any graphics resources" and doesn't initialize the graphics
>> card.  In this case, you get the behavior you describe where VTK crashes
>> upon initialization.  However, if you initially log in locally and leave
>> the session up, logging in over remote desktop gets the initialized
>> graphics resources and VTK applications work fine.
>>
>> Unfortunately I don't have a good solution for you if the developers who
>> work from home are always working remotely.  Hopefully this helps though,
>>
>> Shawn
>>
>> On Mon, Feb 26, 2018 at 10:55 AM, Doug Hoppes <dhoppes at mbfbioscience.com>
>> wrote:
>>
>>> Hi all,
>>>
>>>
>>>
>>>                 Got a question.  A number of our developers work from
>>> home.  The way that they run our vtk application is by using VPN into our
>>> work network and then use a remote connection into their machines.
>>>
>>>
>>>
>>>                 The VTK application is using OpenGL2 and everybody is
>>> running Windows 10.
>>>
>>>
>>>
>>>                 The issue is that the VTK window crashes immediately on
>>> startup of the window.  Is there some documentation about how we should be
>>> able to run a VTK application via remote desktop?
>>>
>>>
>>>
>>> Doug
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> https://vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://vtk.org/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180226/a6c5fe66/attachment.html>


More information about the vtkusers mailing list