I'm connecting to my remote server running Xubuntu. When I log in directly to the box, all is fine - the problem appears when I connect using Chrome Remote Desktop. If I try and do anything important (e.g restart, change networks, install software) through the GUI I get a permissions error. For example trying to enable my OpenVPN connection returns:
VPN Connection Failed Not authorized to control networking
In terminal, it seems I'm logged in as my usual user. But I can't reboot (can't remember if this normally requires sudo - changing networks certainly doesn't):
reboot: Need to be root
As soon as I sudo I can do anything through the command line - but this doesn't do me any good for all the stuff in the GUI I'd like to be able to do remotely.
I tried adding my user to netdev, but that didn't solve the problem:
foo@bar:~$ groups foo adm cdrom sudo dip plugdev netdev lpadmin sambashare chrome-remote-desktop
My theory is that I'm not actually logged in as my user, or that the GUI at least is being triggered by another user that doesn't have proper permissions.
How can I find out what "user" has triggered the xfce session I'm in?
How can I give that user appropriate permissions? I know it's poor practice to add non-root users to root but I'm tempted ;)
Looked for a chrome-remote-desktop user but that doesn't seem to exist - although there is a group by that name:
foo@bar:~$ grep 'chrome-remote-desktop' /etc/group
Any ideas? Thanks in advance!