Skip to content

Commit

Permalink
add notes for ModulePath, remove T4 notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsorg71 committed Jan 1, 2025
1 parent df7c72f commit 50bfc59
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions xrdpdev/xorg_nvidia.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 @@ -31,16 +40,11 @@ Section "Screen"
Identifier "dGPU"
Device "dGPU"
Option "DPI" "96 x 96"
# T4 needs an entry here, this is not the desktop size
SubSection "Display"
Virtual 1920 1080
EndSubSection
EndSection

Section "Device"
Identifier "dGPU"
Driver "nvidia"
# T4 may need to comment out next line
Option "UseDisplayDevice" "none"
Option "ConnectToAcpid" "false"
BusID "PCI:3:0:0"
Expand Down

0 comments on commit 50bfc59

Please sign in to comment.