Sorry, I must have been confused about 10.04, however the problem still remains, that either from cron, or a remote session such as ssh or telnet, the command returns (and only this - unless there is someway to increase verbosity):
$ nmcli -p con up id hideipvpn
Error: Connection activation failed: Not authorized to control networking.
The connection is NOT marked a "available to all users".
However in a terminal window on the desktop itself, the command works.
When run locally in a desktop terminal :
$ nmcli -p con up id VPN
Active connection state: activating
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/44
state: VPN connecting (3)
state: VPN connecting (getting IP configuration) (4)
Connection activated
Sorry, I must have been confused about 10.04, however the problem still remains, that either from cron, or a remote session such as ssh or telnet, the command returns (and only this - unless there is someway to increase verbosity):
$ nmcli -p con up id hideipvpn
Error: Connection activation failed: Not authorized to control networking.
The connection is NOT marked a "available to all users".
However in a terminal window on the desktop itself, the command works.
When run locally in a desktop terminal :
$ nmcli -p con up id VPN p/NetworkManage r/ActiveConnect ion/44
Active connection state: activating
Active connection path: /org/freedeskto
state: VPN connecting (3)
state: VPN connecting (getting IP configuration) (4)
Connection activated