Skip to content

Commit

Permalink
Limited to /dcs due to /run/host requirements for nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWright1324 committed May 26, 2024
1 parent 06ee724 commit e18851c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/.xsession
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e18851c

Please sign in to comment.