From hin-tak.leung at cimr.cam.ac.uk  Mon Oct 29 18:29:06 2007
From: hin-tak.leung at cimr.cam.ac.uk (Hin-Tak Leung)
Date: Mon, 29 Oct 2007 17:29:06 +0000
Subject: [Rd] (PR#10379) Re:  x11(....) kills R without DISPLAY
In-Reply-To: <47228A41.5050901@biostat.ku.dk>
References: <20071026223005.3CF422834619@mail.pubhealth.ku.dk>
	<472277D5.9080202@biostat.ku.dk> <472287D2.1020603@cimr.cam.ac.uk>
	<47228A41.5050901@biostat.ku.dk>
Message-ID: <47261862.2030903@cimr.cam.ac.uk>

Peter Dalgaard wrote:
<snipped>
> You need x11() with a valid display to trigger the bug:
> 
> [pd at titmouse2 BUILD]$ ssh -Y 192.168.1.10
> pd at 192.168.1.10's password:
> Last login: Sat Oct 27 02:40:16 2007 from 192.168.1.11
> [pd at janus ~]$ echo $DISPLAY
> localhost:10.0
> [pd at janus ~]$ DISPLAY= R -q
>  > x11("localhost:10.0")
> Error: Couldn't find per display information
> [pd at janus ~]$ uname -a
> Linux janus 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 20:47:39 EDT 2007 x86_64 
> x86_64 x86_64 GNU/Linux
> [pd at janus ~]$ cat /etc/issue
> Fedora release 7 (Moonshine)
> Kernel \r on an \m

Agh, sorry. Yes, x11() (with or without $DISPLAY set) doesn't
die catatrophically, x11("validinfo") does.

HTL



[Rd] (PR#10379) Re: x11(....) kills R without DISPLAY
Hin-Tak Leung