Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Allow Subiquity to run setxkbmap (#1021)
Browse files Browse the repository at this point in the history
Subiquity has been changed to run setxkbmap as the ubuntu user. The
last missing piece is to set the DISPLAY environment variable to let
setxkbmap access the display.

Fixes: #832
  • Loading branch information
jpnurmi committed Aug 9, 2022
1 parent 9014d5e commit bb16ef6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snap/local/subiquity-server
Expand Up @@ -18,6 +18,9 @@ export PY3OR2_PYTHON=$PYTHON
# sbin for bundled tools such as ntfsresize
export PATH=$SNAP/bin:$SNAP/sbin:$PATH

# allow subiquity to run setxkbmap
export DISPLAY=:0

# base directory for subiquity to locate resources
export SUBIQUITY_ROOT=$SNAP/bin/subiquity

Expand Down

0 comments on commit bb16ef6

Please sign in to comment.