Update xdummy service default configuration to avoid a black screen on the host

This commit is contained in:
Héctor Molinero Fernández
2023-04-26 00:24:29 +02:00
parent 9a476de285
commit 4a48f23071
2 changed files with 31 additions and 18 deletions

View File

@@ -1,24 +1,37 @@
Section "Module"
Load "xorgxrdp"
EndSection
Section "ServerLayout"
Identifier "ServerLayout0"
Screen "Screen0"
EndSection
Section "ServerFlags"
Option "DefaultServerLayout" "ServerLayout0"
Option "DontVTSwitch" "on"
Option "AutoAddDevices" "off"
Option "AutoAddGPU" "off"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
EndSection
#Section "Device"
# Identifier "Device0"
# Driver "nvidia"
# VendorName "NVIDIA Corporation"
# BusID "PCI:1:0:0"
# Option "AllowEmptyInitialConfiguration" "true"
# Option "ConnectToAcpid" "false"
#EndSection
Section "Device"
Identifier "Device0"
Driver "xrdpdev"
Option "DRMDevice" "/dev/dri/renderD128"
Option "DRI3" "1"
EndSection
#Section "Screen"
# Identifier "Screen0"
# Device "Device0"
# Monitor "Monitor0"
# DefaultDepth 24
# SubSection "Display"
# Depth 24
# EndSubSection
#EndSection
Section "Screen"
Identifier "Screen0"
Monitor "Monitor0"
Device "Device0"
SubSection "Display"
Modes "800x600"
EndSubSection
EndSection