これは coLinux コンソールで X サーバを動かす手順です。 Cygwin や Xming や VNC Viewer などのソフトは不要です。 テスト用の coLinux カーネルを使用します。 ゲストの Linux には Debian Lenny 5.0.2 を使います。
【目次】
【関連ページ】
Browse Cooperative Linux Files on SourceForge.net のページから coLinux-0.7.6.exe をダウンロードします。
また、 http://www.henrynestler.com/colinux/testing/cofb-2.6.26.8/20100509/ から
ダウンロードした coLinux-0.7.6.exe を実行してインストールします。 インストール途中の「Choose Components」の画面では、「Root Filesystem Image Download」のチェックを外します。
coLinux-0.7.6.exe をインストールした環境に上書きインストールします。
コマンドプロンプトで以下のコマンドを実行します。
cd /d "C:\Program Files\coLinux" colinux-daemon --remove-driver"C:\Program Files\coLinux" の部分は coLinux-0.7.6.exe をインストールしたフォルダによって異なります。
ダウンロードした、
vmlinux
ファイルを、linux.sys などのファイルを、vmlinux-modules.tar.gz
に名前を変更して、コマンドプロンプトで以下のコマンドを実行します。
cd /d "C:\Program Files\coLinux" colinux-daemon --install-driver
Browse Cooperative Linux Files on SourceForge.net のページから Debian-5.0r2-lenny.7z をダウンロードします。
Debian-5.0r2-lenny.7z ファイルを展開して、
debian-lenny.bat の
colinux-daemon.exe -v 3 -t nt @debian-lenny.confから
-t nt を削除して
colinux-daemon.exe -v 3 @debian-lenny.confに変更します。
debian-lenny.bat で Debian を起動し、root ユーザでログインします。
次のコマンドで X サーバなどをインストールします。
aptitude update aptitude install xserver-xorg-video-fbdev xterm xinit
export http_proxy=http://192.168.0.1:8080/を実行しておきます。
192.168.0.1:8080 の部分は、Windows のプロキシの設定に合わせて変更してください。
インストール後、 /etc/X11/xorg.conf を編集して、以下のように Driver "fbdev" を追加します。
… Section "Device" Identifier "Configured Video Device" Driver "fbdev" Option "UserFBDev" "true" EndSection …
xinit コマンドで X サーバが起動します。
次のコマンドで LXDE をインストールします。
aptitude install lxde xorg
startx コマンドで X サーバを起動します。
また、gdm をインストールし Debian を再起動すると、 グラフィカルログインの画面表示されます。
aptitude install gdm
解像度を 800x600 に変更するには、
/etc/X11/xorg.conf に以下のように
SubSection "Display" … EndSubSection を追加します。
… Section "Screen" Itentifier "Default Screen" Monitor "Configured Monitor" SubSection "Display" Depth 24 Modes "800x600" EndSubSection EndSection
|
English