Skip to content

Commit

Permalink
enable local user x11 access
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Aug 2, 2024
1 parent 927fcc0 commit 7ca3248
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ else
USER_ID=0; USER_GID=0
fi

# ensure local container users can access X11 server
xhost +SI:localuser:$(id -un)

# Set up the environment for compose ###########################################

# set user id for the phoebus container for easy X11 forwarding.
Expand Down

0 comments on commit 7ca3248

Please sign in to comment.