|
From: <pl...@pi...> - 2015-11-30 08:10:04
|
On 30/11/15 04:01, Daniel J Sebald wrote: > 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 > Thanks Dan, I tired wxt and threw a seg. fault . However, after rebooting both terminals seem to act correctly. There may have been some libraries still in memory from before a routine update. I probably had not power cycled the machine for about a week and there had been updates. I just tried to repeat this to get more detail and it seems to be trapped correctly: gnuplot> plot [-pi:pi] sin(x) libGL error: failed to open drm device: Permission denied libGL error: failed to load driver: nouveau gnuplot> Unless I see something similar again, I would conclude it was a one-off error, probably due to mixed library modules lurking in memory. Sorry for the noise. Peter. |