|
From: Daniel J S. <dan...@ie...> - 2015-11-30 04:01:52
|
On 11/29/2015 03:38 PM, pl...@pi... wrote: > Hi, > > I just ran current cvs gnuplot while su as another user. This meant that > gnuplot could not find the DISPLAY to connect to. However this failure > was not correctly ( at all ) trapped and I needed to ^C out to get back > to the gnupplot prompt. > > I would expect it to drop out instantly , preferably with an error message. > > > gnuplot> plot [-pi:pi] sin(x) > QXcbConnection: Could not connect to display > q > > quit > ^C > gnuplot> > > > Presumably there are other reasons qt may fail to open the plot window > and this rather unusual situation probably highlights poor error > trapping here. > > Regards, Peter. Please create a bug report on the bug tracker with this message if you haven't done so already. The Qt terminal is pretty good, but I'm sure there are some things not done just right. Be sure to repeat what you are doing with something like the WXT terminal which also uses the graphics framework, and check if that hangs as well. Thanks. If you want to run under the root, there is "su -l" option. Dan |