[weblogic@server ~]$ xclock X11 connection rejected because of wrong authentication. X connection to localhost:12.0 broken (explicit kill or server shutdown).
If you get this annoying message, you probably need to start an X11 application (for instance, for running the OUI or Oracle Universal Installer) from Unix or Linux. And you are here because you don’t know how to solve it.
Well, this trick usually works for me:
login as administrator or root, and enter:
[root@server ~]# echo $DISPLAY localhost:13.0 [root@server ~]# xauth list server/unix:10 MIT-MAGIC-COOKIE-1 b72cdb7673e4029ee232667d67f36f7e server/unix:11 MIT-MAGIC-COOKIE-1 f216396c3a7fe040c23c76d46a142278 server/unix:12 MIT-MAGIC-COOKIE-1 ded8d0fb465fb02988ecbfb4e3f12178 server/unix:13 MIT-MAGIC-COOKIE-1 5e49789500114d6387b9e6ee9a6e5d6a [root@server ~]#
now login as the user which needs to start the X-session process.
enter:
[root@server ~]# su - weblogic [weblogic@server ~]$ echo $DISPLAY localhost:13.0 [weblogic@server ~]$ xauth add server/unix:13 MIT-MAGIC-COOKIE-1 5e49789500114d6387b9e6ee9a6e5d6a [weblogic@server ~]$ xclock Warning: Missing charsets in String to FontSet conversion [weblogic@server ~]$
you’re set to go!
If this does or does not work for you, or you have a better solution, please leave me a message!
Thank you. Your blog helped me solve this problem.
Thanks you , it’s working for me 🙂