From e18851ce811c0187377caa4b61367ecfd9284a96 Mon Sep 17 00:00:00 2001 From: Alex Wright Date: Mon, 27 May 2024 00:54:53 +0100 Subject: [PATCH] Limited to /dcs due to /run/host requirements for nvidia --- host/.xsession | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/.xsession b/host/.xsession index cdeee7c..567e4db 100755 --- a/host/.xsession +++ b/host/.xsession @@ -10,7 +10,7 @@ mkdir -p "/var/tmp/$USER" podman stop -t 0 arch podman rm -f arch -$distrobox create --nvidia -i ghcr.io/alexwright1324/fng:latest -n arch -I --no-entry --pre-init-hooks "mkdir -p /usr/local/bin && chown -R $(id -u):$(id -g) /home/fng" -d | sed -e '\#--volume "'$HOME'":#d' -e '\#--home "'$HOME'"#c\--home "/home/fng"' -e '\#:/run/host/#d' | tr '\n' ' ' | source /dev/stdin +$distrobox create --nvidia -i ghcr.io/alexwright1324/fng:latest -n arch -I --no-entry --pre-init-hooks "mkdir -p /usr/local/bin && chown -R $(id -u):$(id -g) /home/fng" -d | sed -e '\#--volume "'$HOME'":#d' -e '\#--home "'$HOME'"#c\--home "/home/fng"' -e '\#--volume /dcs:#d' | tr '\n' ' ' | source /dev/stdin podman start arch podman exec --interactive --detach-keys="" --user=$USER --workdir="/home/fng" --env "CONTAINER_ID=arch" --env "DISPLAY=${DISPLAY}" --env "HOME=/home/fng" arch dbus-run-session startplasma-x11