[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

  Quote
<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

    • Yeah!!!! I was damn well shocked to see the tab with previous file open when I clicked on the new file. It had private info and I was opening another file to show another person. That was weird
    • The article says the whole setup is about the size of a pencil case which sounds pretty portable to me.
    • I thought router has to have 6 Ghz band to be called wifi-7, guess I was wrong...
    • I have the Pixel 9 Pro XL...Unless this thing is "leaps and bounds" faster than the 9, I'll pass. And by leaps and bounds, I don't mean on benchmarks. "Real world" faster. Most people don't even come close to topping out the performance of their phones. Tensor G5 is Google's most powerful chip to date, boasting a staggering 36 percent performance leap over G4.
    • MIT's stunning 'bubble wrap' device squeezes water out from thin air even in deserts by Sayan Sen Image by Matteo Roman via Pexels Massachusetts Institute of Technology (MIT) engineers have built a new kind of device that can pull clean drinking water straight out of the air—no electricity needed. It’s designed for areas where water is scarce and traditional sources like rivers or lakes aren’t reliable. Right now, more than 2.2 billion people globally don’t have access to safe drinking water. In the United States alone, 46 million face water insecurity, with either no running water or water that’s not safe to drink. This new device, called an Atmospheric Water Harvesting Window (AWHW), uses a unique hydrogel panel that looks like black bubble wrap. These dome-shaped bubbles soak up water vapor from the air, especially at night when humidity is higher. During the day, sunlight makes the vapor inside evaporate. That vapor then condenses on a glass surface and drips down through a tube, turning into drinkable water. The AWHW doesn’t rely on power sources like batteries or solar panels. It’s completely passive, meaning it works on its own. The team tested a meter-sized panel in Death Valley, California, one of the driest places in North America, and got between 57.0 and 161.5 milliliters of water per day even with humidity as low as 21 percent. That’s more than what other similar passive devices have managed. “We have built a meter-scale device that we hope to deploy in resource-limited regions, where even a solar cell is not very accessible,” said Xuanhe Zhao, a professor at MIT. “It’s a test of feasibility in scaling up this water harvesting technology. Now people can build it even larger, or make it into parallel panels, to supply drinking water to people and achieve real impact.” Another cool part of the design is how they kept the water safe to drink. Usually, these kinds of hydrogels use salts like lithium chloride to absorb more vapor but that can lead to salt leaking into the water, which isn’t ideal. To solve this, MIT’s team mixed in glycerol, a compound that helps keep salt locked inside the gel. In testing, the lithium ion concentration in the harvested water stayed below 0.06 ppm (parts per million), which is way below the safe limit. The hydrogel domes also give the material more surface area, letting it collect more vapor. The outer glass panel is coated with a special polymer film that helps cool the glass, making it easier for vapor to condense. “This is just a proof-of-concept design, and there are a lot of things we can optimize,” said lead author Chang Liu, now a professor at the National University of Singapore. “For instance, we could have a multipanel design. And we’re working on a next generation of the material to further improve its intrinsic properties.” Published in Nature Water, the study says the AWHW could last at least a year and shows promise for making safe, sustainable water in places with harsh climates. The researchers believe an array of vertical panels could one day supply water to individual households, especially in remote or off-grid locations. Source: MIT News, Nature This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing.
  • Recent Achievements

    • One Month Later
      Ricky Chan earned a badge
      One Month Later
    • First Post
      leoniDAM earned a badge
      First Post
    • Reacting Well
      Ian_ earned a badge
      Reacting Well
    • One Month Later
      Ian_ earned a badge
      One Month Later
    • Dedicated
      MacDaddyAz earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      ATLien_0
      209
    3. 3
      Michael Scrip
      204
    4. 4
      Xenon
      143
    5. 5
      +FloatingFatMan
      121
  • Tell a friend

    Love Neowin? Tell a friend!