ubuntu: remote desktop


Try to connect to an Ubuntu 18.04 Desktop Computer on my LAN using a Windows 10 Machine

Steps to get this going:

  • Ubuntu: Enable Screen Sharing (add password)
    • Install dconf-editor on the Ubuntu Machine
      • sudo apt install dconf-editor
    • Go to org -> gnome -> desktop -> remote-access
      • Disable Require Encryption

On your Windows computer:

  • Download your favorite VNC Program
    • Tight VNC
    • VNC Viewer
  • Input your IP (put in your password)
  • You should be good to go!


Note: This method only works when you have a monitor connected. If you want to use as a headless remote desktop server (As I want to) it will not work and some additional "tweaks" or other completely different method needs to be used.


No Monitor Problem (SOLVED)

Do at your own risk: some people have said it broke their OS.

Source: https://askubuntu.com/questions/453109/add-fake-display-when-no-monitor-is-plugged-in

With this method you will install a Dummy Monitor, to make your server think you have a monitor connected.


1. Install the Dummy Server

sudo apt-get install xserver-xorg-video-dummy



2. Create a config file to configure this new server.


Create the Following File if it does not exist.




Inside the file copy the following info, you could tweak it if you know what you're doing based on your needs.


Section "Device"
Identifier "Configured Video Device"
Driver "dummy"

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x800"

Leave a Reply

Your email address will not be published. Required fields are marked *