﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>The VNC Manager - SmartCode Solutions Forum / General Discussion / SmartCode VNC Manager  / Activate Openvpn connection prior to VNC Connection / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>The VNC Manager - SmartCode Solutions Forum</description><link>http://www.s-code.com/forum/</link><webMaster>forums@s-code.com</webMaster><lastBuildDate>Sat, 20 Mar 2010 04:02:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Activate Openvpn connection prior to VNC Connection</title><link>http://www.s-code.com/forum/Topic1863-3-1.aspx</link><description>[quote][b]Support (s-code) (1/9/2008)[/b][hr]During an action script execution, the VNC Manager launches the script and waits for the launched process to finish. This operation is performed in the main thread. So if launched application stays in memory, the VNC Manager would appear to be hanging, since its main thread is blocked waiting for the application to quit. Most probably this behaviour will be improved, so the VNC Manager wouldn’t hang in such cases.&lt;P&gt;I took a look at OpenVPN and it looks like a GUI application sitting in the tray. This would explain why the VNC Manager is hanging. This is not the case when you establishing normal VPN connection via rasdial.exe console command.[/quote]&lt;P&gt; &lt;P&gt;OK I understand, I did note that either running the script or a bat file does not close when the connection is made therefore it would lock Smartcode Manager.&lt;P&gt;Not worry I'll do it manually ie start the openvpn when required.&lt;P&gt; </description><pubDate>Wed, 09 Jan 2008 01:41:40 GMT</pubDate><dc:creator>cpufix</dc:creator></item><item><title>RE: Activate Openvpn connection prior to VNC Connection</title><link>http://www.s-code.com/forum/Topic1863-3-1.aspx</link><description>During an action script execution, the VNC Manager launches the script and waits for the launched process to finish. This operation is performed in the main thread. So if launched application stays in memory, the VNC Manager would appear to be hanging, since its main thread is blocked waiting for the application to quit. Most probably this behaviour will be improved, so the VNC Manager wouldn’t hang in such cases.&lt;/P&gt;&lt;P&gt;I took a look at OpenVPN and it looks like a GUI application sitting in the tray. This would explain why the VNC Manager is hanging. This is not the case when you establishing normal VPN connection via rasdial.exe console command.</description><pubDate>Wed, 09 Jan 2008 00:39:34 GMT</pubDate><dc:creator>Support (s-code)</dc:creator></item><item><title>Activate Openvpn connection prior to VNC Connection</title><link>http://www.s-code.com/forum/Topic1863-3-1.aspx</link><description>Under VNC client settings I have created a script with the following command (openvpn-gui --connect office.ovpn).&lt;br&gt;The intention is to connect the VPN prior to connecting with VNC.&lt;br&gt;The command activates and the openvpn connection is made correctly, normally the openvpn gui would close and then the VNC connection should be made.&lt;br&gt;However at this stage it locks up with the openvpn-gui status window open. No response from Smartcode Manager.&lt;br&gt;I can only crtl-alt-del and kill the smartcode application.&lt;br&gt;&lt;br&gt;Any help would be appreciated.&lt;br&gt;&lt;br&gt;</description><pubDate>Tue, 08 Jan 2008 19:41:27 GMT</pubDate><dc:creator>cpufix</dc:creator></item></channel></rss>