mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-26 15:01:28 +02:00
add hotfix for opensuse image
This commit is contained in:
parent
e4825cec7f
commit
2101915809
4
src/common/startup_scripts/vnc_startup.sh
Normal file → Executable file
4
src/common/startup_scripts/vnc_startup.sh
Normal file → Executable file
@ -81,8 +81,12 @@ function start_window_manager (){
|
|||||||
DISPLAY=:1 /opt/VirtualGL/bin/vglrun -d "${KASM_EGL_CARD}" /usr/bin/startxfce4 --replace &
|
DISPLAY=:1 /opt/VirtualGL/bin/vglrun -d "${KASM_EGL_CARD}" /usr/bin/startxfce4 --replace &
|
||||||
else
|
else
|
||||||
echo "Starting XFCE"
|
echo "Starting XFCE"
|
||||||
|
if [ -f '/usr/bin/zypper' ]; then
|
||||||
|
DISPLAY=:1 /usr/bin/dbus-launch /usr/bin/startxfce4 --replace &
|
||||||
|
else
|
||||||
/usr/bin/startxfce4 --replace &
|
/usr/bin/startxfce4 --replace &
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
KASM_PROCS['window_manager']=$!
|
KASM_PROCS['window_manager']=$!
|
||||||
else
|
else
|
||||||
echo "Skipping XFCE Startup"
|
echo "Skipping XFCE Startup"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user