Invalid MIT-MAGIC-COOKIE-1 key

Problem: When the Statement of Account report (a PDF-output report) is run, it gives the following error message:

Spawned Process 6276
Xlib: connection to "oradata:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to "oradata:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
REP-3000: Internal error starting Oracle Toolkit.
REP-3000: Internal error starting Oracle Toolkit.

Solution: Set the DISPLAY environment variable and run xhost +.

root@ORADATA # echo $DISPLAY
root@ORADATA # xhost
xhost:  unable to open display ""
root@ORADATA # DISPLAY=10.0.240.13:0.0
root@ORADATA # xhost
xhost:  unable to open display ""
root@ORADATA # export DISPLAY
root@ORADATA # xhost
access control enabled, only authorized clients can connect
root@ORADATA # xhost +
access control disabled, clients can connect from any host
root@ORADATA #

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


This site uses Akismet to reduce spam. Learn how your comment data is processed.