[HOWTO] coLinux - running Linux in Windows


Recommended Posts

The one problem is that their guides suck. I have tried everything to connect it to the internet and can't seem to do it. I set up the windows TAP thing. Changed the name in the XML to match it. I have tried bridgeing the connections... I have tried everything they suggest but I can't get it running. Is there anyone that has had success running this behind a router?

Ok. I have made a break though in getting internet on this. Go to network connections and select your real connection and the colinux tap. Then right click and hit bridge connections. Now in your default.colinux.xml edit the line

<network index="0" type="tap" name="colinux tap"/>

Or something like that to

<network index="0" type="bridged" name="NAME_OF_COLINUX_TAP"/>

Now boot up colinux and type

editor /etc/network/interfaces

change it so it says

iface eth0 inet dhcp

Now save it (hit ctrl+x then y and then enter) and now type

ifdown eth0

and then

ifup eth0

Now for some reason with this setup I was not able to be connected to trillian or xfire. Yet colinux worked fine. It connected and started downloading stuff...

[Edit] forgot something :p [/edit]

Edited by Oompa
  • 2 weeks later...

coLinux Getting Started Guide

http://wiki.colinux.org/cgi-bin/GettingStartedLong

So far, following that guide located at the url above, I have found coLinux to be very easy...

I have been running (and do run) SuSE 9.3 and Windows XP in a dual boot scenario. But I want to be able to use (the main reason for trying this out) KDevelop in windows. This is the best free IDE I have come across, and I have not found a reasonable replacement in Windows. I dont want to reboot and run SuSE every time I want to do a little development when i'm in windows. I tried cygwin/X, but (i think) the version of KDevelop (3.0.0 beta) i came up with was incompatible with the brand new KDE 3.4 i got. it required a bit of playing with the directory structure to get it to run, but it could not load the language plugins of kdevelop.

Now I am trying coLinux, running Debian. As I am writing this, I am still busy downloading all of the kdebase dependancies. Everything has gone very well for me so far, especially considering this is my first real experiance of Debian. (I got the Debian 3r4 cds, but didn't much like it... But it doesn't seem too bad now. Quite like it, in a way). If all of this works, I will have to investigate SuSE and coLinux. Failing that, Mandriva.

But so far, so good. Only, my connection speed is currently only 64kbps, as opposed to my usual 1mbps, so the downloading of packages with apt-get is taking very long...

I dont have anywhere to host the screenshot, so i cannot post it here...

and its only a single console window, busy with an apt-get install of kdebase. Not much to see... it might be more impressive if i have a shot of the logon prompt, where you get dumped after a fresh Debian install (coLinux or otherwise)

I found a place to stick my screenshot.. a little attachment box.

post-121054-1122746259_thumb.jpg

I am behind a router, which makes configuring networking very easy. I bridged my normal, physical adapter and the TAP adapter, calling the TAP Adapter coLinuxNET, and put that name in the colinux.xml config file

<network index="0" type="tap" name="coLinuxNet" />

Windows does seem to not realise that its connected tho, but its all working perfectly. I have a link to the internet, but windows tells me that the coLinuxNet adapter has no connection. Oh well, i'll ignore that, seeing as it does actually work.

I also now have a minimal KDE system running, with the display exported through a VNC server. So, using RealVNC Client in windows, I can connect to 192.168.0.40:1 as my graphical display.

This configuration (coLinux + VNC) seems to operate a lot better than Cygwin/X, and also seems to use fewer resources.

After many hours of waiting for KDevelop3 and its dependencies to download, here is the final result.

A vncserver running in coLinux, exporting a display resolution 1152x808 (My windows Res is 1152x864) This resolution makes the windows taskbar still visible below the VNC Viewer window, but also maximizes the size of the KDE desktop (I maximize the VNC Viewer Window, and with any larger vncserver geometry, i have scroll bars.) The nice thing about runnning the slightly lowered resolution (1152x808) is that i still have full, easy access to my windows taskbar, and anything i need to do in there. I can run a full screen Viewer window, with the vncserver -geometry set to 1152x768, but that makes a little more difficult to switch between KDE and Windows.

Oh, I had to manually fix a couple of dependecies (for building C++ projects with kdevelop). apt-get install libtool; apt-get install g++

without libtool, i got some problems trying to run automake and autoconf etc. got libtool, then in configure, I got told that my c++ compiler could not create executable files. After a quick Google, I found that I should check if g++ was installed correctly (or at all). It was not, so i got it, which fixed everything.

post-121054-1122838600_thumb.jpg

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I would recommend the Nothing 2a. The battery life is awesome, 2 or 3 days without going into battery power mode. The only thing that I've been looking into recently is that it doesn't "support" Graphene OS. I'm pretty sure there is a way, I just need to do some more looking.
    • You'd have to show me an example of a listing that says Gen 1, usually i'd expect that to mean Snapdragon Gen 1 (a type of chipset, which the Pixels don't use). Pixel 7 - White - 128gb - Unlocked - 85%+ battery - Grade B+ - $159 with free delivery - https://www.ebay.com/itm/398046617206 Pixel 7 - Obsidian - 128gb - Unlocked - 80%+ battery - Very Good - $157 with free delivery - https://www.ebay.com/itm/355617734563 Both look to be sold by companies with good feedback, dealing with refurbished phones and state the phones are unlocked with a clean IMEI. Obviously I can't vouch for either company though, but the listings look good in my opinion.
    • Because Chrome is doing it. And no one said anyone had to update immediately. That's silly. They could update every day for all I care as long as it's fast, and the next time the browser restarts, you're good. And the basic point is not to tee it up for bigger updates. As it is right now, all the windows I had open reopen anyway except inprivate.
    • Why? Does anybody actually want this? The constant need to close all browser sessions and wait for a new version to install, just so that there’s a integrated coupon manager feels like a waste of everyone’s time
    • I remember when Louis used to just do interesting Mac/iPhone repairs, now he's boring and just launches "crusades" every week
  • Recent Achievements

    • Week One Done
      davidbazooked earned a badge
      Week One Done
    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
  • Popular Contributors

    1. 1
      +primortal
      514
    2. 2
      PsYcHoKiLLa
      185
    3. 3
      +Edouard
      159
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!