Skip to content

(PR#10379) Re: x11(....) kills R without DISPLAY

2 messages · Peter Dalgaard, Brian Ripley

#
Hin-Tak Leung wrote:
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=3D 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=20
x86_64 x86_64 GNU/Linux
[pd at janus ~]$ cat /etc/issue
Fedora release 7 (Moonshine)
Kernel \r on an \m


--=20
   O__  ---- Peter Dalgaard             =D8ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327=
918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327=
907
2 days later
#
The problem is that the XtOpenDisplay call did not specify the display.
Easily fixed ....
On Sat, 27 Oct 2007, p.dalgaard at biostat.ku.dk wrote: