VNC Server wont work on a new Ubuntu Desktop Install

Hello.

We have Ubuntu 22.04 LTS (GUI) and have just tried to install VNC Server 6.9.1 Deb

On starting the program we get 'Authentication needed to run '/etc/vnc/vncservice' as a super user' but on Authenticating nothing happens. I cant see a service running either.

Ive tried disabling Wayland to no avail.

Can anyone help?

1

Comments

10 comments
  • Same problem. Haven't tried disabling Wayland though.

    This is a from-scratch (empty disk) install of Ubuntu 22.04.

     

     

    0
    Comment actions Permalink
  • On another forum post , "How do I get started with VNC Connect on Linux?", there is the folowing

    posting. I'll try this later today.

     

    Using the Setup Helper Script

    For the best experience, we recommend that you download and run the vncsetup-helper script:

    1. Open a Terminal.
    2. Change directory to the download location, e.g.
      cd ~/Downloads
    3. Extract the contents
      tar -xzf vncsetup-helper.tar.gz
    4. Execute the script
      sudo ./vncsetup.sh
    0
    Comment actions Permalink
  • That worked. Ive not checked it restarts on a reboot, but it works now. Thankyou.

    0
    Comment actions Permalink
  • Thanks for the info about the script.  Saved me from a ton of frustration and headache.

    0
    Comment actions Permalink
  • I tried this method but did not work for me. I found this did work:

    https://help.realvnc.com/hc/en-us/articles/4417193011857-How-do-I-disable-Wayland-to-use-VNC-Connect-

    1
    Comment actions Permalink
  • I got vnc server to work in ubuntu this link

    https://techviewleo.com/install-realvnc-server-and-client-on-ubuntu/

    now just download the vnc viewer in pc and remember to install the gnome desktop for viewing a desktop. I thought that it what I purchased realvnc for, it does not have its own desktop environment?

    0
    Comment actions Permalink
  • I have the same problem Ubuntu 22.10 with VNC Server 7.0.1

    The "vncsetup.sh" file which was mentioned above no longer seems to be present in the VNC Server tarball.  Instead there is a file called vncinstall (without any .sh at the end) which can be run by opening its folder in terminal and typing ./vncinstall

    In terminal after doing that it looks like VNC Server is installing.

    However VNC Server still doesn't launch after it is installed that way.

    1
    Comment actions Permalink
  • Hi, I just wanted to add to this thread as I'm having exactly the same problem. 

    I've downloaded the server from https://www.realvnc.com/en/connect/download/vnc/

    and I'm trying to run it on a clean copy of Ubuntu 22.04.3 LTS.

    It installs okay, and when I run the application it says authentication is needed to run '/etc/vnc/vncservice' as the super user. I input my password and that's it, nothing happens.

    Any help would be gratefully received.

    Thanks

    0
    Comment actions Permalink
  • Same problem here folks. It's installed and the service is active. But I can't license it because launching the app just asks for super user auth and then nothing happens.

    0
    Comment actions Permalink
  • I also have the same problem, after launching VNC nothing happens after the authentication. As far as I researched, real VNC has no CLI to run the licensing process, it should be done using the GUI, but the GUI doesn't open.

    I was able to lauch a GUI using the command "vncserver-x11", but for some reason that GUI has no button to initiate the licensing process.

    I also found this command "sudo /etc/vnc/vncservice start vncserver-x11-serviced" to open the "correct" GUI, but also nothing happens.

    If someone was able to find any solution for this, please leave it here.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post