[vtkusers] Remote Desktop and the VTK window

Andras Lasso lasso at queensu.ca
Mon Feb 26 11:46:49 EST 2018


See a batch file (start.bat) that closes the remote desktop connection and immediately starts the application (and some more discussion about the issue): https://issues.slicer.org/view.php?id=4252

This works, you don’t need to wait 1 minute but you can reconnect immediately. However, this approach is unusable for debugging (when you may need to restart the application in every few minutes and reconnect the debugger) and Windows remote desktop does not handle multiple monitors very well either, so I just ended up using a third-party remote desktop application.

Andras

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Ken Martin
Sent: Monday, February 26, 2018 11:33 AM
To: Shawn Waldon <shawn.waldon at kitware.com>
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Remote Desktop and the VTK window

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<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.nomachine.com&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=DL%2BvlijgsINsjXao7gebXuZw0aSyuq03xAy0JA1SQKk%3D&reserved=0>  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<mailto: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<mailto: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<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=rwkLCa9WhcTQOGBchAqs5cSjK2MEupFT%2BREQ5ctenkg%3D&reserved=0>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=G0QIKGcyxVLgmyusJf4rpft1KjjBfn4boxAfsb7dwoA%3D&reserved=0>

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=SgsOQydkKLwE6PCgNqnqh6XdH62yypGiX%2BMxIz8O4Jo%3D&reserved=0>

Search the list archives at: http://markmail.org/search/?q=vtkusers<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=wfFOdx9Q5StKABND%2F%2FGqx0wpJoEZEYKmuBh57MEfQtU%3D&reserved=0>

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=t5yM%2Frpjm%2Bia%2F8s4p2KmJ0OJJ8VTSKffKCBxl%2BaalVE%3D&reserved=0>


_______________________________________________
Powered by www.kitware.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=rwkLCa9WhcTQOGBchAqs5cSjK2MEupFT%2BREQ5ctenkg%3D&reserved=0>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=G0QIKGcyxVLgmyusJf4rpft1KjjBfn4boxAfsb7dwoA%3D&reserved=0>

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=SgsOQydkKLwE6PCgNqnqh6XdH62yypGiX%2BMxIz8O4Jo%3D&reserved=0>

Search the list archives at: http://markmail.org/search/?q=vtkusers<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=wfFOdx9Q5StKABND%2F%2FGqx0wpJoEZEYKmuBh57MEfQtU%3D&reserved=0>

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7Ca930d8c43969497e220608d57d36a969%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636552596078211057&sdata=t5yM%2Frpjm%2Bia%2F8s4p2KmJ0OJJ8VTSKffKCBxl%2BaalVE%3D&reserved=0>



--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180226/3d99ed49/attachment.html>


More information about the vtkusers mailing list