Enabling remote desktop sharing (VNC) on Linux Mint 19

As of Linux Mint 19 there is no longer a menu option for the old vino-preference screen which allowed you to enable remote desktop at the push of a button.

I will miss you simple setting screen…

Instead there is a new way to make this work :). Assuming you are starting from a fresh install we first need to install vino:

sudo apt install vino

Once that’s done we can start the server using the command:

/usr/lib/vino/vino-server

Don’t forget to set this up to run automatically if you want it to happen every time you boot up!

There are a few additional tweaks that I like to apply as well. The first is to disable requiring VNC encryption as I’ll only ever be connecting to this server via ssh anyway and VNC encryption isn’t universally supported.

gsettings set org.gnome.Vino require-encryption false

Next up I want to disable requiring someone on the remote machine to accept the fact that I’m connecting. To me it kind of defeats the whole purpose of remote desktop sharing if I have to be local to allow the remote connection access.

gsettings set org.gnome.Vino prompt-enabled false

Hopefully this post saves you some headache!



12 Comments

  1. this doesn’t work. it just says “Unable to init server: Could not connect: Connection refused
    Cannot open display:
    Run ‘vino-server –help’ to see a full list of available command line options”
    when I run “/usr/lib/vino/vino-server”. And how would I even use this if it did work? you don’t show where the settings are or anything. This is kind of a crappy, vague tutorial.

  2. I’m sorry you didn’t find this free tutorial on the internet helpful. Perhaps you’ve already solved the issue but allow me to try and help you if not. Did you perhaps run the command while still as root? If so try running it under your user account instead.

    If by “you didn’t show where the settings are or anything” you mean physically on the disk then I think you may not understand how this works. You’re basically editing the GNOME equivalent of the Windows registry. If you simply use the command from a terminal it will set it for you.

    I hope you got it working!

  3. “Don’t forget to set this up to run automatically if you want it to happen every time you boot up!”

    Can you specify how to do this, and perhaps update the article with this info? Many thanks!

  4. If you search in the menu for Startup Applications you can create a new entry in there and paste the command to run on startup.

  5. I try it according to A.D instructions , but there are many options .. I try some , and it just works with .. vino_3.8.1-0ubuntu9.2_amd64.deb … I am using LM19 cinamon ..

    Save my day ..

    Thanks ..

    STALonge

  6. Finally something that works. I hate linux to be honest, the simplest of things is so crazy hard. Spent 2 days minimum to get this to work.
    This works great.
    To people having problem maybe you dont have a monitor cable connected to your pc? that sucks but i know usually this will cause problem with remote desktop in linux. I had to buy a fake monitor dongle so that my linux pc thinks its connected to a monitor.

Leave a Reply

Your email address will not be published.


*