3
1
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):
foo@bar:~$ reboot
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
chrome-remote-desktop:x:1001:foo
Any ideas? Thanks in advance!
Thanks for the info! +1. Your answer would be improved if you were to summarize the actions recommended at your Google Product Forums link, though. – hBy2Py – 2016-03-06T20:53:15.633
Thank you for the comment, Brian. I didn't summarise the actions because they're well described on the linked web page and I thought that wouldn't be necessary. – Rafael – 2016-03-06T23:31:32.770
True. Though, what happens if Google decides next year to toss Product Forums into the circular file? Your answer then gets its key content amputated. Providing at least a quotation of key content from links, in order to avoid this happening, is actually part of the site guidelines for answering questions: "Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline." I stumbled over this at first, too.
– hBy2Py – 2016-03-07T17:36:41.250@Brian, that's a very good point. I've edited the answer accordingly. Thanks! :) – Rafael – 2016-03-07T20:26:39.370
<thumbs-up> Welcome to SuperUser! :-) – hBy2Py – 2016-03-07T20:46:30.153