Ubuntu20.04 headless desktop for VNC

http://rarak.jp/16022

 

askubuntu.com

$ nmcli connection show

$ sudo apt install xserver-xorg-video-dummy

$ sudo gedit /etc/X11/xorg.conf

 

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

Section "Monitor"
Identifier "Configured Monitor"
#HorizSync 31.5-48.5
HorizSync 28.0-80.0
#VertRefresh 50-70
VertRefresh 48.0-75.0
# 1984x1080 59.92 Hz (CVT) hsync: 67.11 kHz; pclk: 178.25 MHz
Modeline "1984x1080_60.00" 178.25 1984 2112 2320 2656 1080 1083 1093 1120 +hsync -vsync
EndSection

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

https://www.google.com/search?channel=fs&client=ubuntu&q=hsync+dummy+xorg