Windows Command Prompt vs. Systray Icon
I had a few of my users ask why the Windows OpenVPN connection was in a Command Prompt window and not just a Systray Icon with a status window.
You know, that's a great question. I was going to look into the code and see what it would take, but of course I do that I figured I'd ask if anyone looked into that yet.
I'm sure it's not a high priority, so if I did it, would you like me to diff against HEAD or a specific version/tag? 2.0b4?
Thanks for the insight!
Signature · 1 line
-bk
Quoted 11 lines · Brandon Knitter
I had a few of my users ask why the Windows OpenVPN connection was in a Command Prompt window and not just a Systray Icon with a status window.
You know, that's a great question. I was going to look into the code and see what it would take, but of course I do that I figured I'd ask if anyone looked into that yet.
I'm sure it's not a high priority, so if I did it, would you like me to diff against HEAD or a specific version/tag? 2.0b4?
Thanks for the insight!
It can be run as a service. It is documented.
--
vda
Quoting Denis Vlasenko <[email protected]...>:
Quoted 4 lines
Quoted 2 lines
I had a few of my users ask why the Windows OpenVPN connection was in a Command Prompt window and not just a Systray Icon with a status window.
It can be run as a service. It is documented.
I guess this makes sense for the server/gateway side, but I don't think I want to force my users to have to start and stop a service each time they want to connect to the office VPN, right-clicking is a pretty cool option for starting the VPN. Furthermore, since they still have to enter their password to the client certificate, I'm not sure how they would be prompted for such as a service is not really designed to interact with the desktop in such a way.
I can't find the documentation on the service setup, I'll keep searching, but I'm pretty sure that the service setup is intended for the server/gateway side of things.
Thanks,
bk
Quoting Denis Vlasenko <[email protected]...>:
Quoted 4 lines
Quoted 2 lines
I had a few of my users ask why the Windows OpenVPN connection was in a Command Prompt window and not just a Systray Icon with a status window.
It can be run as a service. It is documented.
I think implementing a systray icon to controll OpenVPN would be a great feature.
Running OpenVPN as a service does not make it much easier or more userfriendly than the normal way, except that you don't have to see the console window.
As a technician I love the way OpenVPN is designed and operate today, but my users also ask for a gui to controll OpenVPN as the console window just scares them!
I think it would be cleanest if such a gui could be created as a standalone application that just calls the openvpn binary. What I'm not clear about with such a setup is how the gui should be able to communicate with openvpn to check it's status, and recieve error messages?
Signature · 4 lines
_____________________________________________________________ Mathias Sundman (^) ASCII Ribbon Campaign NILINGS AB X NO HTML/RTF in e-mail Tel: +46-(0)8-666 32 28 / \ NO Word docs in e-mail
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
I had a few of my users ask why the Windows OpenVPN connection was in a Command Prompt window and not just a Systray Icon with a status window.
I think it would be cleanest if such a gui could be created as a standalone application that just calls the openvpn binary. What I'm not clear about with such a setup is how the gui should be able to communicate with openvpn to check it's status, and recieve error messages?
I'm actually considering a very simple SysTray icon which would print all the STDOUT messages to a little textbox rather than a cmd prompt window. I don't think it would be terrible difficult, and adding in a little "Close Session"
button which mimics the F4 (SIGTERM?) action would ne simple. You'd still get
all the messages and such, but it would minimize to the systray rather than a cmd prompt.
Any thoughts out there? Developers? Should I waste my time?
--
-bk