summaryrefslogtreecommitdiffstats
path: root/core/modules/remote-access/data/opt/openslx/scripts/systemd-remote_x_config
blob: 97f4221e876f5438bc0a1c782757018174acdb57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/ash

. /opt/openslx/config

[ -n "$SLX_REMOTE_VNC" ] || exit 0 # Nothing to do

ln -nfs /opt/openslx/remote-access/xorg.conf /etc/X11/xorg.conf.d/16-remote-access.conf

cat > /etc/lightdm/qt-lightdm-greeter.conf.d/13-loginrpc.conf <<END
[General]
rpc-port = 7551
END