Skip to content

Commit

Permalink
update xorg_nvidia_grid.conf to match xorg_nvidia.conf as much as pos…
Browse files Browse the repository at this point in the history
…sible
  • Loading branch information
jsorg71 committed Jan 1, 2025
1 parent cd8457b commit 3648f7a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion xrdpdev/xorg_nvidia_grid.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Section "ServerLayout"
Identifier "XRDP GPU Server"
Screen 0 "dGPU"
Expand All @@ -11,8 +12,16 @@ Section "ServerFlags"
Option "DefaultServerLayout" "XRDP GPU Server"
Option "DontVTSwitch" "on"
Option "AutoAddDevices" "off"
Option "AutoAddGPU" "off"
EndSection

# This section might be needed if the nvidia Xorg module is not installed
# in the default modules directory ie /usr/lib/xorg/modules
# example package on ubuntu xserver-xorg-video-nvidia-535
#Section "Files"
# ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
#EndSection

Section "Module"
Load "xorgxrdp"
EndSection
Expand All @@ -36,7 +45,7 @@ EndSection
Section "Device"
Identifier "dGPU"
Driver "nvidia"
Option "ConnectToAcpid" "false"
Option "ConnectedMonitor" "DVI-D-0,DVI-D-1,DVI-D-2,DVI-D-3"
Option "ConnectToAcpid" "false"
BusID "PCI:3:0:0"
EndSection

0 comments on commit 3648f7a

Please sign in to comment.