You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e446c17
Browse filesBrowse the repository at this point in the historyBrowse files
Follow the flag rename, drop the claim that --hw-access mounts the X11
socket, and fix the stale desktop path (/proc/1/root was never used, the
bridge reads /.old_root). The systemd ExecCondition examples now grep
enable_x11=1, which is what the running container's config snapshot holds.
Signed-off-by: ravindu644 <droidcasts@protonmail.com>
-**Desktop Linux:** Mounts the host`/tmp/.X11-unix/X0` into the container
190
190
191
191
> [!TIP]
192
-
> X11 support can be enabled on its own with the `--termux-x11` (`-X`) flag. This is the recommended way to run GUI applications on Android if you do not need full GPU/hardware access, because the container stays more isolated.
192
+
> X11 support is enabled with the `--x11` (`-X`) flag and does not need `--hw-access`. This is the recommended way to run GUI applications if you do not need full GPU/hardware access, because the container stays more isolated.
193
193
194
194
Droidspaces injects `DISPLAY=:5` and (if VirGL is enabled) `GALLIUM_DRIVER=virpipe` into the container environment through `/run/droidspaces.env`, which is symlinked from `/etc/profile.d/droidspaces_env.sh`. Shells like `bash` and `sh` source it automatically. If you use `zsh`, `fish`, or another non-login shell, source it yourself: `source /run/droidspaces.env`.
Copy file name to clipboardExpand all lines: Documentation/Linux-CLI.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -136,11 +136,11 @@ Hand a container's LAN to another running container (for example OpenWRT), which
136
136
|--------|-------|-------------|
137
137
|`--foreground`|`-f`| Attach to the container console on start to see init logs. |
138
138
|`--volatile`|`-V`| Ephemeral mode. Changes live in RAM and are lost on exit. |
139
-
|`--hw-access`|`-H`| Expose host hardware (GPU, USB, etc.). Auto-detects GPU group IDs and creates matching groups inside the container. Mounts X11 socket for GUI apps (Termux X11 on Android, `/tmp/.X11-unix` on Linux). See [Safety Warning](Features.md#hardware-access-mode). |
139
+
|`--hw-access`|`-H`| Expose host hardware (GPU, USB, etc.). Auto-detects GPU group IDs and creates matching groups inside the container. See [Safety Warning](Features.md#hardware-access-mode). |
140
140
|`--gpu`|| Enable GPU acceleration only. Scans the host `/dev` for known GPU nodes and maps only those into the container, without exposing other host hardware. Ignored if `-H` is passed. |
141
141
|`--allow-vts`|| With `--hw-access`, leave the host's virtual terminals (`/dev/tty1`-`tty6`) visible. By default they are masked with `/dev/null` so a systemd container's `getty` does not take over the host console. No effect without `-H`. |
142
142
|`--allow-sandboxing`|| Let unprivileged Docker, Podman, Flatpak, bwrap and browser sandboxes run inside the container. Weakens isolation. See [Sandboxing](Features.md#sandboxing). |
143
-
|`--termux-x11`|`-X`|Mount X11 socket for Termux-X11 display (Android only). |
143
+
|`--x11`|`-X`|Bridge the host X11 socket into the container. Launches Termux:X11on Android. |
144
144
|`--enable-android-storage`|| Mount `/storage/emulated/0` (Android only). |
145
145
|`--selinux-permissive`|| Set host SELinux to permissive for the container session. |
146
146
|`--force-cgroupv1`|| Force the legacy cgroup v1 hierarchy. Required if the host kernel has a broken or partial cgroup v2 implementation (common on older Android 4.x kernels). |
@@ -216,8 +216,8 @@ enable_hw_access=0
216
216
# Auto-detect and securely map GPU nodes without full hardware access
217
217
enable_gpu_mode=0
218
218
219
-
#Android: Setup Termux X11 socket
220
-
enable_termux_x11=0
219
+
#Bridge the host X11 socket (Termux:X11 on Android)
220
+
enable_x11=0
221
221
222
222
# Android: Setup Android internal shared storage mount
0 commit comments