XMLinux Home | follow XMLinux | japanese

X server on coLinux console window on Debian

(2010-05-24)
[Debian LXDE gdm] [Debian LXDE desktop]

This document contains the procedure to run X server on coLinux console window. The software such as Cygwin, Xming, and VNC Viewer is not required. The testing coLinux is used. Debian Lenny 5.0.2 is used for guest Linux.

[Contents]

  1. Downloading and installing coLinux
  2. Downloading and configuration of guest Linux
  3. Installation, configuration, and start of X server
  4. Installation of desktop environment LXDE
  5. Changing of the resolution

[See also]


Downloading and installing coLinux

Downloading coLinux

Download coLinux-0.7.7.exe from Browse Cooperative Linux Files on SourceForge.net.

Moreover, download the following three files from http://www.henrynestler.com/colinux/testing/cofb-2.6.26.8/20100509/.

Installing coLinux

Run the downloaded file coLinux-0.7.7.exe to install it. The check on "Root Filesystem Image Download" is removed on the screen of "Choose Components" under the installation.

Installing the testing coLinux

Installing the testing coLinux in the environment where you installed coLinux-0.7.7.exe.

Removing driver

In a windows command prompt, run the following commands:

cd /d "C:\Program Files\coLinux"
colinux-daemon --remove-driver

"C:\Program Files\coLinux" depends on your coLinux install folder.

In the case you can not remove the driver on Windows 7/Vista, it seems to be able to install the testing coLinux by doing only the following "overwriting files", and restarting Windows.

Overwriting files

You can get the following files from your downloaded files.

  1. vmlinux
    Unpack vmlinux-2.6.26.8-co-0.8.0-fb-20100509.zip.
  2. linux.sys and many exe files
    Unpack daemons-0.8.0-20100509.zip.
  3. vmlinux-modules.tar.gz
    Rename modules-2.6.26.8-co-0.8.0-fb-20100509.tgz to vmlinux-modules.tar.gz.

Overwrite these files into your coLinux install folder.

Reinstalling driver

In a windows command prompt, run the following commands:

cd /d "C:\Program Files\coLinux"
colinux-daemon --install-driver

Downloading and configuration of guest Linux

Downloading and unpacking

Download Debian-5.0r2-lenny.7z from Browse Cooperative Linux Files on SourceForge.net.

Unpacking Debian-5.0r2-lenny.7z, you can get the following files:

Copy these files into your coLinux install folder.

Changing the start batch file

Delete -t nt from the following line in debian-lenny.bat:

colinux-daemon.exe -v 3 -t nt @debian-lenny.conf

Installation, configuration, and start of X server

Start Debian with debian-lenny.bat and log in as root user.

Install X server with commands as follows.

aptitude update
aptitude install xserver-xorg-video-fbdev xterm xinit

Insert Driver "fbdev" into /etc/X11/xorg.conf as follows:

Section "Device"
	Identifier	"Configured Video Device"
	Driver	"fbdev"
	Option	"UserFBDev" "true"
EndSection

Run xinit command to start X server.

[Debian xterm]

Installation of desktop environment LXDE

Install LXDE with command as follows:

aptitude install lxde xorg

Run startx command to start X server.

Moreover, when gdm is installed as follows and Debian is restarted, the graphical log in screen appears

aptitude install gdm
[Debian LXDE gdm] [Debian LXDE desktop]

Changing of the resolution

If you want to change the resolution to 800x600, insert SubSection "Display" into /etc/X11/xorg.conf as follows:

Section "Screen"
	Itentifier	"Default Screen"
	Monitor	"Configured Monitor"
	SubSection "Display"
		Depth	24
		Modes	"800x600"
	EndSubSection
EndSection

XMLinux Home | follow XMLinux | japanese
E-Mail: xmlinux2004@yahoo.co.jp
Copyright (c) 2010 HANAI Mitsuru. All rights reserved.
WITHOUT ANY WARRANTY