I have a xubuntu virtual machine, when it's booted to xfce4, I connect to it via SSH.When I try to use nmcli, it complains:%> nmcli con up myvpnError: Connection activation failed: Not authorized to control networking.Anyone know how to fix that? I've tried to setup some environment variables, like XAUTHORITY or DBUS_SESSION_BUS_ADDRESS, I don't know what's missing here.EDITIt works with sudo, but now I got another problemError: Connection activation failed: no valid VPN secretsI don't use gnome keychain, but seems like root user can't read the plain text password
Use nmcli without X interface
networkmanager;nmcli