Fix Anaconda startup from app launcher on Live

We recommend use of application launcher in installation instructions
but Anaconda won't start until xhost application is started.

It's already solved by starting xhost app in ~/.bashrc, however, that
won't work for a launcher because it's not sourcing ~/.bashrc. To solve
this, start xhost by Sway configuration file on Live.
This commit is contained in:
Jiri Konecny 2023-02-15 21:47:40 +01:00
commit 239dd22eea
No known key found for this signature in database
GPG key ID: 38F52F0E5C3FAD25

View file

@ -0,0 +1,7 @@
# Allow local root to connect to Xwayland.
# Anaconda runs elevated and will fail to start without that.
#
# Requires: xhost
exec xhost si:localuser:root