[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

    • Uhm, that's every business ever, though. It doesn't matter if a bajillion users are using it. As long as it's not making bank, it's probably headed for the graveyard.
    • Yeah Patchou was an active member here, good ol' times indeed.
    • Samsung is the new Google... they don't care if millions of people are using it.
    • Still no word on Tides of Annihilation...... so weird that it wasn't shown at the big Game Fest. Guess I'll put it in the bin like Judas and Squadron 42.
    • Samsung is shutting down yet another app used by millions by David Uzondu Samsung has announced that it is shutting down Samsung Max, its VPN service used by more than 50 million people, effective today. Samsung Max VPN, if you don't know, was an Android app born on February 23, 2018, out of the ashes of Opera Max, a very popular data-saving VPN that Opera had discontinued the previous year. Samsung bought the discontinued service, rebranded it, and added a native Samsung UI to fit the Galaxy ecosystem. The app could do things like compress images, help you manage background data on a per-app basis, reduce video data consumption, shrink music files, optimize webpages, block advertisement trackers in incognito mode, and encrypt your internet traffic on public Wi-Fi networks. Image via SammyGuru If you open the app now, you'd be greeted by a shutdown banner warning that all VPN, data saving, and privacy services stopped functioning on June 15, 2026. The creators failed to provide a reason for the shutdown, instead publishing a farewell note that read: "Thank you for being with us over the years. Your support and activity truly meant a lot to us and helped shape this app into what it became." This same message appears on the Google Play Store listing for the app as well. Max VPN is the latest service from Samsung to join the list of discontinued applications from the company. Just two months ago, the Korean tech giant announced that it is completely shutting down Samsung Messages, forcing millions of users to migrate to Google Messages by next month. The only devices that the shutdown won't affect are older smartphones running Android 11 or lower. Some of the features of Google Messages that Samsung hopes will entice users include AI-powered scam detection to block suspicious links, integrated Gemini AI tools to generate quick replies, custom chat bubbles, and universal RCS compatibility for sharing high-quality media with iOS users. The platform also offers seamless syncing across tablets and smartwatches. In addition to that, users gain access to message scheduling, smart classification, and automated category sorting. Via: SammyGuru
  • Recent Achievements

    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      499
    2. 2
      +Edouard
      195
    3. 3
      PsYcHoKiLLa
      125
    4. 4
      Steven P.
      85
    5. 5
      neufuse
      73
  • Tell a friend

    Love Neowin? Tell a friend!