We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d7f37b commit 99cd9c9Copy full SHA for 99cd9c9
run.sh
@@ -16,6 +16,10 @@ function foregroundStart {
16
17
#Run C9vnc in foreground
18
19
+ #Set environment variables
20
+ export XDG_RUNTIME_DIR=/tmp/C9VNC
21
+ export DISPLAY=:99.0
22
+
23
#Back up existing conf
24
cp ${HOME}/.config/supervisord.conf ${HOME}/.config/supervisord.conf.bak
25
#Modify supervisord.conf
@@ -31,6 +35,10 @@ function foregroundStart {
31
35
function daemonStart {
32
36
echo -e "Starting c9vnc daemon"
33
37
{
38
39
40
41
34
42
#Run supervisord
43
supervisord -c ${HOME}/.config/supervisord.conf
44
}&> /dev/null
0 commit comments