<?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>Random Wisdom &#187; cygwin</title>
	<atom:link href="http://scrolls.mafgani.net/tag/cygwin/feed/" rel="self" type="application/rss+xml" />
	<link>http://scrolls.mafgani.net</link>
	<description>An attempt at organizing my thoughts ...</description>
	<lastBuildDate>Sun, 13 Mar 2011 22:54:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>coLinux</title>
		<link>http://scrolls.mafgani.net/2006/01/colinux/</link>
		<comments>http://scrolls.mafgani.net/2006/01/colinux/#comments</comments>
		<pubDate>Thu, 19 Jan 2006 17:19:00 +0000</pubDate>
		<dc:creator>Mostafa</dc:creator>
				<category><![CDATA[How To ...]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[colinux]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[linux on windows]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://scrolls.mafgani.net/?p=49</guid>
		<description><![CDATA[Recently, I needed to use Umbrello but didn&#8217;t have access to a workstation that had it installed. And since I&#8217;m stuck with a Windows PC, I thought I&#8217;d take a look at the KDE-Cygwin project. It seems that they&#8217;ve stopped working on the project since there is a better alternative: Cooperative Linux. It&#8217;s basically a [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I needed to use <a href="http://uml.sf.net">Umbrello</a> but didn&#8217;t have access to a workstation that had it installed. And since I&#8217;m stuck with a Windows PC, I thought I&#8217;d take a look at the <a href="http://kde-cygwin.sf.net">KDE-Cygwin</a> project. It seems that they&#8217;ve stopped working on the project since there is a better alternative: <span style="font-weight:bold;"><a href="http://www.colinux.org">Cooperative Linux</a></span>. It&#8217;s basically a modified Linux 2.6.10 kernel that runs on Windows &#8212; kind of a like a virtual machine but it&#8217;s different &#8212; it&#8217;s definitely a lot faster. Here&#8217;s a snippet from the coLinux homepage:<br />
<blockquote>Cooperative Linux is the first working free and open source method for optimally running Linux on Microsoft Windows natively. More generally, Cooperative Linux (short-named coLinux) is a port of the Linux kernel that allows it to run cooperatively alongside another operating system on a single machine. For instance, it allows one to freely run Linux on Windows 2000/XP, without using a commercial PC virtualization software such as VMware, in a way which is much more optimal than using any general purpose PC virtualization software.</p></blockquote>
<p>The project page had a preconfigured Debian image and so that&#8217;s what I&#8217;m using at the moment. The native X server does not work though &#8212; so the Cygwin based X server is needed to diplay all the GUI stuff.</p>
<p>Getting it installed was a piece of cake. The Wiki site for coLinux has a lot of helpful info.</p>
<p>Once the basic text-mode linux is up and running (must be able to reach the host via the network), we need to run some commands from the cygwin shell. First  run</p>
<pre>$ cygserver-config</pre>
<p>to configure the cygwin server and then start the server with:</p>
<pre>$ cygrunserver -S cygserver</pre>
<p>Then, we need to set</p>
<pre>$ export CYGWIN=server</pre>
<p>And then start the X server in rootless mode. The easiest way is to just make a copy of the <span style="font-weight:bold;">startxwin.bat</span> file and then edit it to change the options to XWin.</p>
<p>Once the X server is running, we need to run &#8220;<span style="font-weight:bold;">xhost +</span>&#8221; from the <span style="font-weight:bold;">xterm</span> that had popped up. Then, we switch over to the coLinux console and run:</p>
<pre>$ export DISPLAY=&lt;ip of windows host&gt;:0</pre>
<p>And that&#8217;s it! Now you have a fully functional linux distro! I would have gone for a Fedora install but couldn&#8217;t find a proper image.</p>
]]></content:encoded>
			<wfw:commentRss>http://scrolls.mafgani.net/2006/01/colinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

