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