Create Virtual Dummy Display For Headless Operation

#IT


For SSH installation, refer to How to Enable SSH On Ubuntu


Install Dummy Driver

sudo apt install xserver-xorg-video-dummy

Create / Edit xorg.conf and Paste the following

sudo nano /usr/share/X11/xorg.conf.d/xorg.conf
Section "Device"
   Identifier "Configured Video Device"
   Driver "dummy"
EndSection

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

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

Restart the device and Xorg Dummy Adapter should be active, you will not see any display output on a connected monitor