diff options
author | Simon Rettberg | 2020-09-23 15:45:15 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-23 15:45:15 +0200 |
commit | 36363db1fbbea5a3eb4fc593616d7214fa35039a (patch) | |
tree | 48d982a48dbe0f988a1b21312d61cdbee8c2d28c /core/modules/xorg | |
parent | [*] Remove "export PATH..." -> DefaultEnvironment= in system.conf.d (diff) | |
download | mltk-36363db1fbbea5a3eb4fc593616d7214fa35039a.tar.gz mltk-36363db1fbbea5a3eb4fc593616d7214fa35039a.tar.xz mltk-36363db1fbbea5a3eb4fc593616d7214fa35039a.zip |
[xorg] Add config to allow X to start with NVIDIA without displays
The nvidia driver would abort the Xserver startup if it determines that
no displays are connected. We don't want this as it might yield false
positives in rare conditions, and also would prevent using the machine
in headless mode for remote access.
Diffstat (limited to 'core/modules/xorg')
-rw-r--r-- | core/modules/xorg/data/etc/X11/xorg.conf.d/40-nvidia-no-screens.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modules/xorg/data/etc/X11/xorg.conf.d/40-nvidia-no-screens.conf b/core/modules/xorg/data/etc/X11/xorg.conf.d/40-nvidia-no-screens.conf new file mode 100644 index 00000000..cc659286 --- /dev/null +++ b/core/modules/xorg/data/etc/X11/xorg.conf.d/40-nvidia-no-screens.conf @@ -0,0 +1,5 @@ +Section "Device" + Identifier "NoScreenNvidia" + Driver "nvidia" + Option "AllowEmptyInitialConfiguration" "true" +EndSection |