If I wanted to use x2go client to tunnel into another machine that I have on my local lan (opensuse 13.2 running x2go server), so that I can launch a vpn (pptp) to my work computer (not local)… which permission do I need to allow in Security Center and Hardening?
Currently, I get an error “Failed Not Authorized to control networking”, when I try to launch the vpn using x2go.
If I am local on the computer (not using x2go) the vpn works fine, there is only one user and that user does have root rights.
I don’t know anything about x2go, although I do connect to remote servers via a PPTP VPN. This could be a polkit privledge issue. Are you using network manager?
You might need to show (explicitly) all commands/steps used with activating the connection. (It’s not clear to me at least from what you posted so far.)
pkaction --action-id org.freedesktop.NetworkManager.network-control --verbose
org.freedesktop.NetworkManager.network-control:
description: Allow control of network connections
message: System policy prevents control of network connections
vendor: NetworkManager
vendor_url: http://www.gnome.org/projects/NetworkManager
icon: nm-icon
implicit any: no
implicit inactive: yes
implicit active: yes
yes NetworkManager 0.9.10.0-3.1.4 along with several others ;
-openvpn (same version), -pptp (0.9.10.0-2.2.2), -vpnc (same version)
In order to activate
I click the network icon (bottom right) of the KDE desktop
my work connection is already setup: so I selection the available network and select CONNECT, then I immediately get the Failed to Activate " Not aurhorized to control networking" message.
Hmmm… when you first configured your PPTP connection, did you select ‘All users may connect to this network’? Maybe a ‘system connection’ will behave differently to a ‘user connection’, since the privileges are different. Anyway, easy enough to go back and check/change if necessary.
yep, I deleted the connection and tried again both when using x2go. Fail.
I also logged out of x2go, connected with the keyboard, video, mouse;
created a new connection.
new ensuring that I selected to allow all users.
tested it, it connected while I was logged in as jason.
logged out.
tunneled again with x2go
tried to connect
got the error
and I double checked that user jason had root rights prior to starting…
I retried, this time giving the user jason every right as shown in yast > user and group management, no change. Fail.
The real issue is that Network Manager is preventing user configuration via X2Go to be able to facilitate a VPN connection. It’s not clear to me how to gain the necessary privileges. As long as the OP isn’t running a root session then connecting via X2Go run as root is acceptable but annoying.
***Note: As of this writing, if you’re using x2go client there is an issue with network-manager an D-bus.
This can occur if network-manager and network-manager-openvpn were installed after the system was setup.
Try editing /etc/NetworkManager/NetworkManager.conf and change managed=false to managed=true as below, then reboot.
I can’t really offer any further advice other than what has been posted already. If it was me, I’d try as suggested in post #11, and check behaviour. You can always revert the configuration again if it doesn’t help.