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!



8 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!

Leave a Reply

Your email address will not be published.


*