From ac84565597982a6115697fd79c5bd801e3ed9f52 Mon Sep 17 00:00:00 2001 From: nasirhm Date: Nov 04 2020 14:45:15 +0000 Subject: Fix Installer to be displayed on live for some devices. Used xhost tool to allow root user to access the currently running X server. and that allows the installer to be displayed and start without any issues. This commit appends: `xhost si:localhost:root` to ~/.profile for the liveuser This is potentially fixing a GTK race condition bug. --- diff --git a/fedora-live-i3.ks b/fedora-live-i3.ks index ca2aa3a..8c4f60d 100644 --- a/fedora-live-i3.ks +++ b/fedora-live-i3.ks @@ -57,6 +57,9 @@ echo "/usr/bin/feh --bg-scale /usr/share/backgrounds/default.png" >> /home/liveu # echoing type liveinst to start the installer echo "echo 'Please type liveinst and press Enter to start the installer'" >> /home/liveuser/.bashrc +# fixing the installer non opening bug +echo "xhost si:localuser:root" >> /home/liveuser/.profile + EOF %end diff --git a/flat-i3.ks b/flat-i3.ks index 7757794..7d38efc 100644 --- a/flat-i3.ks +++ b/flat-i3.ks @@ -374,6 +374,9 @@ echo "/usr/bin/feh --bg-scale /usr/share/backgrounds/default.png" >> /home/liveu # echoing type liveinst to start the installer echo "echo 'Please type liveinst and press Enter to start the installer'" >> /home/liveuser/.bashrc +# fixing the installer non opening bug +echo "xhost si:localuser:root" >> /home/liveuser/.profile + EOF %end