vnserver is installed and running on a headless Ubuntu Mate 15.04 box. My normal process is to ssh to the box an execute a script which starts the server thuly:
Code:
vncserver -kill :1
vncserver -geometry 1400x850 -depth 24
This seems to work fine and I can connect from another PC using vinagra as the viewer.
However, my account, which has adminstrator privileges on the remote box, does not seem to have its privileges in the vncserver session. For example I cannot activate a VPN from network manager and when I attempt to run software updates - which do not normally require authentication - I am prompted to authenticate. If I attempt to shutdown or restart the box from the panel icon I am asked to authenticate.
I can also connect to the box using x11vnc. The will take me to the "real" display and requires me to logon. When I do this I have my normal privileges.
Is there a way to increase the privileges granted to a vncserver session to match those of the user who initiated the session? I especially want to be able to control the VPN connections.
Thanks,
Ken