5

I installed VNC server on my Ubuntu 18.04 pc, however I cannot enable the cloud connectivity. As per the docs I need to run commands with sudo to start the VNC server in service mode. So I tried this command:

sudo systemctl enable vncserver-x11-serviced.service

But when I try to login to the VNC server desktop application, it says "Administrative privileges are required for this operation"

What am I doing wrong here?

Thanks

xarlymg89
  • 2,552
  • 2
  • 27
  • 41
Baker Street
  • 71
  • 1
  • 3

2 Answers2

12

You need to tell VNC what the email address / credentials are to use

The tool to download is VNC Connect here. Download this and run the .deb file on the laptop.

Once installed, from the command line run

sudo vnclicensewiz

This starts the gui where you enter your RealVNC account details.

You then need to start the server on the laptop. Test it with

sudo systemctl start vncserver-x11-serviced.service

starting the service temporarily.

To start the service on every boot, do

sudo systemctl enable vncserver-x11-serviced.service
Noel Evans
  • 8,113
  • 8
  • 48
  • 58
-2

Perhaps running gksudo vncserver-x11 would do the trick for you. Here you have a similar example (I'd say that this is actually a duplicate post and that question and answer were what you were looking for):

https://askubuntu.com/questions/148395/how-do-i-get-around-administrator-priviliges-are-required-for-this-task-when-ins

xarlymg89
  • 2,552
  • 2
  • 27
  • 41