sudo apt install xserver-xorg-video-dummy
make sure that /usr/share/X11/xorg.conf.d/xorg.conf is present as follows:-
Code: Select all
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
Option "IgnoreEDID" "true"
Option "NoDDC" "true"
VideoRam 16384
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 15.0-100.0
VertRefresh 15.0-200.0
Modeline "1920x1080" 60.0 1920 1952 2040 2072 1080 1106 1108 1135
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080"
Virtual 1920 1080
EndSubSection
EndSection
sudo apt remove xserver-xorg-video-dummy