XMLinux Home | follow XMLinux | japanese

X Server on coLinux Console Window on CentOS

(2010-06-09)
[CentOS xterm]

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. CentOS 5.5 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. 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 coLinux-install-tool-20100528.zip from the link on "Installation Tool for coLinux".

Unpack coLinux-install-tool-20100528.zip and create bootable disk image file of CentOS by using this tool.

Changing the Start Batch File

Delete "-t nt" from the following line in co-boot.bat:

start colinux-daemon %P% -t nt

Installation, Configuration, and Start of X Server

Start CentOS with co-boot.bat and log in as root user.

Install X server with command as follows.

yum -y install xorg-x11-server-Xorg xorg-x11-drv-fbdev xorg-x11-xinit xterm

Download xorg.conf-cent5-20100609.txt and copy to /etc/X11/xorg.conf file.

Run xinit command to start X server.

[CentOS xterm]

Changing of the Resolution

If you want to change the resolution to 800x600, change the value of Modes to ":800x600": in /etc/X11/xorg.conf as follows:

Section "Screen"
	Itentifier	"Default Screen"
	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