By XRDP/NOVNC
with XFCE4
based on Debian
, Formatting a HeadlessBox/Cloud Desktop.
- Screen shared with both RDP/noVnc. (ReadWrite/ReadOnly)
- MultiScreen support. (mstsc+xrdp+tigervnc)
- Audio support. (xrdp+pulseaudio)
- Locale/TZ support.
- Desktop apps: ibus-rime, flameshot, PAC.
Usage
- CloudDesktop RDP/VNC/LOCALE/APPS
- Devbox SDK|IDE BROWSER|OFFICE Dind
- X11-Gateway Gateway DE
QuickStart
# example1: quickStart, default: SSH_PASS=headless, VNC_PASS=headless, VNC_PASS_RO=View123
docker run -it --rm --shm-size 1g --net=host infrastlabs/docker-headless:full
# example2: SSH_PASS=ChangeMe1, VNC_PASS=ChangeMe2, VNC_PASS_RO=ChangeMe3
vols="""
-v /_ext:/_ext
-v /opt:/opt
-v /var/run/docker.sock:/var/run/docker.sock
"""
docker run -d --name=devbox --privileged --shm-size 1g --net=host \
-e L=zh_CN -e SSH_PASS=ChangeMe1 -e VNC_PASS=ChangeMe2 -e VNC_PASS_RO=ChangeMe3 $vols infrastlabs/docker-headless:full
# 290.545 MB
docker container update --restart=always devbox
Detail
- Size: latest:
168.347 MB
, slim:88.929 MB
, full:289.581 MB
- User:
headless
, SSHPass:headless
, VNCPass:headless
, VNCPassReadOnly:View123
- Ports
- novnc 6080 > 10081
- xrdp 3389 > 10089
- sshd 22 > 10022
- HotKeys
super: Alt
sup+t
: terminalsup+f
: thunarsup+d
: rofisup+q
: flameshotsup+h
: hide windowsup+up
: max windowsup+down
: cycle windowssup+left
: left workspacesup+right
: right workspace
- Entry: xrdp, novnc, dropbear
- 命令工具:
tree htop gawk expect tmux rsync iproute2
- 图形工具:
sakura tint2 plank flameshot
,gnome-system-monitor engrampa ristretto
- tzdata时区, ttf-wqy-microhei字体, ibus-rime输入法,
- oh-my-bash, docker-dind
Refs
- xubuntu
- https://github.com/accetto/xubuntu-vnc-novnc #276.52 MB
- https://github.com/hectorm/docker-xubuntu #633.29 MB
- distros
- peppermint: https://peppermintos.com/guide/downloading/
- dtx2 https://github.com/gfk-sysenv/dxt2 https://dxt2.co.za
- LXLE: https://sourceforge.net/projects/lxle/ #greybird; -compact
- headless
- https://github.com/fadams/docker-gui https://gitee.com/g-system/docker-gui #pdf
- https://github.com/frxyt/docker-xrdp #DE