From ad615a8b8b27110ee2dd3700414afa220b73f36c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 22 Feb 2022 16:57:24 +0100 Subject: [remote-access] Explicitly add virtual output on intel cards It seems that in the past, a virtual output was added automatically when no screen was connected. This isn't the case anymore, so let's see if adding an xorg config fixes the issue. --- .../remote-access/data/opt/openslx/remote-access/xorg-virtual.conf | 6 ++++++ .../remote-access/data/opt/openslx/scripts/systemd-remote_x_config | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 core/modules/remote-access/data/opt/openslx/remote-access/xorg-virtual.conf (limited to 'core/modules/remote-access') diff --git a/core/modules/remote-access/data/opt/openslx/remote-access/xorg-virtual.conf b/core/modules/remote-access/data/opt/openslx/remote-access/xorg-virtual.conf new file mode 100644 index 00000000..7b5f40cf --- /dev/null +++ b/core/modules/remote-access/data/opt/openslx/remote-access/xorg-virtual.conf @@ -0,0 +1,6 @@ +Section "Device" + Identifier "Device0" + Driver "%DRIVER%" + Option "VirtualHeads" "1" + Option "ModeValidation" "AllowNonEdidModes" +EndSection diff --git a/core/modules/remote-access/data/opt/openslx/scripts/systemd-remote_x_config b/core/modules/remote-access/data/opt/openslx/scripts/systemd-remote_x_config index e977ffd5..b2be43e6 100755 --- a/core/modules/remote-access/data/opt/openslx/scripts/systemd-remote_x_config +++ b/core/modules/remote-access/data/opt/openslx/scripts/systemd-remote_x_config @@ -37,6 +37,10 @@ cat > /etc/lightdm/qt-lightdm-greeter.conf.d/13-loginrpc.conf < "/etc/X11/xorg.conf.d/16-remote-access-${driver}-virtual.conf" +fi + # Currently the zaphod head solution on intel can create a mysterious # problem where the cursor turns into an X and everything stops working # disable any warnings and just let the screen enter standby -- cgit v1.2.3-55-g7522