mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2026-08-05 16:12:41 +02:00
feat: support USER
This commit is contained in:
@@ -5,11 +5,11 @@ command=/usr/bin/Xvfb :1 -screen 0 1024x768x16
|
||||
user=root
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
stopsignal=KILL
|
||||
stdout_logfile=/var/log/xvfb.log
|
||||
redirect_stderr=true
|
||||
|
||||
[program:lxsession]
|
||||
[program:wm]
|
||||
priority=15
|
||||
directory=/root
|
||||
command=/usr/bin/openbox
|
||||
@@ -23,28 +23,27 @@ redirect_stderr=true
|
||||
|
||||
[program:lxpanel]
|
||||
priority=15
|
||||
directory=/root
|
||||
directory=%HOME%
|
||||
command=/usr/bin/lxpanel --profile LXDE
|
||||
user=root
|
||||
user=%USER%
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
environment=DISPLAY=":1",HOME="/root",USER="root"
|
||||
environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
stdout_logfile=/var/log/lxpanel.log
|
||||
redirect_stderr=true
|
||||
|
||||
[program:pcmanfm]
|
||||
priority=15
|
||||
directory=/root
|
||||
directory=%HOME%
|
||||
command=/usr/bin/pcmanfm --desktop --profile LXDE
|
||||
user=root
|
||||
user=%USER%
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopsignal=QUIT
|
||||
environment=DISPLAY=":1",HOME="/root",USER="root"
|
||||
environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
stdout_logfile=/var/log/pcmanfm.log
|
||||
|
||||
|
||||
[program:x11vnc]
|
||||
priority=20
|
||||
directory=/
|
||||
|
||||
Reference in New Issue
Block a user