Add docker folder

This commit is contained in:
2025-10-31 01:28:33 -04:00
parent 051b2b7fcd
commit e2c54e5cd7
2 changed files with 26 additions and 0 deletions

12
docker/startup.sh Normal file
View 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
View 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