<div dir="ltr">Hmmm, maybe something like this<div><br></div><div><a href="https://social.technet.microsoft.com/Forums/windowsserver/en-US/c8295ef8-3711-4576-9293-2c4965280165/opengl-and-remote-desktop?forum=winserverTS">https://social.technet.microsoft.com/Forums/windowsserver/en-US/c8295ef8-3711-4576-9293-2c4965280165/opengl-and-remote-desktop?forum=winserverTS</a><br><div><br></div><div><p style="border:none;font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;margin:0px 0px 1em;outline:0px;padding:0px;list-style-type:none;color:rgb(42,42,42);font-size:14px">In your batch file make sure you reconnect your session to the physical console before attempting to launch the CAD app. Here is the command:</p><p style="border:none;font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;margin:0px 0px 1em;outline:0px;padding:0px;list-style-type:none;color:rgb(42,42,42);font-size:14px">tscon 1 /dest:console</p><p style="border:none;font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;margin:0px 0px 1em;outline:0px;padding:0px;list-style-type:none;color:rgb(42,42,42);font-size:14px">I am thinking your batch file only needs two lines, something like:</p><span style="color:rgb(42,42,42);font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;font-size:14px">tscon 1 /dest:console</span><br style="color:rgb(42,42,42);font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;font-size:14px"><span style="color:rgb(42,42,42);font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;font-size:14px">start "C:\Program Files\SolidWorks Corp\SolidWorks\sldworks.exe"</span><br style="color:rgb(42,42,42);font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;font-size:14px"><p style="border:none;font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;margin:0px 0px 1em;outline:0px;padding:0px;list-style-type:none;color:rgb(42,42,42);font-size:14px">The first line will disconnect your remote PC and connect the session to the physical keyboard/video/mouse, then the second line will launch the CAD program (substitute your CAD software). After that you wait several seconds for the software to start and then reconnect to the session from your home PC.</p><p style="border:none;font-family:"segoe ui","lucida grande",verdana,arial,helvetica,sans-serif;margin:0px 0px 1em;outline:0px;padding:0px;list-style-type:none;color:rgb(42,42,42);font-size:14px">You should have the batch file Run as administrator. I made an assumption above that the current session id is 1. Your session id may be different--you can use query session at a command prompt to find your session id.</p></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 9:40 AM, Andras Lasso <span dir="ltr"><<a href="mailto:lasso@queensu.ca" target="_blank">lasso@queensu.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_1225443533758083268WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">VTK's OpenGL2 backend works very well through RDP - including volume rendering, even using a client without GPU. The only limitation (an important one) is that
you have to start your application before connecting through RDP.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The only thing to figure out is how to convince applications to start “normally” when connected through RDP.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Andras<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> vtk-developers [mailto:<a href="mailto:vtk-developers-bounces@vtk.org" target="_blank">vtk-developers-<wbr>bounces@vtk.org</a>]
<b>On Behalf Of </b>Ken Martin<br>
<b>Sent:</b> Wednesday, May 10, 2017 8:51 AM<br>
<b>To:</b> Vladimir Engelgardt <<a href="mailto:v.engelgardt@gmail.com" target="_blank">v.engelgardt@gmail.com</a>><br>
<b>Cc:</b> VTK Developers <<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a>><br>
<b>Subject:</b> Re: [vtk-developers] OpenGL backend - 1.1 vs 2.0<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">If you have to support RDP (as opposed to other solutions), and you have to support clients that lack a GPU etc, then you could build your application against Mesa (with OpenSWR or llvm as the renderer) and I believe it should work everywhere
including RDP.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Ideally at run time we could detect this and pick Mesa/Hardware but I don't think anyone has had time to dig into how difficult that would be.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">From what I could find nvidia only supports hardware RDP on their professional cards. It would certainly be nice if vendors would do what they can to support modern OpenGL more broadly in cases like this.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, May 10, 2017 at 6:14 AM, Vladimir Engelgardt <<a href="mailto:v.engelgardt@gmail.com" target="_blank">v.engelgardt@gmail.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<br>
<br>
Problem description: Application uses VTK 7.0 (OpenGL 2 module) for<br>
rendering on Windows platform. But the problem is, that OpenGL 2 has limited<br>
support over Microsoft's Remote Desktop. RDP is a must for our application<br>
(VNC, TeamViewer is not an option). On Win 10 there is an option called 'Use<br>
hardware drivers over RDP' and it works, but for limited set of video<br>
adapters - AMD, Integrated Graphics from Intel and NVIDIA (Tesla, Grid<br>
only).<br>
<br>
Is there any workaround for this problem, i.e. detect GL version at runtime<br>
and use 1.1 or 2.0? If no, we are going to switch for OpenGL 1.1.<br>
<br>
We concern about OpenGL 1.1 support in future versions of VTK. Is it going<br>
to be supported and how long?<br>
<br>
Best Regards,<br>
Vladimir.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/OpenGL-backend-1-1-vs-2-0-tp5743167.html" target="_blank">
http://vtk.1045678.n5.nabble.<wbr>com/OpenGL-backend-1-1-vs-2-0-<wbr>tp5743167.html</a><br>
Sent from the VTK - Dev mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" target="_blank">
http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Ken Martin PhD<u></u><u></u></p>
<div>
<p class="MsoNormal">Distinguished Engineer<br>
<span style="font-size:9.5pt">Kitware Inc.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">28 Corporate Drive<br>
Clifton Park NY 12065<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">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.</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">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.</span></div></div></div></div></div>
</div>