summaryrefslogtreecommitdiffstats
path: root/core/modules/remote-access
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/remote-access')
-rw-r--r--core/modules/remote-access/data/opt/openslx/remote-access/xorg-virtual.conf6
-rwxr-xr-xcore/modules/remote-access/data/opt/openslx/scripts/systemd-remote_x_config4
2 files changed, 10 insertions, 0 deletions
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 <<END
rpc-port = 7551
END
+if [ "$driver" = "intel" ]; then
+ sed "s/%DRIVER%/${driver}/g" "/opt/openslx/remote-access/xorg-virtual.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