<RootX11ErrorHandler>: BadAccess

I’ve recently installed root version v4r00p08. When I type root at the command line, it opens up, giving the initial root window. But when I try to open a window within root, for example by using TBrowser b; , I get the following error message:

Error in : BadAccess (attempt to access private resource denied) (XID: 63, XREQ: 102)

Does anyone know what the problem might be?


In case you have an old x11 server, try setting in $ROOTSYS/etc/system.rootrc:

X11.FindBestVisual: no


I did try the suggestion about changing the system.rootrc file, and it seemed to work, but only once. Then I noticed that I was also having emacs issues, i.e. emacs windows would disappear when I used them. I was ssh’d into one machine whilst displays were on another. The problem seems to be that the machine on which the displays were appearing runs scientific linux 4, which seems to have a more stringent security. The fix is to use the argument -Y when logging into another machine from an SL4 machine via ssh. This argument allows X11 forwarding. i.e. ssh -Y <machinename, etc>