diff options
author | Simon Rettberg | 2020-09-29 09:54:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-29 09:54:28 +0200 |
commit | 17f205a41d40a01136e56e66586c75b12880b481 (patch) | |
tree | c2ebf82e23330aacb06aa8dc57d8117ac9cc02ea /core/modules/beamergui | |
parent | [systemd-default-path] new module to set our PATH (diff) | |
download | mltk-17f205a41d40a01136e56e66586c75b12880b481.tar.gz mltk-17f205a41d40a01136e56e66586c75b12880b481.tar.xz mltk-17f205a41d40a01136e56e66586c75b12880b481.zip |
[beamergui] Don't launch if remoteaccess is active
Beamergui would mess up the custom resolution created for the user's
browser. Don't do anything in this case.
Diffstat (limited to 'core/modules/beamergui')
-rwxr-xr-x | core/modules/beamergui/data/etc/X11/Xsession.d/99-beamergui-starter_script | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/beamergui/data/etc/X11/Xsession.d/99-beamergui-starter_script b/core/modules/beamergui/data/etc/X11/Xsession.d/99-beamergui-starter_script index a569d671..ff75c849 100755 --- a/core/modules/beamergui/data/etc/X11/Xsession.d/99-beamergui-starter_script +++ b/core/modules/beamergui/data/etc/X11/Xsession.d/99-beamergui-starter_script @@ -2,6 +2,9 @@ [ -z "$SLX_KCL_SERVERS" ] && . /opt/openslx/config +# HACK: Don't interfere when we're in remote access mode +[ -n "$SLX_REMOTE_VNC" ] && return 0 + if [ -z "$SLX_FORCE_RESOLUTION" ]; then /opt/openslx/bin/beamergui -a # Detach |