The VNC Manager - SmartCode Solutions Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Activate Openvpn connection prior to VNC... Expand / Collapse
Author
Message
Posted 1/8/2008 7:41:27 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/9/2008 1:38:52 AM
Posts: 2, Visits: 2
Under VNC client settings I have created a script with the following command (openvpn-gui --connect office.ovpn).
The intention is to connect the VPN prior to connecting with VNC.
The command activates and the openvpn connection is made correctly, normally the openvpn gui would close and then the VNC connection should be made.
However at this stage it locks up with the openvpn-gui status window open. No response from Smartcode Manager.
I can only crtl-alt-del and kill the smartcode application.

Any help would be appreciated.

Post #1863
Posted 1/9/2008 12:39:34 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 7:37:56 AM
Posts: 820, Visits: 1,328
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.

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.



Kindest Regards,
SmartCode Solutions Support

Post #1866
Posted 1/9/2008 1:41:40 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 1/9/2008 1:38:52 AM
Posts: 2, Visits: 2
Support (s-code) (1/9/2008)
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.

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.

 

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.

Not worry I'll do it manually ie start the openvpn when required.

 

Post #1867
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Support (s-code), Alex (s-code)

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 4:15am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.219. 10 queries. Compression Disabled.