December 9th, 2011, 01:17 PM
OK. It sounds like you start this gui program by clicking an icon, or perhaps through a menu item driven by a mouse.
When you do this, you are not the superuser. So you can't make changes.
Associated with this gui program is a command. You need to find the command so that you can run it from a terminal with
Now, if the gui interface flashes on and immediately closes it might be hard to find. You'll have to find the command by investigating the icon or menu system. That might take some work.
Another way to find the command, if the gui stays visible, is to
1) start a terminal session. xterm perhaps.
2) Execute the command ps xau making sure there is a way to view the output later.
ps xau >& /tmp/1st_ps_command
or use the scroll bar.
3) start the vpn gui with your mouse.
4) go back to your terminal window. Use ps xau again.
5) Look for differences between the outputs from ps
6) Among the differences you can probably find the command invoked by your mouse.
7) Now that you know the command, you can shut down the useless vpn gui window.
8) go back to your xterm window. Enter the command, but stick sudo in front of it. (you'll need to enter the root password) Now your VPN GUI is running as root enabling you to make changes.
Or I could be completely wrong. I'm not sitting at your console.
I like to look at the processes in tree form, and I like to see the entire command. Instead of using ps xau (and, by the way, the arguments to ps vary substantially between flavors of unix) I have the alias from earlier post. Then I only have to type the command PS to get the information I usually like to see.