From: Olof S. <sve...@es...> - 2002-04-11 15:59:05
|
Hi Joao, I managed today to get the tk driver working, not on SuSE 7.2 but on a Sunblade running SunOS 5.8. I compiled tcl and tk version 8.3.4 and the tk plotting window showed up and worked. I also tried your wish example on SuSE 7.2 and it gave exactly the same result for me. So, it seems to me that the Linux tk device problem I have is not due to xauth. I tried to recompile the same tcl and tk versions for SuSE 7.2 and to build plplot 5.1.0 with these libraries however I get exactly the same problem, everything compiles fine and the program starts but no tk plotting window appears. I have tried to run the programs on different X-servers (XFree 3.3.6, 4.1.0, Exceed 6.2) but I always have the same problem. Anyway, I don't use the tk driver on SuSE, I just wanted to see how it works. I can now use SunOS to do this so I don't think it worth the effort getting the tk driver running on my SuSE system since it runs fine on other SuSE 7.2 systems. Regards, Olof Joao Cardoso wrote: > > On Monday 08 April 2002 18:41, Alan W. Irwin wrote: > | On Sun, 7 Apr 2002, Joao Cardoso wrote: > | > [...]I now have a suse 7.2 and plplot 5.1.0 with > | > the tk driver works OK. > | > | Is this with the SuSe rpm's for tcl/tk or your own tarball based > | build/install of tcl/tk? > > Standard suse rpms: > > bash-2.05# rpm -qf `which wish` > tk-8.3.3-23 > > | It is important to clarify this point > | because Geoffrey used his own tcl/tk tarball's and Olof's problems > | may be related to some incompatibility between plplot-5.1.0 and the > | SuSe 7.2 Tcl/Tk rpm's. > | > | Also it appears from separate e-mail that Olof can start a wish with > | no problems which seems to indicate his SuSe 7.2 problem with plplot > | 5.1.0 has nothing to do with xauth. > > Actually, xserver security is only important when using tcl/tk "send" > facility. The tk driver uses it in the inicial link setup. > > Using the command "xhost" disables a secure xserver: > > [jcard@feup] xhost + > access control disabled, clients can connect from any host > [jcard@feup] wish > % > > OK, now from another xterm: > > bash-2.05# wish > % send wish "set tk_version" > X server insecure (must use xauth-style authorization); command ignored > % > > [jcard@feup] ./x01c -dev tk > Plplot library version: 5.1.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" > > using "xhost -" sets the xserver secure again (if it was secure before) > > [jcard@feup] xhost - > access control enabled, only authorized clients can connect > [jcard@feup] ./x01c -dev tk > Plplot library version: 5.1.0 > > Don't know if this help. > Olof, are you still with problems? > > Joao > > | > | Alan |