|
From: <pl...@pi...> - 2015-11-29 21:45:07
|
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. |