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

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

 



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.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux