Update xdummy service default configuration to avoid a black screen on the host
This commit is contained in:
@@ -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"
|
Section "Monitor"
|
||||||
Identifier "Monitor0"
|
Identifier "Monitor0"
|
||||||
VendorName "Unknown"
|
VendorName "Unknown"
|
||||||
ModelName "Unknown"
|
ModelName "Unknown"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
#Section "Device"
|
Section "Device"
|
||||||
# Identifier "Device0"
|
Identifier "Device0"
|
||||||
# Driver "nvidia"
|
Driver "xrdpdev"
|
||||||
# VendorName "NVIDIA Corporation"
|
Option "DRMDevice" "/dev/dri/renderD128"
|
||||||
# BusID "PCI:1:0:0"
|
Option "DRI3" "1"
|
||||||
# Option "AllowEmptyInitialConfiguration" "true"
|
EndSection
|
||||||
# Option "ConnectToAcpid" "false"
|
|
||||||
#EndSection
|
|
||||||
|
|
||||||
#Section "Screen"
|
Section "Screen"
|
||||||
# Identifier "Screen0"
|
Identifier "Screen0"
|
||||||
# Device "Device0"
|
Monitor "Monitor0"
|
||||||
# Monitor "Monitor0"
|
Device "Device0"
|
||||||
# DefaultDepth 24
|
SubSection "Display"
|
||||||
# SubSection "Display"
|
Modes "800x600"
|
||||||
# Depth 24
|
EndSubSection
|
||||||
# EndSubSection
|
EndSection
|
||||||
#EndSection
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
exec /usr/lib/xorg/Xorg -noreset -nolisten tcp +extension GLX +extension RANDR +extension RENDER -logfile /var/log/xdummy.log :0.0
|
exec /usr/lib/xorg/Xorg -noreset -nolisten tcp -logfile /var/log/xdummy.log :0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user