{"id":197,"date":"2013-02-19T16:20:21","date_gmt":"2013-02-19T15:20:21","guid":{"rendered":"http:\/\/www.psinke.nl\/wordpress\/?p=197"},"modified":"2013-02-19T15:56:39","modified_gmt":"2013-02-19T14:56:39","slug":"x11-connection-rejected-because-of-wrong-authentication-now-what","status":"publish","type":"post","link":"https:\/\/www.psinke.nl\/blog\/x11-connection-rejected-because-of-wrong-authentication-now-what\/","title":{"rendered":"&#8220;X11 connection rejected because of wrong authentication&#8221;. Now what?"},"content":{"rendered":"<div class=\"afa2b3b851443650502c43e85c746c1f\" data-index=\"1\" style=\"float: none; margin:0px;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-4223201538046844\";\r\n\/* standaardblok *\/\r\ngoogle_ad_slot = \"9522527129\";\r\ngoogle_ad_width = 320;\r\ngoogle_ad_height = 50;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<pre>[weblogic@server ~]$ <strong>xclock<\/strong>\r\nX11 connection rejected because of wrong authentication.\r\nX connection to localhost:12.0 broken (explicit kill or server shutdown).\r\n\r\n<\/pre>\n<p>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&#8217;t know how to solve it.<\/p>\n<p>Well, this trick usually works for me:<\/p>\n<p>login as administrator or root, and enter:<\/p>\n<pre>[root@server ~]# <strong>echo $DISPLAY<\/strong>\r\nlocalhost:13.0\r\n[root@server ~]# <strong>xauth list<\/strong>\r\nserver\/unix:10\u00a0 MIT-MAGIC-COOKIE-1\u00a0 b72cdb7673e4029ee232667d67f36f7e\r\nserver\/unix:11\u00a0 MIT-MAGIC-COOKIE-1\u00a0 f216396c3a7fe040c23c76d46a142278\r\nserver\/unix:12\u00a0 MIT-MAGIC-COOKIE-1\u00a0 ded8d0fb465fb02988ecbfb4e3f12178\r\nserver\/unix:13\u00a0 MIT-MAGIC-COOKIE-1\u00a0 5e49789500114d6387b9e6ee9a6e5d6a\r\n[root@server ~]#<\/pre>\n<p>now login as the user which needs to start the X-session process.<\/p>\n<p>enter:<\/p>\n<pre>[root@server ~]# <strong>su - weblogic<\/strong>\r\n[weblogic@server ~]$ <strong>echo $DISPLAY<\/strong>\r\nlocalhost:13.0\r\n[weblogic@server ~]$ <strong>xauth add server\/unix:13\u00a0 MIT-MAGIC-COOKIE-1\u00a0 5e49789500114d6387b9e6ee9a6e5d6a<\/strong>\r\n[weblogic@server ~]$ xclock\r\nWarning: Missing charsets in String to FontSet conversion\r\n[weblogic@server ~]$<\/pre>\n<p>you&#8217;re set to go!<\/p>\n<p>If this does or does not work for you, or you have a better solution, please leave me a message!<\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>[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&#8217;t&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121],"tags":[203,201,206,102,205,198,204,200,199,202],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks","tag-display","tag-authentication","tag-connection-to-localhost12-0-broken","tag-linux","tag-ssh","tag-unix","tag-x-server","tag-x11-connection-rejected-because-of-wrong-authentication","tag-xauth","tag-xclock"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":0,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}