-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update kasm compatibility for DRI3 and fix substitution in nginx init
- Loading branch information
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,13 @@ set -e | |
export HOME=/home/kasm-user | ||
export KASM_VNC_PATH=/usr/share/kasmvnc | ||
export PULSE_RUNTIME_PATH=/var/run/pulse | ||
if [ -z ${DRINODE+x} ]; then | ||
DRINODE="/dev/dri/renderD128" | ||
fi | ||
KASMNVC_HW3D='' | ||
if [ ! -z ${HW3D+x} ]; then | ||
KASMVNC_HW3D="-hw3d" | ||
fi | ||
|
||
## Directory setup for home folder ## | ||
# Create folders for upload/download | ||
|
@@ -66,6 +73,8 @@ openssl req -x509 \ | |
-subj "/C=US/ST=VA/L=None/O=None/OU=DoFu/CN=kasm/[email protected]" | ||
# Start KasmVNC | ||
vncserver $DISPLAY \ | ||
$KASMVNC_HW3D \ | ||
-drinode $DRINODE \ | ||
-websocketPort 6901 \ | ||
-httpd ${KASM_VNC_PATH}/www \ | ||
-FrameRate=60 \ | ||
|