<?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/"
	>

<channel>
	<title>LifeUML &#187; Linux</title>
	<atom:link href="http://lifeuml.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifeuml.com</link>
	<description>from actor, to actors..</description>
	<lastBuildDate>Fri, 28 Aug 2009 10:17:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL error 1045 (28000): Access denied for user &#8230;</title>
		<link>http://lifeuml.com/mysql-error-1045-28000-access-denied-for-user/</link>
		<comments>http://lifeuml.com/mysql-error-1045-28000-access-denied-for-user/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 04:11:58 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Access denined]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[permission]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=77</guid>
		<description><![CDATA[Hello everybody,
Today, my task is configuring a MySQL server to allow connections from remote computers. The problem I has met is that although port 3306 on the router was already opened, users from internet still could not connect to my MySQL Server. Here is my error message:

tuyent@local:~$ mysql -u tuyent -p -h remote-computer
Enter password: 
ERROR [...]]]></description>
			<content:encoded><![CDATA[<p>Hello everybody,</p>
<p>Today, my task is configuring a MySQL server to allow connections from remote computers. The problem I has met is that although port 3306 on the router was already opened, users from internet still could not connect to my MySQL Server. Here is my error message:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">tuyent<span style="color: #000000; font-weight: bold;">@</span><span style="color: #7a0874; font-weight: bold;">local</span>:~$ mysql <span style="color: #660033;">-u</span> tuyent <span style="color: #660033;">-p</span> <span style="color: #660033;">-h</span> remote-computer
Enter password: 
ERROR <span style="color: #000000;">1045</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">28000</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>: Access denied <span style="color: #000000; font-weight: bold;">for</span> user <span style="color: #ff0000;">'tuyent'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'local'</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>using password: YES<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Well, here is my solution:<br />
- <strong>Step 1:</strong> Double check that the port 3306 is already opened.<br />
- <strong>Step 2:</strong> Open MySQL configuration file (/etc/mysql/my.cnf), comment the line</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># bind-address            = 127.0.0.1</span></pre></div></div>

<p>- <strong>Step 3:</strong> Restart the MySQL server</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysql restart</pre></div></div>

<p>- <strong>Step 4:</strong> Go to mysql command line and grant permission for user</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql<span style="color: #000000; font-weight: bold;">&gt;</span> grant all on <span style="color: #000000; font-weight: bold;">*</span>.<span style="color: #000000; font-weight: bold;">*</span> to <span style="color: #ff0000;">'tuyent'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'%'</span> identified by <span style="color: #ff0000;">'password'</span>;
mysql<span style="color: #000000; font-weight: bold;">&gt;</span> grant all on <span style="color: #000000; font-weight: bold;">*</span>.<span style="color: #000000; font-weight: bold;">*</span> to <span style="color: #ff0000;">'tuyent'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'localhost'</span> identified by <span style="color: #ff0000;">'password'</span>;
mysql<span style="color: #000000; font-weight: bold;">&gt;</span> flush privileges;</pre></div></div>

<p>Note: Remember to grant permission on both from localhost and from anywhere (&#8217;%&#8217; indicator), and flush all privileges.</p>
<p>Works fine for me <img src='http://lifeuml.com/smilies/yahoo_smiley.gif' alt='&#58;&#41;' class='wp-smiley' width='18' height='18' title='&#58;&#41;' /></p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/mysql-error-1045-28000-access-denied-for-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Remote Desktop For Controlling Windows (rdesktop)</title>
		<link>http://lifeuml.com/linux-remote-desktop-for-controlling-windows-xp-vista-server-2003-rdesktop/</link>
		<comments>http://lifeuml.com/linux-remote-desktop-for-controlling-windows-xp-vista-server-2003-rdesktop/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 00:25:00 +0000</pubDate>
		<dc:creator>TuyenT</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rdesktop]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://lifeuml.com/?p=48</guid>
		<description><![CDATA[I am responsible for couple of windows servers and windows xp workstations too. When I work from home, I need a way to get into Windows XP/2000/Vista/2003 server for work.

Since I have Debain Linux at home, I needed a way to login into Microsoft windows desktop from Linux OS. Many of us working at tech [...]]]></description>
			<content:encoded><![CDATA[<p>I am responsible for couple of windows servers and windows xp workstations too. When I work from home, I need a way to get into Windows XP/2000/Vista/2003 server for work.</p>
<p><img class="aligncenter size-medium wp-image-49" title="rdesktop" src="http://lifeuml.com/wp-content/uploads/2009/06/rdesktop-300x225.png" alt="rdesktop" width="300" height="225" /></p>
<p>Since I have Debain Linux at home, I needed a way to login into Microsoft windows desktop from Linux OS. Many of us working at tech support use rdesktop to connect to customers&#8217; windows XP box.</p>
<p>Especially it is very useful to configure Outlook or something else when customers do not understand how to configure or troubleshoot problem. This is the best way to fix a problem.</p>
<p>Fortunately, Linux has rdesktop utility. It is a client for remote desktop protocol (RDP), used in a number of Microsoft products including Windows NT Terminal Server, Windows 2000 Server, Windows XP and Windows 2003 Server. You do not need to install VNC server. All you need is rdesktop client on Linux or BSD workstation.</p>
<p><strong>Install rdesktop</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> rdesktop</pre></div></div>

<p>Connect to MS Windows 2000/2003 server from Linux, type the following command at a shell prompt (connect to Windows server called mw2sn100.mycorp.com)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rdesktop mw2sn100.mycorp.com</pre></div></div>

<p>Or connect to windows XP/Vista workstation having IP 192.168.1.17:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rdesktop 192.168.1.17</pre></div></div>

<p>Please note that you must first enable remote desktop connection under Windows Server/XP.</p>
<p>* Go to Windows XP Desktop<br />
* Right Click on My Computer<br />
* Select properties<br />
* Select Remote tab<br />
* Enable Remote desktop.<br />
* Save the changes.</p>
<p>Make sure enterprise firewall allows incoming connection on TCP port 3389. rdesktop supports many other options, see man page of rdesktop or visit main website of rdesktop for more information.</p>
<p>Original Post from: <a href="http://www.cyberciti.biz/tips/linux-remote-desktop-for-controlling-windows-xp-desktop.html" target="_blank">cyberciti.biz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lifeuml.com/linux-remote-desktop-for-controlling-windows-xp-vista-server-2003-rdesktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
