|
From: Bowie F. <bow...@ya...> - 2013-02-08 17:07:45
|
I cross-compiled openvpn-gui.exe for Microsoft Windows 64-bit OS using Ubuntu 12.10, 64-bit. The following are the tools I used: mingw-w64-1.0-bin_x86_64-linux_20120227.tar.bz2 openssl-1.0.1c.tar.gz openvpn-gui-2.tar.gz mingw-w64-tools which contains the gendef tool winhttp.dll (copied from Microsoft Windows 8, 64-bit) I was able to cross-compile the Windows executable without problem. I uninstalled OpenVPN 2.3 from my Microsoft Windows 8, 64-bit, English OS. Using regedit, I manually removed OpenVPN-GUI folder containing registry entries from HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN-GUI I reinstalled OpenVPN 2.3, this time making sure that I did not select to install the bundled OpenVPN-GUI. After successful installation, I copied my cross-compiled openvpn-gui.exe to C:\Program Files\OpenVPN\bin. I also copied the config files to C:\Program Files\OpenVPN\config I double-clicked the said executable. A tiny icon appeared on the bottom right-hand corner of my screen. I right-clicked on the openvpn-gui icon, moved the cursor to the gateway that I wished to access and a menu popped up. There were items like: Connect, View Log, Edit Config and Change Password. I clicked on Connect and was able to access the internet via the selected gateway. I wanted to disconnect the gateway. I right-clicked on the tiny openvpn-gui icon located on the bottom right-hand corner of my computer screen, navigated to the connected gateway and a menu popped up with the the following items: Disconnect, Show Status, View Log, Edit Config and Change Password. I clicked on Disconnect and a window popped up containing the following error message: CreateProcess failed, exe= 'C:\Program Files\OpenVPN\bin\openvpn.exe” cmdline='openvpn –config”” --service 13f000001798 0 --log”” auth-retry interact --management 0.0.0.0 0 stdin --management-query-passwords --management-hold dir=” The above error message did not appear if I double-clicked the tiny icon, a window popped up containing the log of the gateway connection and I clicked on Disconnect. The window that popped up had 3 buttons: Disconnect, Reconnect and Hide. I was able to reproduced the error message on a Microsoft Windows 7, 64-bit platform. Any help to resolve the above issue would be most appreciated. Note: If you wish to see the JPEGs of the error message, please click the following link: http://www.ziddu.com/download/21542698/opg.zip.html |