diff options
author | Simon Rettberg | 2022-02-24 09:16:26 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-02-24 09:16:26 +0100 |
commit | 8d543b1f2ca1238dbb783bf1b46a69aa9b15658d (patch) | |
tree | 902b85a2b64589c1205f5b6a56467af884934740 /core | |
parent | [xorg] Alas, the intel module still seems needed for older hw (diff) | |
download | mltk-8d543b1f2ca1238dbb783bf1b46a69aa9b15658d.tar.gz mltk-8d543b1f2ca1238dbb783bf1b46a69aa9b15658d.tar.xz mltk-8d543b1f2ca1238dbb783bf1b46a69aa9b15658d.zip |
[remote-access] insmod doesn't check modprobe.d
Diffstat (limited to 'core')
-rwxr-xr-x | core/modules/remote-access/data/opt/openslx/scripts/systemd-remote_x_config | 3 |
1 files changed, 2 insertions, 1 deletions
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 b77ca5d8..fa6fc148 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 @@ -42,7 +42,8 @@ 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 # For everything else, we use th evdi kernel module to add a virtual output -if insmod "/lib/modules/$(uname -r)/kernel/extra/evdi.ko" || modprobe evdi; then +if insmod "/lib/modules/$(uname -r)/kernel/extra/evdi.ko" initial_device_count=1 \ + || modprobe evdi; then echo "evdi virtual display interface loaded" else echo "evdi not found. virtual display not available." |