<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting &#8220;Xlib: PuTTY X11 proxy: wrong authentication protocol attempted&#8221;?  I have the answer :)</title>
	<atom:link href="http://froebe.net/blog/index.php/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/feed/" rel="self" type="application/rss+xml" />
	<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/</link>
	<description>Tips &#38; Tricks for Databases (Sybase, Oracle, MySQL, PostgreSQL, SQLite), Windows, Linux, Solaris, Perl, Java, Bash and so much much more</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:24:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Kyle McBride</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11585</link>
		<dc:creator>Kyle McBride</dc:creator>
		<pubDate>Wed, 11 Jan 2012 23:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11585</guid>
		<description>This was fantastic.  Just as a heads up, you can use:

xauth list &#124; while read x ; do sudo xauth add $x ; done

Which will automate the process of adding the information into xauth.  I put it in my .bashrc so when I log in it just simply works.  You might want to add that to the post so other people might benefit it as well.</description>
		<content:encoded><![CDATA[<p>This was fantastic.  Just as a heads up, you can use:</p>
<p>xauth list | while read x ; do sudo xauth add $x ; done</p>
<p>Which will automate the process of adding the information into xauth.  I put it in my .bashrc so when I log in it just simply works.  You might want to add that to the post so other people might benefit it as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theresa Zamora</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11447</link>
		<dc:creator>Theresa Zamora</dc:creator>
		<pubDate>Tue, 06 Dec 2011 11:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11447</guid>
		<description>Thank you very much! It really helped me with my problem.</description>
		<content:encoded><![CDATA[<p>Thank you very much! It really helped me with my problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason L Froebe</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11403</link>
		<dc:creator>Jason L Froebe</dc:creator>
		<pubDate>Mon, 28 Nov 2011 17:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11403</guid>
		<description>pilotHans, check the permissions on the .Xauthority file.  The oracle user needs to own it and have read/write on it (chmod 0600 ~oracle/.Xauthority)</description>
		<content:encoded><![CDATA[<p>pilotHans, check the permissions on the .Xauthority file.  The oracle user needs to own it and have read/write on it (chmod 0600 ~oracle/.Xauthority)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pilotHans</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11369</link>
		<dc:creator>pilotHans</dc:creator>
		<pubDate>Mon, 21 Nov 2011 07:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11369</guid>
		<description>I&#039;m still having the same problem. If i login .xclock is ok. then if i sudo su - &gt; follow the steps also okay.

problem is if i try su - oracle .then i try same steps i will get 

-bash-3.2$ xauth add XYZ.com/unix:11  MIT-MAGIC-COOKIE-1  2c12495022c0fca1668f4dd662562ceczzz
xauth:  error in locking authority file /home/oracle/.Xauthority
-bash-3.2$ xclock
Xlib: connection to &quot;localhost:11.0&quot; refused by server
Xlib: PuTTY X11 proxy: wrong authorisation protocol attempted
Error: Can&#039;t open display: localhost:11.0

ive been having this problem since last thursay..im getting crazy on this.

please advice

additional info -&gt; 
-bash-3.2$ whoami
oracle
-bash-3.2$ id oracle
uid=8647(oracle) gid=10001(oinstall) groups=10001(oinstall)
-bash-3.2$

thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;m still having the same problem. If i login .xclock is ok. then if i sudo su &#8211; &gt; follow the steps also okay.</p>
<p>problem is if i try su &#8211; oracle .then i try same steps i will get </p>
<p>-bash-3.2$ xauth add XYZ.com/unix:11  MIT-MAGIC-COOKIE-1  2c12495022c0fca1668f4dd662562ceczzz<br />
xauth:  error in locking authority file /home/oracle/.Xauthority<br />
-bash-3.2$ xclock<br />
Xlib: connection to &#8220;localhost:11.0&#8243; refused by server<br />
Xlib: PuTTY X11 proxy: wrong authorisation protocol attempted<br />
Error: Can&#8217;t open display: localhost:11.0</p>
<p>ive been having this problem since last thursay..im getting crazy on this.</p>
<p>please advice</p>
<p>additional info -&gt;<br />
-bash-3.2$ whoami<br />
oracle<br />
-bash-3.2$ id oracle<br />
uid=8647(oracle) gid=10001(oinstall) groups=10001(oinstall)<br />
-bash-3.2$</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan David</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11354</link>
		<dc:creator>Juan David</dc:creator>
		<pubDate>Fri, 18 Nov 2011 14:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11354</guid>
		<description>Owesome! Thanks for this article! Was very useful!</description>
		<content:encoded><![CDATA[<p>Owesome! Thanks for this article! Was very useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11320</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sat, 12 Nov 2011 16:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11320</guid>
		<description>I had also been under the same circumstances. But now, I am locked and loaded &amp; I am pretty hopeful I will get rid of this error and can easily use applications that require X Windows frontend. Thanks a lot for sharing this wonderful post.</description>
		<content:encoded><![CDATA[<p>I had also been under the same circumstances. But now, I am locked and loaded &amp; I am pretty hopeful I will get rid of this error and can easily use applications that require X Windows frontend. Thanks a lot for sharing this wonderful post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: X11 authorization &#187; SwitchBL8&#039;s gebazel</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11219</link>
		<dc:creator>X11 authorization &#187; SwitchBL8&#039;s gebazel</dc:creator>
		<pubDate>Mon, 17 Oct 2011 12:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11219</guid>
		<description>[...] to this post, I solved my Oracle authorization problem. His comments don&#8217;t seem to work, so I thought [...]</description>
		<content:encoded><![CDATA[<p>[...] to this post, I solved my Oracle authorization problem. His comments don&#8217;t seem to work, so I thought [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi Rajasekharuni</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11135</link>
		<dc:creator>Ravi Rajasekharuni</dc:creator>
		<pubDate>Wed, 14 Sep 2011 06:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11135</guid>
		<description>Thanks a lot. It worked fine.
Excellent piece of suggestion.</description>
		<content:encoded><![CDATA[<p>Thanks a lot. It worked fine.<br />
Excellent piece of suggestion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adilos</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11127</link>
		<dc:creator>adilos</dc:creator>
		<pubDate>Fri, 09 Sep 2011 16:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11127</guid>
		<description>it&#039;s work fine thanks</description>
		<content:encoded><![CDATA[<p>it&#8217;s work fine thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dullaertd</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11114</link>
		<dc:creator>dullaertd</dc:creator>
		<pubDate>Fri, 02 Sep 2011 13:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11114</guid>
		<description>Thanks! Was very helpfull!</description>
		<content:encoded><![CDATA[<p>Thanks! Was very helpfull!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diane</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11105</link>
		<dc:creator>Diane</dc:creator>
		<pubDate>Wed, 24 Aug 2011 15:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11105</guid>
		<description>Thanks for the great article. This worked for me on Linux.</description>
		<content:encoded><![CDATA[<p>Thanks for the great article. This worked for me on Linux.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11094</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 12 Aug 2011 06:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11094</guid>
		<description>Solved my problem. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Solved my problem. Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fix Xlib: PuTTY X11 proxy: wrong authentication protocol attempted &#124; TurboLinux Blog</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11031</link>
		<dc:creator>Fix Xlib: PuTTY X11 proxy: wrong authentication protocol attempted &#124; TurboLinux Blog</dc:creator>
		<pubDate>Wed, 22 Jun 2011 15:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11031</guid>
		<description>[...] Here is a good tutorial show you how to Fix Xlib: PuTTY X11 proxy: wrong authentication protocol attempted: On recent OpenSSH Server releases, you can simply enable “ForwardX11Trusted yes” in the /etc/ssh/sshd_config file and restart the OpenSSH server.  If you’re not using a recent OpenSSH Server release or if you can’t for security or political reasons, what could you do? Give up? It’s simpler than you think. [...]</description>
		<content:encoded><![CDATA[<p>[...] Here is a good tutorial show you how to Fix Xlib: PuTTY X11 proxy: wrong authentication protocol attempted: On recent OpenSSH Server releases, you can simply enable “ForwardX11Trusted yes” in the /etc/ssh/sshd_config file and restart the OpenSSH server.  If you’re not using a recent OpenSSH Server release or if you can’t for security or political reasons, what could you do? Give up? It’s simpler than you think. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Homes</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-11021</link>
		<dc:creator>Bob Homes</dc:creator>
		<pubDate>Mon, 13 Jun 2011 17:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-11021</guid>
		<description>Well done, thanks for this article!  Hopefully I won&#039;t have this problem again, otherwise I&#039;ll have to bookmark this site. :P</description>
		<content:encoded><![CDATA[<p>Well done, thanks for this article!  Hopefully I won&#8217;t have this problem again, otherwise I&#8217;ll have to bookmark this site. <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-10966</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Mon, 18 Apr 2011 18:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-10966</guid>
		<description>Thanks for the article.  Its the exact situation I&#039;m in. (windows laptop but have to run oracle install xwindows gui from solaris box - I don&#039;t have login to &#039;oracle&#039; user but sudo privs.)

I got putty&#039;s ssh (with x11 forwarding) to finally allow my login to run xclock, but couldn&#039;t run it after sudo to the oracle user.  When I tried to add the cookie as described in the article, I got:

xauth:  timeout in locking authority file $HOME/.Xauthority

All I had to do was change my home directory to &#039;read/writable&#039; (ie. chmod a+rw $HOME/.) and it worked.  Thanks a bunch.

XWindows is not really that complicated - but since its a networked based GUI system, its getting the networking to work that can be a pain.</description>
		<content:encoded><![CDATA[<p>Thanks for the article.  Its the exact situation I&#8217;m in. (windows laptop but have to run oracle install xwindows gui from solaris box &#8211; I don&#8217;t have login to &#8216;oracle&#8217; user but sudo privs.)</p>
<p>I got putty&#8217;s ssh (with x11 forwarding) to finally allow my login to run xclock, but couldn&#8217;t run it after sudo to the oracle user.  When I tried to add the cookie as described in the article, I got:</p>
<p>xauth:  timeout in locking authority file $HOME/.Xauthority</p>
<p>All I had to do was change my home directory to &#8216;read/writable&#8217; (ie. chmod a+rw $HOME/.) and it worked.  Thanks a bunch.</p>
<p>XWindows is not really that complicated &#8211; but since its a networked based GUI system, its getting the networking to work that can be a pain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: X Redirect - Untangle Forums</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-10931</link>
		<dc:creator>X Redirect - Untangle Forums</dc:creator>
		<pubDate>Mon, 28 Feb 2011 00:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-10931</guid>
		<description>[...] variable. export DISPLAY=localhost:10.0  Now we get an xauth error when we try and run xclock.  http://froebe.net/blog/2008/11/14/ge...ve-the-answer/  That link contains details on how to import the magic cookie from the root account to the kiosk [...]</description>
		<content:encoded><![CDATA[<p>[...] variable. export DISPLAY=localhost:10.0  Now we get an xauth error when we try and run xclock.  <a href="http://froebe.net/blog/2008/11/14/ge...ve-the-answer/">http://froebe.net/blog/2008/11/14/ge&#8230;ve-the-answer/</a>  That link contains details on how to import the magic cookie from the root account to the kiosk [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uncle Jemima</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-10924</link>
		<dc:creator>Uncle Jemima</dc:creator>
		<pubDate>Sat, 19 Feb 2011 02:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-10924</guid>
		<description>Great article. Wish I would have seen this before wasting 10 hours troubleshooting and testing. 

Since you brought up politics, my question is -- Should I let the security people who locked down all of our servers without warning or workaround know about your great solution? When they treated my like an annoying thorn for asking them to help? Muhahaha</description>
		<content:encoded><![CDATA[<p>Great article. Wish I would have seen this before wasting 10 hours troubleshooting and testing. </p>
<p>Since you brought up politics, my question is &#8212; Should I let the security people who locked down all of our servers without warning or workaround know about your great solution? When they treated my like an annoying thorn for asking them to help? Muhahaha</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason L Froebe</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-10864</link>
		<dc:creator>Jason L Froebe</dc:creator>
		<pubDate>Thu, 13 Jan 2011 14:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-10864</guid>
		<description>You could write a script that writes the DISPLAY and xauth info to a file prior to changing users.  As long as the user you changed to as read access to that file, you should be able to. :)</description>
		<content:encoded><![CDATA[<p>You could write a script that writes the DISPLAY and xauth info to a file prior to changing users.  As long as the user you changed to as read access to that file, you should be able to. <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harish</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-10861</link>
		<dc:creator>harish</dc:creator>
		<pubDate>Tue, 11 Jan 2011 17:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-10861</guid>
		<description>Hi

Thank you for the article...Each time when I logout and login I see this error.
Is there any one time fix that can be incorporated. I used Xming.</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Thank you for the article&#8230;Each time when I logout and login I see this error.<br />
Is there any one time fix that can be incorporated. I used Xming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amrit</title>
		<link>http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/comment-page-2/#comment-10818</link>
		<dc:creator>Amrit</dc:creator>
		<pubDate>Wed, 24 Nov 2010 17:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://froebe.net/blog/?p=755#comment-10818</guid>
		<description>Thanks for article. I was not aware of such utility on linux as well.
Thanks much for that.</description>
		<content:encoded><![CDATA[<p>Thanks for article. I was not aware of such utility on linux as well.<br />
Thanks much for that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

