Skip to content

Commit

Permalink
Merge pull request #3 from epics-containers/x11-fix
Browse files Browse the repository at this point in the history
enable local user x11 access
  • Loading branch information
gilesknap authored Aug 2, 2024
2 parents 927fcc0 + 7ca3248 commit 4b1e8c3
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 4b1e8c3

Please sign in to comment.