#
# This is a dummy Monitor that worksaround problems with apps that need 
# a monitor connected to work, for example: TeamViewer
#
# This file must be placed under:
#  /usr/share/X11/xorg.conf.d/  
#
# Requires the package xserver-xorg-video-dummy, therefore:
#   sudo apt install xserver-xorg-video-dummy
#
# Reboot
#
# TeamViewer should work fine
#
# Note: Real HDMI will have black screen even if boot with HDMI connected.
#       In order to have HDMI back you need to rename this file and reboot
#         sudo mv /usr/share/X11/xorg.conf.d/90-vigil.conf /usr/share/X11/xorg.conf.d/90-vigil.conf__
#       reboot
#         sudo systemctl reboot
#       Sure you will need to have either SSH connection or TeamViewer session to do that.
#
Section "Monitor"
	Identifier "Monitor0"
	HorizSync 28.0-80.0
	VertRefresh 48.0-75.0
	Modeline "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
EndSection

Section "Device"
	Identifier "Card0"
	Driver "dummy"
	VideoRam 256000
EndSection

Section "Screen"
	DefaultDepth 24
	Identifier "Screen0"
	Device "Card0"
	Monitor "Monitor0"
	SubSection "Display"
		Depth 24
		Modes "1920x1080_60.00"
	EndSubSection

EndSection

