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

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



On Monday, February 21, 2011 10:59:02 AM Brian C. Lane wrote:
> 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

Works for me

Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.


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