Add docker folder
This commit is contained in:
12
docker/startup.sh
Normal file
12
docker/startup.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# set vnc passworld
|
||||
x11vnc -storepasswd $VNC_PW ~/.vnc/passwd
|
||||
|
||||
# start vncserver
|
||||
vncserver :1 -localhost no -geometry=$VNC_GEOMETRY -depth=$VNC_DEPTH
|
||||
|
||||
# start noVNC
|
||||
./usr/lib/noVNC/utils/novnc_proxy --vnc localhost:5901
|
||||
|
||||
tail -f /dev/null
|
||||
14
docker/xstartup
Normal file
14
docker/xstartup
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
unset SESSION_MANAGER
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
export LANG=zh_CN.UTF-8
|
||||
fcitx -r
|
||||
|
||||
# disable screen blanking
|
||||
xset s off
|
||||
xset s noblank
|
||||
|
||||
startxfce4
|
||||
Reference in New Issue
Block a user