<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://127.0.0.1"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Tw33Ty&#039;s blog</title>
 <link>http://127.0.0.1/blog/4</link>
 <description>EGLUG exists to serve the Egyptian Free/Open Source Community
you can also join us on IRC #eglug@irc.freenode.org
</description>
 <language>en</language>
<item>
 <title>Security Tip</title>
 <link>http://127.0.0.1/node/60</link>
 <description> &lt;p&gt;
Tip of the week   
&lt;/p&gt;
&lt;p&gt;
 StartX by default listens on port 6000, to see this you can type at a terminal: 
&lt;/p&gt;
&lt;p&gt;
netstat -an 
&lt;/p&gt;
&lt;p&gt;
This is not considered secure, or good linux practice to leave it listening for connections, since this can be exploited and leave you vulnerable. To close the connection, and make X a more secure place change to the directory where startx is at: 
&lt;/p&gt;
&lt;p&gt;
cd /usr/X11R6/bin/ 
&lt;/p&gt;
&lt;p&gt;
With your editor open startx, and look for the following line: 
&lt;/p&gt;
&lt;p&gt;
serverargs=&amp;quot; &amp;quot; 
&lt;/p&gt;
&lt;p&gt;
Change the line now to reflect this: 
&lt;/p&gt;
&lt;p&gt;
serverargs=&amp;quot;-nolisten tcp&amp;quot; 
&lt;/p&gt;
&lt;p&gt;
Be sure you don&#039;t forget to add the dash ---&amp;gt; - in front of &#039;nolisten tcp&#039; Now save and close startx, &lt;a class=&quot;glossary-term&quot; href=&quot;/glossary/term/114&quot;&gt;&lt;acronym title=&quot;A record of events.&quot;&gt;log&lt;/acronym&gt;&lt;/a&gt; off Xwindows your desktop, and log back in, then run &#039;netstat -an&#039; and you will now see that 6000 has been closed and is not there anymore 
&lt;/p&gt;
 &lt;p&gt;&lt;a href=&quot;http://127.0.0.1/node/60&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://127.0.0.1/node/60#comments</comments>
 <pubDate>Thu, 03 Jun 2004 16:36:28 +0000</pubDate>
 <dc:creator>Tw33Ty</dc:creator>
 <guid isPermaLink="false">60 at http://127.0.0.1</guid>
</item>
</channel>
</rss>
