Skip to content

A rootless Android app that boots Alpine Linux: run containers (Podman/Docker/LXC) and GUI desktop apps.

rootfs: export DISPLAY and PULSE_SERVER for login shells

ExTvf82981e7f87a
diff --git a/build-rootfs/files/etc/profile.d/podroid-x11.sh b/build-rootfs/files/etc/profile.d/podroid-x11.sh
new file mode 100644
index 0000000..a189846
--- /dev/null
+++ b/build-rootfs/files/etc/profile.d/podroid-x11.sh
@@ -0,0 +1,5 @@
+# Podroid X11 environment — sourced by /etc/profile for login shells.
+# Apps launched from the user's shell inherit a working DISPLAY and
+# PULSE_SERVER without any setup, so `xeyes` / `firefox` etc. just work.
+export DISPLAY=:0
+export PULSE_SERVER=tcp:127.0.0.1:4713