From 63219a482e1bd74dcfd4e03eca508cf5a5005ca4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 18 Feb 2002 14:09:49 +0000 Subject: workaround not having the right to connect to our new created test server. info about the pb (sorry for the french): MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit quand on lance le serveur - via xdm/kdm/startx, ca utilise xauth, xhost est fermé - via X/xinit, xhost est ouvert sur localhost, xauth n'est pas utilisé *sauf* si X/xinit est lancé à partir d'un X *et* .Xauthority est non vide. dans ce cas, xhost est fermé, et aucun xauth n'est ajouté une conséquence, c'est que XFdrake ne peut pas accéder au X de test si XFdrake est lancé sous X ou "xauth list" est non vide exception: quand on lance le xdm/kdm en root, xhost n'est pas fermé, pas contre il est fermé en root & startx. --- perl-install/Xconfigurator.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/Xconfigurator.pm') diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 9ac596ffb..cffab8665 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -616,6 +616,7 @@ sub testFinalConfig { my $f_err = "$prefix/tmp/Xoutput"; my $pid; unless ($pid = fork) { + system("xauth add :9 . `mcookie`"); open STDERR, ">$f_err"; chroot $prefix if $prefix; exec $o->{card}{prog}, -- cgit v1.2.1