From: Joao C. <jc...@fe...> - 2003-02-02 20:34:30
|
On Saturday 01 February 2003 20:54, Alan W. Irwin wrote: > I am forwarding this report from Matt Newville in the hopes that somebo= dy > can confirm it on their RH 8.0 system or know what further questions to > ask. > > Alan > > ---------- Forwarded message ---------- > Date: Fri, 31 Jan 2003 15:49:35 -0600 (CST) > From: Matt Newville <new...@ca...> > To: Alan W. Irwin <ir...@be...> > Subject: plplot-5.2.0 / redhat 8.0 > > [...] > > ./configure --prefix=3D/usr/local/ --enable-dyndrivers > make > make install > cd examples/c > gcc -g -O -o x01c x01c.c -I/usr/local/include/plplot -L/usr/local/lib > -lplplot -lm -lc > > So far so good. On top of that, '/x01c -dev XXX' appears to work > correctly for XXX=3D(png,jpeg,ps,xfig). Things are looking up. > However, as others have seen, './x01c -dev xwin' reports: > > Plplot library version: 5.2.0 > X Error of failed request: BadMatch (invalid parameter attributes) > Major opcode of failed request: 1 (X_CreateWindow) > Serial number of failed request: 10 > Current serial number in output stream: 14 This does not happens with me on a freshly installed RH-8.0 nor in my=20 SuSE-8.1, but happened in another SuSE-8.1 and now in another RH-8.0! So, please Matt, run ./xdpyinfo and send us the output, particularly the=20 section relating to "visuals": (this is my own SuSE-8.1 xdpyinfo) number of visuals: 4 default visual id: 0x21 <-------------- visual: visual id: 0x21 <---------------- class: TrueColor depth: 16 planes available colormap entries: 64 per subfield red, green, blue masks: 0xf800, 0x7e0, 0x1f significant bits in color specification: 8 bits visual: visual id: 0x22 class: DirectColor depth: 16 planes =2E.. other visual follows, please send them all The other SuSE-8.1 where the xwin driver fails, xdpyinfo says: default visual id: 0x23 <---------------------- visual: visual id: 0x21 class: PseudoColor depth: 8 planes available colormap entries: 256 red, green, blue masks: 0x0, 0x0, 0x0 significant bits in color specification: 8 bits visual: visual id: 0x22 class: PseudoColor depth: 12 planes available colormap entries: 4096 red, green, blue masks: 0x0, 0x0, 0x0 significant bits in color specification: 8 bits visual: visual id: 0x23 <------------------------ class: TrueColor depth: 24 planes available colormap entries: 256 per subfield red, green, blue masks: 0xff, 0xff00, 0xff0000 significant bits in color specification: 8 bits > > In addition, './x01c -dev tk' reports: > > Plplot library version: 5.2.0 > X server insecure (must use xauth-style authorization); command > ignored > while executing > "send $client "set server_name [list $server_name]"" > (procedure "plserver_link_init" line 25) > invoked from within > "plserver_link_init" > (procedure "plserver_init" line 85) > invoked from within > "plserver_init" > > I am tunneling X through ssh, but that's pretty standard practice > these days... So there is some problem with the way you/ssh setups .Xauthority. In my t= ests=20 in RH-8.0 I also used ssh and the tk driver runs OK: jcard@jcard:~> ssh -CX clio.fe.up.pt [jcard@clio c]$ cat /etc/redhat-release=20 Red Hat Linux release 8.0 (Psyche) [jcard@clio jcard]$ cd plplot-5.2.0/examples/c [jcard@clio c]$ ./x01c -dev xwin Plplot library version: 5.2.0 [jcard@clio c]$ ./x01c -dev tk =20 Plplot library version: 5.2.0 Thanks, Joao > > Thanks for all your help, > > --Matt Newville > > |=3D Matthew Newville mailto:new...@ca... > |=3D GSECARS, Bldg 434A voice: (630) 252-0431 / 1713 > |=3D Argonne Natl Lab fax: (630) 252-0436 > |=3D 9700 South Cass Ave cell: (708) 804-0361 > |=3D Argonne, IL 60439 USA http://cars9.uchicago.edu/~newville/ > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel |