[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Change xhost auth when doing a liveinst (#663294)



If the hostname is changed during a live install it causes X auth
problems due to X not running with the -ac flag like a normal install.
This turns changes the auth so that a hostname change will not cause
problems with X.
---
 data/liveinst/liveinst |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
index 04085ed..f3c9852 100755
--- a/data/liveinst/liveinst
+++ b/data/liveinst/liveinst
@@ -129,6 +129,9 @@ if [ ! -z "$UPDATES" ]; then
     export PATH=/tmp/updates:$PATH
 fi
 
+# Prevents breakage if the hostname is changed during the install
+xhost +si:localuser:root
+
 if [ -x /usr/bin/udisks ]; then
     /usr/bin/udisks --inhibit -- $ANACONDA $*
 else
-- 
1.7.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]