mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-22 05:49:07 +01:00
vncserver: add magic text to signify that the file can be replaced
This commit is contained in:
parent
240b1342fd
commit
b8fd6a28a4
@ -57,6 +57,12 @@ $xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority";
|
||||
$xstartupFile = $vncUserDir . "/xstartup";
|
||||
$defaultXStartup
|
||||
= ("#!/bin/sh\n\n".
|
||||
"# WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY\n".
|
||||
"# TO BE OVERWRITTEN AND LOST.\n".
|
||||
"# TO KEEP YOUR CHANGES TO THIS FILE, REMOVE THESE LINES.\n".
|
||||
"# Magic token that lets kasmvncserver-easy-start know it's safe to\n".
|
||||
"# replace this file: KasmVNC-safe-to-replace-this-file\n".
|
||||
"\n".
|
||||
"unset SESSION_MANAGER\n".
|
||||
"unset DBUS_SESSION_BUS_ADDRESS\n".
|
||||
"OS=`uname -s`\n".
|
||||
|
Loading…
Reference in New Issue
Block a user