[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

    • There is a lot of reasons not to use Edge but faster fixes and security updates is not one of them.
    • Can't reproduce. I installed Edge, went to neowin.net > accepted the cookie consent > used menu to go to forums, everything loads and I can browse around the forums. If you can't interact with the dialog on the forums for some reason, go to the main site and accept the cookie consent there? It is true that the site will not function properly until the cookie consent is accepted or rejected,. it's a legal requirement and I also know that certain VPN/ad blockers block it, which is a user related issue and not a neowin.net problem.   This is not our cookie consent dialog. Gotta love browser hijacking... /s Edit: this may be what Californians see, I will confirm with our consent provider.
    • Google Chrome 149.0.7827.115 (offline installer) by Razvan Serea The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: when you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. Use one box for everything--type in the address bar and get suggestions for both search and Web pages. Thumbnails of your top sites let you access your favorite pages instantly with lightning speed from any new tab. Desktop shortcuts allow you to launch your favorite Web apps straight from your desktop. Chrome has many useful features built in, including automatic full-page translation and access to thousands of apps, extensions, and themes from the Chrome Web Store. Google Chrome is one of the best solutions for Internet browsing giving you high level of security, speed and great features. Important to know! The offline installer links do not include the automatic update feature. Download web installer: Google Chrome Web 32-bit | Google Chrome 64-bit | Freeware Download: Google Chrome Offline Installer 64-bit | Direct Link | 131.0 MB Download: Google Chrome Offline Installer 32-bit | Direct Link | 119.0 MB Download page: Google Chrome Portable Download: Chrome ARM64 | Direct Link View: Chrome Website | Release Notes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Oh, it's happening on more than one dialog? This is the dialog that I'm unable to interact with.
    • WSCC - Windows System Control Center 10.0.3.8 by Razvan Serea Windows System Control Center is a free, portable program that allows you to install, update, execute and organize the utilities from various system utility suites. WSCC can install and update the supported utilities automatically. Alternatively, WSCC can use the http protocol to download and run the programs. WSCC is portable, installation is not required. Extract the content of the downloaded zip archive to any directory on your computer. Free for personal use. The setup packages and updates are downloaded directly from their author's website! This edition of WSCC supports the following utility suites: Windows Sysinternals Suite (including support for "Sysinternals Live" service) NirSoft Utilities Mitec and more... WSCC - Windows System Control Center 10.0.3.8 changelog: [NEW] update progress is now visible on the Windows taskbar [FIXED] fixed an issue with the Update dialog [FIXED] minor fixes Download: WSCC (64-bit) | 5.4 MB (Free for personal use) Download: WSCC (32-bit) | 6.3 MB View: WSCC Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      491
    2. 2
      PsYcHoKiLLa
      170
    3. 3
      +Edouard
      164
    4. 4
      Steven P.
      85
    5. 5
      ATLien_0
      76
  • Tell a friend

    Love Neowin? Tell a friend!