All Projects → JAremko → Docker X11 Bridge

JAremko / Docker X11 Bridge

Licence: gpl-3.0
Simple Xpra X11 bridge to enable GUI with any docker image

Projects that are alternatives of or similar to Docker X11 Bridge

X11docker
Run GUI applications and desktops in docker and podman containers. Focus on security.
Stars: ✭ 3,797 (+2555.24%)
Mutual labels:  ssh, gui, x11
Nps
一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
Stars: ✭ 19,537 (+13562.24%)
Mutual labels:  tcp, ssh
python3-docker-devenv
Docker Start Guide with Python Development Environment
Stars: ✭ 13 (-90.91%)
Mutual labels:  ssh, docker-image
Wxwidgets
wxWidgets is a free and open source cross-platform C++ framework for writing advanced GUI applications using native controls.
Stars: ✭ 3,994 (+2693.01%)
Mutual labels:  gui, x11
Sshfs Win Manager
A GUI for SSHFS-Win (https://github.com/billziss-gh/sshfs-win)
Stars: ✭ 239 (+67.13%)
Mutual labels:  ssh, gui
Inlets Pro
Secure TCP and HTTP tunnels that work anywhere
Stars: ✭ 179 (+25.17%)
Mutual labels:  tcp, ssh
Windterm
A quicker and better cross-platform SSH/Sftp/Shell/Telnet/Serial client.
Stars: ✭ 345 (+141.26%)
Mutual labels:  ssh, x11
Wordmove
Multi-stage command line deploy/mirroring and task runner for Wordpress
Stars: ✭ 1,791 (+1152.45%)
Mutual labels:  ssh, docker-image
Cnp3
Computer Networking : Principles, Protocols and Practice (first and second edition, third edition is being written on https://github.com/cnp3/ebook)
Stars: ✭ 471 (+229.37%)
Mutual labels:  tcp, ssh
Gsnova
Private proxy solution & network troubleshooting tool.
Stars: ✭ 509 (+255.94%)
Mutual labels:  tcp, ssh
Parallec
Fast Parallel Async HTTP/SSH/TCP/UDP/Ping Client Java Library. Aggregate 100,000 APIs & send anywhere in 20 lines of code. Ping/HTTP Calls 8000 servers in 12 seconds. (Akka) www.parallec.io
Stars: ✭ 777 (+443.36%)
Mutual labels:  tcp, ssh
Psiphon
A multi-functional version of a popular network circumvention tool
Stars: ✭ 169 (+18.18%)
Mutual labels:  ssh, docker-image
Monday
⚡️ A dev tool for microservice developers to run local applications and/or forward others from/to Kubernetes SSH or TCP
Stars: ✭ 1,246 (+771.33%)
Mutual labels:  tcp, ssh
Fq Book
📖《这本书能让你连接互联网》详细阐述代理、隧道、VPN运作过程,并对GFW策略如:地址端口封锁、服务器缓存投毒、数字验证攻击、SSL连接阻断做相关的原理说明
Stars: ✭ 2,393 (+1573.43%)
Mutual labels:  tcp, ssh
Drone Ssh
Drone plugin for executing remote ssh commands
Stars: ✭ 155 (+8.39%)
Mutual labels:  ssh, docker-image
Docker Sshd
Minimal Alpine Linux Docker image with sshd exposed and rsync installed
Stars: ✭ 291 (+103.5%)
Mutual labels:  ssh, docker-image
Docker Emacs
Dockerized Emacs (GUI)
Stars: ✭ 224 (+56.64%)
Mutual labels:  gui, docker-image
Microwindows
The Nano-X Window System
Stars: ✭ 230 (+60.84%)
Mutual labels:  gui, x11
Node X11
X11 node.js network protocol client
Stars: ✭ 453 (+216.78%)
Mutual labels:  gui, x11
X11ui
Simple UI framework using github.com/BurntSushi/xgbutil package using Go.
Stars: ✭ 18 (-87.41%)
Mutual labels:  gui, x11

Pluggable X11 GUI for docker images

Run GUI applications in Docker with the same client(Xpra) on Windows, GNU/Linux, MacOS or web-browser over ssh or tcp.

(clickable!) img/demo.jpg

Try It!

docker run -d \
 --name x11-bridge \
 -e MODE="tcp" \
 -e XPRA_HTML="yes" \
 -e DISPLAY=:14 \
 -e XPRA_PASSWORD=111 \
 --net=host \
 jare/x11-bridge

docker run -d \
 --name emacs-1 \
 --volumes-from x11-bridge \
 -e DISPLAY=:14 \
 jare/emacs emacs

docker run -d \
 --name emacs-2 \
 --volumes-from x11-bridge \
 -e DISPLAY=:14 \
 jare/emacs emacs

Then visit http://localhost:10000/index.html?encoding=rgb32&password=111 See http://localhost:10000/connect.html for options

Or via ssh:

docker run -d \
 --name x11-bridge \
 -e MODE="ssh" \
 -v ~/.ssh/pub_rsa:/etc/pub-keys/me.pub \
 -e DISPLAY=:14 \
 --net=host \
 jare/x11-bridge

docker run -d \
 --name emacs-1 \
 --volumes-from x11-bridge \
 -e DISPLAY=:14 \
 jare/emacs emacs

docker run -d \
 --name emacs-2 \
 --volumes-from x11-bridge \
 -e DISPLAY=:14 \
 jare/emacs emacs

Then attach to the Xpra server via cmd tool or Xpra's GUI app: xpra attach --encoding=rgb --ssh="ssh -o StrictHostKeyChecking=no -p 22" ssh:[email protected]:14

  • Note -o StrictHostKeyChecking=no - it allows us to ignore server's identity instead adding it to known_hosts. If you want to rely on the identity you should use a privately built image.
  • All names of the pub keys should end with .pub i.e. /etc/pub-keys/<key_name>.pub
  • If Xpra lags, select Lowest Bandwidth when using Xpra app with a local Xpra host.
  • With Windows client you'll need Pageant you can convert your rsa keys to Pageant's format with PuTTYgen
  • GUI app in your image may requirelibGL.so.1 (provided by libgl1-mesa-glx on Ubuntu) and font
  • It is good idea to use ssl proxy or mount a certificate (see Xpra start-up message) if you want to use tcp or html mode beyond local network
  • You can modify the user
  • To use Xpra mmap(Linux): docker run ... -v /tmp/spacemacs-mmap/:/tmp/spacemacs-mmap/ ... jare/x11-bridge and attach with TMPDIR=/tmp/spacemacs-mmap/ xpra attach --mmap=yes --encoding=rgb --ssh="ssh -o StrictHostKeyChecking=no -p 22" ssh:[email protected]:14

Webcam and sound are currently disabled

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].