<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>SALİH ERGÜT's blog</title>
	<atom:link href="http://ergut.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ergut.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 27 Sep 2009 21:15:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ergut.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/214fb35b661961957c8fee706fb6e942?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>SALİH ERGÜT's blog</title>
		<link>http://ergut.wordpress.com</link>
	</image>
			<item>
		<title>phpmyadmin access problem</title>
		<link>http://ergut.wordpress.com/2009/09/27/phpmyadmin-access-problem/</link>
		<comments>http://ergut.wordpress.com/2009/09/27/phpmyadmin-access-problem/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 21:15:26 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=32</guid>
		<description><![CDATA[All of a sudden I started to get the following error:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
whenever I tried to access to mysql database through phpmyadmin. I have been using it flawless for very long time.
I modified the following file:
/var/lib/phpmyadmin/config.inc.php
by changing
$cfg['Servers'][$i]['auth_type'] = 'config';
to
$cfg['Servers'][$i]['auth_type'] = 'cookie';
and everything is working fine now.
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=32&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>All of a sudden I started to get the following error:</p>
<p><code>#1045 - Access denied for user 'root'@'localhost' (using password: NO)</code></p>
<p>whenever I tried to access to mysql database through phpmyadmin. I have been using it flawless for very long time.</p>
<p>I modified the following file:</p>
<p><code>/var/lib/phpmyadmin/config.inc.php</code></p>
<p>by changing</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'config';</code></p>
<p>to</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'cookie';</code></p>
<p>and everything is working fine now.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=32&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2009/09/27/phpmyadmin-access-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>Perl DBI &#8211; Some usefull commands</title>
		<link>http://ergut.wordpress.com/2009/01/26/perl-dbi-some-usefull-commands/</link>
		<comments>http://ergut.wordpress.com/2009/01/26/perl-dbi-some-usefull-commands/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 20:49:53 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=10</guid>
		<description><![CDATA[Return a reference to column names
$name = $sth-&#62;{NAME};
Number of affected rows
$sth-&#62;rows();
New auto-incremented id
$latestId = $dbh-&#62;{&#8216;mysql_insertid&#8217;}
Uploading large data. &#8216;INSERT INTO&#8217; command takes long amount of time. Use &#8216;LOAD DATA&#8217; command to upload bulk data from a text file.

Be careful. If the file to be uploaded resides on the server, it still needs to be accessible by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=10&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Return a reference to column names</p>
<blockquote><p>$name = $sth-&gt;{NAME};</p></blockquote>
<p>Number of affected rows</p>
<blockquote><p>$sth-&gt;rows();</p></blockquote>
<p>New auto-incremented id</p>
<blockquote><p>$latestId = $dbh-&gt;{&#8216;mysql_insertid&#8217;}</p></blockquote>
<p>Uploading large data. &#8216;INSERT INTO&#8217; command takes long amount of time. Use &#8216;LOAD DATA&#8217; command to upload bulk data from a text file.</p>
<ul>
<li>Be careful. If the file to be uploaded resides on the server, it still needs to be accessible by the mysql server. E.g. you can place them under /tmp</li>
<li>You can specify NULL characters by &#8216;\N&#8217;, e.g. &#8220;9,\N,276,John&#8230;&#8221;</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=10&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2009/01/26/perl-dbi-some-usefull-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>Perl: Some usefull tips</title>
		<link>http://ergut.wordpress.com/2009/01/26/perl-some-usefull-tips/</link>
		<comments>http://ergut.wordpress.com/2009/01/26/perl-some-usefull-tips/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 20:48:21 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=12</guid>
		<description><![CDATA[Some handy Perl commands that is not used as much.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=12&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Some handy Perl commands that is not used as much.</p>
<p>Use &#8216;-&#8217; to refer to STDOUT &amp; STDIN.</p>
<blockquote><p>open(INP, &#8216;-&#8217;)   &#8212;&gt; STDIN<br />
open(OUT, &#8216;&gt;-)  &#8212;&gt; STDOUT<br />
$fh = IO::File-&gt;new(&#8216;-&#8217;,'w&#8217;)   &#8212;&gt; STDOUT</p></blockquote>
<p>Following the filehandle with &#8216;-|&#8217; opens the output of a shell command as a file.</p>
<blockquote><p>open($fh, &#8216;-|&#8217;, &#8216;ls -l&#8217;);<br />
open($fh, &#8216;-|&#8217;, &#8216;cat tmp.txt | sort&#8217;);</p></blockquote>
<p>Similarly IO::Pipe can be used to get the same affect:</p>
<blockquote><p>$fh = new IO::Pipe;<br />
$fh-&gt;reader(qw(ls -l));</p></blockquote>
<p>Then you can print the output</p>
<blockquote><p>while (&lt;$fh&gt;) { print; }</p></blockquote>
<p>Open a zipped file</p>
<blockquote><p>open(INP, &#8216;-|&#8217;, &#8216;gunzip &lt; tmp.txt.gz&#8217;);</p></blockquote>
<p>Print the output of a subroutine inside a string</p>
<blockquote><p>print &#8220;3+4 is @{ [addTwoNumbers(3,4)] }\n&#8221;;</p></blockquote>
<p>Use IO::File to store filehandles into a hash array.</p>
<blockquote><p>$fh{&#8216;infile&#8217;} = IO:File-&gt;new(&#8220;tmp.txt&#8221;, &#8220;r&#8221;);<br />
while (my $line = $fh{&#8216;infile&#8217;}-&gt;getline) {<br />
print $line;<br />
}<br />
$fh{&#8216;infile&#8217;}-&gt;close;</p></blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=12&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2009/01/26/perl-some-usefull-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>Customer Service: Chase vs. Citibank</title>
		<link>http://ergut.wordpress.com/2008/05/08/customer-service-chase-vs-citibank/</link>
		<comments>http://ergut.wordpress.com/2008/05/08/customer-service-chase-vs-citibank/#comments</comments>
		<pubDate>Thu, 08 May 2008 05:06:09 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[shopping-reviews]]></category>
		<category><![CDATA[chase]]></category>
		<category><![CDATA[citibank]]></category>
		<category><![CDATA[credit cards]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=9</guid>
		<description><![CDATA[I would like to share my unpleasant experience with Chase with the intention to help those who wants to apply for credit cards.
My payment to Chase was returned when I was out of country due to insufficient funds since I had an unexpected payment posted to my account while I was away. Long story short, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=9&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I would like to share my unpleasant experience with Chase with the intention to help those who wants to apply for credit cards.</p>
<p>My payment to Chase was returned when I was out of country due to insufficient funds since I had an unexpected payment posted to my account while I was away. Long story short, I was charged total of $109 as return fee and finance charges from Chase. This was the very first time something like that happened for the last 7 years that I owned Chase credit card. Most credit cards or banks forgive the first time mistakes. However Chase customer service would not reverse the finance charges as a courtesy.</p>
<p>This reminded me my pleasant experience with Citibank a year before. I got a loan from them and set my bank account to automatically pay the minimum monthly balance. There was a problem in the setup and Citibank did not get payments for two months so they called me to warn and I immediately made payments on the phone. Late payment fee and finance charges for two months added up to more than  $500, but they kindly reversed all the fees since it was the first time.</p>
<p>When I compared the service of Chase (my credit card for 7 years) vs. Citibank (their treatment even after 2 months), I decided that I will not use their credit card and keep my interaction to the minimum.  Since I always pay full amount in full, I never paid close attention to the interest rate. I noticed that my Chase card charges ~15% while Citibank card charges only ~9%.</p>
<p>What is your experience with these cards?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ergut.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ergut.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=9&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2008/05/08/customer-service-chase-vs-citibank/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>How to switch desktops on Ubuntu</title>
		<link>http://ergut.wordpress.com/2008/05/02/how-to-switch-desktops-onubuntu/</link>
		<comments>http://ergut.wordpress.com/2008/05/02/how-to-switch-desktops-onubuntu/#comments</comments>
		<pubDate>Fri, 02 May 2008 23:47:12 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[desktop]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=8</guid>
		<description><![CDATA[This is how I switched my desktop from Xubuntu to Ubuntu. Different combinations are done with a similar approach. <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=8&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is how I switched my desktop from Xubuntu to Ubuntu. Different combinations are done with a similar approach. See the reference below for a detailed explanation.</p>
<ul>
<li><code>sudo apt-get update</code></li>
<li><code>sudo apt-get install ubuntu</code></li>
<li><code>sudo update-alternatives --config usplash-artwork.so</code>
<ul>
<li>Select artwork for the boot and shutdown screens, enter the following two commands in a Terminal window:</li>
</ul>
</li>
<li><code>sudo update-initramfs -u</code></li>
<li><code>sudo dpkg-reconfigure gdm</code>
<ul>
<li>However both Ubuntu &amp; Xubuntu uses gdm, following step will resolve this problem</li>
</ul>
</li>
<li><code>sudo gdmsetup</code>
<ul>
<li>If this fails to launch a GUI window, first run <code>sudo su</code> and then type <code>gdmsetup</code></li>
<li>Go to &#8220;Local&#8221; tab and select the Ubuntu theme</li>
</ul>
</li>
</ul>
<p>When you logon next time do not forget to select the &#8220;gnome&#8221; as the current session.</p>
<p>In my case compiz caused Ubuntu to consume a lot of CPU power so I uninstalled it:</p>
<p><code>sudo apt-get –purge remove compiz* libcompizconfig*</code></p>
<p><strong>Reference</strong></p>
<ul>
<li><a title="Switching Desktops on Ubuntu" href="http://www.pcworld.com/printable/article/id,132030/printable.html" target="_blank">PCWorld</a></li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ergut.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ergut.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=8&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2008/05/02/how-to-switch-desktops-onubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>Secure VNC with SSL</title>
		<link>http://ergut.wordpress.com/2008/04/01/secure-vnc-with-ssl/</link>
		<comments>http://ergut.wordpress.com/2008/04/01/secure-vnc-with-ssl/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 08:38:13 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=6</guid>
		<description><![CDATA[A detailed explanation of how to make VNC work over SSL can be found here. Reading that and the e-mail discussions here, I&#8217;d like to summarize the procedure:
SERVER

 Create the certificate stunnel.pem (Follow the instructions given at the link above)
Run VNC server: vncserver :5
Create a secure tunnel: stunnel -d 5950 -r 5905 -p /path/to/stunnel.pem
Download the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=6&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A detailed explanation of how to make VNC work over SSL can be found <a href="http://www.ibm.com/developerworks/linux/library/l-sslvnc.html" title="SSL secures VNC applications" target="_blank">here</a>. Reading that and the e-mail discussions <a href="http://groups.google.com/group/comp.os.linux.networking/browse_thread/thread/d8ce38cbb4bb780b/accf3c7284ff0767" title="Google groups discussion on VNC with SSL" target="_blank">here</a>, I&#8217;d like to summarize the procedure:</p>
<h3>SERVER</h3>
<ul>
<li> Create the certificate <code>stunnel.pem </code>(Follow the instructions given at the link above)</li>
<li>Run VNC server: <code>vncserver :5</code></li>
<li>Create a secure tunnel: <code>stunnel -d 5950 -r 5905 -p /path/to/stunnel.pem</code></li>
<li>Download the source code of <a href="http://www.karlrunge.com/x11vnc/#downloading" title="source code of x11vnc" target="_blank">x11vnc</a>. Copy the <code>VncViewer.jar </code> and <code>SignedVncViewer.jar</code> into a folder accessible by the webserver, e.g. &#8220;<code>/vnc</code>&#8220;</li>
<li>Create an index.html file with the following content (replace YOUR-HOSTNAME with your hostname):
<pre>&lt;html&gt;
&lt;body&gt;
&lt;applet code="VncViewer.class" archive="VncViewer.jar" width="800" height="600"&gt;
&lt;param name="PORT" value="5950" /&gt;
&lt;param name="HOST" value="YOUR-HOSTNAME" /&gt;
&lt;param name="Open New Window" value="no" /&gt;
&lt;!-- the following helps in Opera:
&lt;param name="Cursor shape updates" value="Disable" /&gt;
--&gt;
&lt;/applet&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
</li>
</ul>
<h3>CLIENT</h3>
<p>From a web browser you can access to the following address:</p>
<p><i>http://YOUR-HOSTNAME/vnc</i></p>
<p>Even better, if you setup the directory under SSL domain:</p>
<p><i>https://YOUR-HOSTNAME/vnc </i></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ergut.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ergut.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=6&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2008/04/01/secure-vnc-with-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>Remote access to your parents&#8217; computer</title>
		<link>http://ergut.wordpress.com/2008/04/01/remote-access-to-your-parents-computer/</link>
		<comments>http://ergut.wordpress.com/2008/04/01/remote-access-to-your-parents-computer/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 01:52:55 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[remote access]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tunneling]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=3</guid>
		<description><![CDATA[You can&#8217;t always be there for your parents when they need your help desperately for their computer problems. I resolved this issue with some basic software that I&#8217;d like to share. I&#8217;d like to give the basics first and I will provide more details  when I have more time.
What is the problem? 

Remote computer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=3&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>You can&#8217;t always be there for your parents when they need your help desperately for their computer problems. I resolved this issue with some basic software that I&#8217;d like to share. I&#8217;d like to give the basics first and I will provide more details  when I have more time.</p>
<h3><font>What is the problem? </font></h3>
<ul>
<li>Remote computer (Possibly Windows PC) do not have a public address.</li>
<li>You have a Linux server with a public IP address.</li>
<li>You want to be able to securely access the remote computer.</li>
</ul>
<h3><font>What software? </font></h3>
<ul>
<li>Putty</li>
<li>TightVNC</li>
</ul>
<h3>How?</h3>
<ol>
<li>Install TightVNC and launch TightVNC server
<ol>
<li>Set a password</li>
<li><i>Optional: </i>Only allow connections from localhost for security</li>
</ol>
</li>
<li>Install Putty
<ol>
<li>Create a session to connect to your Linux server</li>
<li>In the SSH options click on the tunnel and create a remote port forwarding. (Source: 5900, Destination: localhost:5911, Remote option selected)</li>
<li>Save and connect to your server</li>
<li><i>Optional: </i>You can create keys to login to your server without a password. One less password to remember for them.</li>
</ol>
</li>
<li>At the Linux server, launch vncviewer to port 5911, i.e.  vncviewer localhost:11</li>
</ol>
<h3><font>Some security tips<br />
</font></h3>
<ul>
<li>We are using putty because tunneling VNC over SSH makes it secure. You can also setup VNC over SSL and access their computer from any browser. Check out <a href="http://ergut.wordpress.com/2008/04/01/secure-vnc-with-ssl/" title="secure VNC over SSL">this post</a>.</li>
<li>Allowing only local access makes it more secure against external attacks. TightVNC server only responds if the Putty is running.</li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ergut.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ergut.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=3&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2008/04/01/remote-access-to-your-parents-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress vs. Blogger</title>
		<link>http://ergut.wordpress.com/2008/03/16/wordpress-vs-blogger/</link>
		<comments>http://ergut.wordpress.com/2008/03/16/wordpress-vs-blogger/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 20:51:27 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[online services]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=5</guid>
		<description><![CDATA[After using Blogger for awhile I decided to switch to WordPress for the following reasons:

WordPress provides free source code and you can easily migrate your blog to your own web server anytime.
WordPress supports hierarchical categories as well as tags.
&#8220;&#8230;wordpress.com&#8221; is cooler than &#8220;&#8230;blogspot.com&#8221;.. :)

I will report my experiences..
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=5&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After using Blogger for awhile I decided to switch to WordPress for the following reasons:</p>
<ol>
<li>WordPress provides free source code and you can easily migrate your blog to your own web server anytime.</li>
<li>WordPress supports hierarchical categories as well as tags.</li>
<li>&#8220;&#8230;wordpress.com&#8221; is cooler than &#8220;&#8230;blogspot.com&#8221;.. :)</li>
</ol>
<p>I will report my experiences..</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ergut.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ergut.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=5&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2008/03/16/wordpress-vs-blogger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>Howto disable visual bell</title>
		<link>http://ergut.wordpress.com/2008/03/16/howto-disable-visual-bell/</link>
		<comments>http://ergut.wordpress.com/2008/03/16/howto-disable-visual-bell/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 20:39:41 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[visual bell]]></category>

		<guid isPermaLink="false">http://ergut.wordpress.com/?p=4</guid>
		<description><![CDATA[Just type:
xset -b
You can find more information about  visual bells at: Visual Bell mini-Howto
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=4&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just type:</p>
<p><code>xset -b</code></p>
<p>You can find more information about  visual bells at: <a href="http://www.ibiblio.org/oswg/oswg-nightly/oswg/en_US.ISO_8859-1/articles/alessandro-rubini/visual-bell/visual-bell-howto.html" class="http">Visual Bell mini-Howto</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ergut.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ergut.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=4&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2008/03/16/howto-disable-visual-bell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
		<item>
		<title>Latex Turkish Characters / Türkçe karakterler</title>
		<link>http://ergut.wordpress.com/2008/03/16/hello-world/</link>
		<comments>http://ergut.wordpress.com/2008/03/16/hello-world/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 20:04:06 +0000</pubDate>
		<dc:creator>ergut</dc:creator>
				<category><![CDATA[latex]]></category>
		<category><![CDATA[turkish]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[
\u{g} &#8211; ğ

\u{G} &#8211; Ğ

\c{c} &#8211; ç

\c{C} &#8211; Ç

\c{s} &#8211; ş

\c{S} &#8211; Ş

\&#8221;{u} &#8211; ü

\&#8221;{U} &#8211; Ü

\&#8221;{o} &#8211; ö

\&#8221;{O} &#8211; Ö
{\i}  &#8211; ı

\.{I} &#8211; İ

\^{a}

\^{A}

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=1&subd=ergut&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><ul>
<li><font face="courier new">\u{g} &#8211; ğ<br />
</font></li>
<li><font face="courier new">\u{G} &#8211; Ğ<br />
</font></li>
<li><font face="courier new">\c{c} &#8211; ç<br />
</font></li>
<li><font face="courier new">\c{C} &#8211; Ç<br />
</font></li>
<li><font face="courier new">\c{s} &#8211; ş<br />
</font></li>
<li><font face="courier new">\c{S} &#8211; Ş<br />
</font></li>
<li><font face="courier new">\&#8221;{u} &#8211; ü<br />
</font></li>
<li><font face="courier new">\&#8221;{U} &#8211; Ü<br />
</font></li>
<li><font face="courier new">\&#8221;{o} &#8211; ö<br />
</font></li>
<li><font face="courier new">\&#8221;{O} &#8211; Ö</font></li>
<li><font face="courier new">{\i}  &#8211; ı<br />
</font></li>
<li><font face="courier new">\.{I} &#8211; İ<br />
</font></li>
<li><font face="courier new">\^{a}<br />
</font></li>
<li><font face="courier new">\^{A}</font></li>
</ul>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ergut.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ergut.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ergut.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ergut.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ergut.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ergut.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ergut.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ergut.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ergut.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ergut.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ergut.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ergut.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ergut.wordpress.com&blog=3181741&post=1&subd=ergut&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ergut.wordpress.com/2008/03/16/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/211a4c1336fe71ce66f6d4b54141bfa5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ergut</media:title>
		</media:content>
	</item>
	</channel>
</rss>