mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-09 18:02:22 +01:00
fix: failed to start lxqt
This commit is contained in:
parent
bd5d9134bf
commit
8b542f6cdb
2 changed files with 6 additions and 9 deletions
|
|
@ -20,12 +20,12 @@ stderr_logfile_maxbytes=0
|
|||
|
||||
[group:x]
|
||||
# programs=xvfb,wm,lxpanel,pcmanfm,x11vnc,novnc
|
||||
programs=xvfb,wm,lxpanel,x11vnc,novnc
|
||||
programs=xvfb,lxpanel,x11vnc,novnc
|
||||
|
||||
[program:wm]
|
||||
priority=15
|
||||
command=/usr/bin/openbox
|
||||
environment=DISPLAY=":1",HOME="/root",USER="root"
|
||||
# [program:wm]
|
||||
# priority=15
|
||||
# command=/usr/bin/openbox
|
||||
# environment=DISPLAY=":1",HOME="/root",USER="root"
|
||||
|
||||
[program:lxpanel]
|
||||
priority=15
|
||||
|
|
@ -42,10 +42,6 @@ environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
|||
# environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[program:xvfb]
|
||||
priority=10
|
||||
command=/usr/local/bin/xvfb.sh
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ if [ "$USER" != "root" ]; then
|
|||
HOME=/home/$USER
|
||||
echo "$USER:$PASSWORD" | chpasswd
|
||||
cp -r /root/{.config,.gtkrc-2.0,.asoundrc} ${HOME}
|
||||
chown -R doro:doro ${HOME}
|
||||
[ -d "/dev/snd" ] && chgrp -R adm /dev/snd
|
||||
fi
|
||||
sed -i -e "s|%USER%|$USER|" -e "s|%HOME%|$HOME|" /etc/supervisor/conf.d/supervisord.conf
|
||||
|
|
|
|||
Loading…
Reference in a new issue