I have installed Linux Mint at home on a test machine. I normally use to play with Linux, but I use a Windows 10 machine as my main daily driver. a few days ago I thought to remotely connect to Linux mint and I started browsing the web to see how others do it without any kind of packages.
If you also browse the Internet, you will see articles about installing XRDP, x11VNC, etc. This all seemed a bit complicated to me, especially when Linux Mint already has built-in desktop sharing capabilities.
For me, this is a non-issue because I am simply connecting to the Linux box from within my local network. If you require encryption to be enabled for a remote connection, I will write another post soon to make it more complicated as it is a bit more complicated.
Configure Desktop Sharing Settings
In Linux Mint, click the Menu button, Preferences, and then Desktop Sharing. This will open the Desktop Sharing Preferences screen where you can enable other users to connect to Linux systems.
Under Sharing, go ahead and allow other users to view your desktop and allow other users to control your desktop box. Under Security, you must confirm each access to this machine. Unchecking it is probably a good idea because you will need to confirm the remote connection locally before accepting it. If you are giving someone else access to your machine, it is probably worth checking out so that when someone is connected to your machine, you can control it.
To prevent anyone from connecting to your machine, the <strong> user needs to enter this password box and type a strongly strong password. Click Close as we are done with this dialog.
Read More: 7 Linux Commands Every Beginner Should Know
Install dconf Editor
Next, we have to disable the encryption currently required by Vino, which by default is the package installed in Linux Mint. We have to install the dconf editor so that we can change the default settings.
Open Open Terminal and type the following command:
sudo apt-get install dconf-editor
Once the package has been installed, click the Linux Mint menu, then All Applications and scroll down until you see the dconf editor. Open the editor and then navigate to org-gnome-desktop-remote-access.
In the right-hand pane, go ahead and uncheck the require-encryption box. Close the editor and then restart your Linux box. Once you are logged in, we can try to connect.
Read More: 10 Excel Tips And Tricks in 2020
Connect using VNC client
At this point, you can download your favorite VNC client for Windows and connect to the Linux box. In my case, I used the VNC viewer program from RealVNC. You do not need to sign up or pay anything to use the viewer.
Type the IP address for your Linux box and press Enter. Since there is no encryption, you will get a popup dialog telling you that your connection is not secure. Once you receive that message, you will need to enter the password you typed when setting up the desktop sharing setting on Linux Mint.
Hopefully, if all goes well, you should now see the desktop for your Linux Mint machine.
As mentioned earlier, this is a quick way of Remotely Connect To Linux Mint, but it is not secure enough. This means that all data sent over the network is completely unencrypted, including passwords and all. Therefore, make sure that no one can snoop on you if you plan to use this method. I will be posting another article soon on how to connect remotely to your Linux Mint box using encryption. If you have any questions, post a comment. let’s enjoy!