Skip to content

Commit

Permalink
Wait until distrobox has launched
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWright1324 committed May 31, 2024
1 parent d7de1f7 commit 0640607
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 @@ -14,7 +14,7 @@ podman pull ghcr.io/uwcs/fng:latest

$distrobox create --nvidia -i ghcr.io/uwcs/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
$distrobox enter arch -- echo launched
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

podman stop -t 0 arch
Expand Down

1 comment on commit 0640607

@AlexWright1324
Copy link
Collaborator Author

@AlexWright1324 AlexWright1324 commented on 0640607 May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1 Fixed

Please sign in to comment.