Fail to open a TCanvas

I have trouble displaying TCanvas in two different PCs. In both PCs, root version is 5.26, compiled with disabling openGL.

(First PC) rehat 9, kernel 2.4.20-8.

When I type

root [0] TCanvas c1;

Error: illegal pointer to class object gClient 0x0 904 (tempfile):1:
*** Interpreter error recoverd ***
Error in : BadAtom (invalid Atom parameter) (XID: 39, XREG: 18)

Then the program hangs.

This phenomenon happens for a certain period of time, say 12 hours, for example. Then the error disappers and the program works fine. But after a day or so. The error returns.

What do you think is the problem.

(Second PC) redhat 9, kernel

When I set Root.Debug: 999 and I type

root [0] TCanvas c1;

Key: 13TGInputDialog
class: TGInputDialog 0
Selected visual 0x23: depth 24, class 4, colormap: default

Then the program halts.

What do you think is the problem.

Thank you very much in advance for your suggestion,
Yoshiki Teramoto

May be the last FAQ on the following page is the answer to your question:

Thank you for replying. I’m using the console terminal to display canvas, not remotely using. The program successfully display the initial root logo.