デスクトップとして使う(5)X のインストール

Debian LS-VL

まるしすなうぇぶろぐ(仮): 玄柴/ディスプレイの接続で 紹介いただいている手順で、LinkStation LS-VL でも GX-DVI/U2B が認識できたので、 続いて X をインストールする

X.org のインストール

root@vl:~# apt-get install xorg
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  fontconfig-config keyboard-configuration libaudit0 libdrm-radeon1 libdrm2
  libfontconfig1 libfontenc1 libfreetype6 libfs6 libgl1-mesa-dri
  libgl1-mesa-glx libglu1-mesa libice6 libpciaccess0 libpixman-1-0 libpng12-0
  libsm6 libutempter0 libx11-6 libx11-data libxau6 libxaw7 libxcb-atom1
  libxcb1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxfont1
  libxft2 libxi6 libxinerama1 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2
  libxrender1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 ttf-dejavu-core
  x11-apps x11-common x11-session-utils x11-utils x11-xfs-utils x11-xkb-utils
  x11-xserver-utils xauth xbitmaps xfonts-100dpi xfonts-75dpi xfonts-base
  xfonts-encodings xfonts-scalable xfonts-utils xinit xkb-data xorg-docs-core
  xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all
  xserver-xorg-input-evdev xserver-xorg-input-synaptics
  xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
  xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
  xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128
  xserver-xorg-video-i740 xserver-xorg-video-mach64 xserver-xorg-video-mga
  xserver-xorg-video-neomagic xserver-xorg-video-nv xserver-xorg-video-r128
  xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3
  xserver-xorg-video-s3virge xserver-xorg-video-savage
  xserver-xorg-video-siliconmotion xserver-xorg-video-sis
  xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
  xserver-xorg-video-tseng xserver-xorg-video-vesa xserver-xorg-video-voodoo
  xterm
Suggested packages:
  libglide3 pciutils mesa-utils nickle cairo-5c xfs xserver xorg-docs
  gpointing-device-settings touchfreeze xinput firmware-linux xfonts-cyrillic
The following NEW packages will be installed:
  fontconfig-config keyboard-configuration libaudit0 libdrm-radeon1 libdrm2
  libfontconfig1 libfontenc1 libfreetype6 libfs6 libgl1-mesa-dri
  libgl1-mesa-glx libglu1-mesa libice6 libpciaccess0 libpixman-1-0 libpng12-0
  libsm6 libutempter0 libx11-6 libx11-data libxau6 libxaw7 libxcb-atom1
  libxcb1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxfont1
  libxft2 libxi6 libxinerama1 libxkbfile1 libxmu6 libxmuu1 libxpm4 libxrandr2
  libxrender1 libxt6 libxtst6 libxv1 libxxf86dga1 libxxf86vm1 ttf-dejavu-core
  x11-apps x11-common x11-session-utils x11-utils x11-xfs-utils x11-xkb-utils
  x11-xserver-utils xauth xbitmaps xfonts-100dpi xfonts-75dpi xfonts-base
  xfonts-encodings xfonts-scalable xfonts-utils xinit xkb-data xorg
  xorg-docs-core xserver-common xserver-xorg xserver-xorg-core
  xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics
  xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm
  xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips
  xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128
  xserver-xorg-video-i740 xserver-xorg-video-mach64 xserver-xorg-video-mga
  xserver-xorg-video-neomagic xserver-xorg-video-nv xserver-xorg-video-r128
  xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3
  xserver-xorg-video-s3virge xserver-xorg-video-savage
  xserver-xorg-video-siliconmotion xserver-xorg-video-sis
  xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
  xserver-xorg-video-tseng xserver-xorg-video-vesa xserver-xorg-video-voodoo
  xterm
0 upgraded, 99 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.6 MB of archives.
After this operation, 85.6 MB of additional disk space will be used.
Do you want to continue [Y/n]?
ひぇー。仕方ないので、インストールする
Do you want to continue [Y/n]? y
Get:1 http://ftp.jp.debian.org/debian/ squeeze/main keyboard-configuration all 1.68+squeeze2 [388 kB]
Get:2 http://ftp.jp.debian.org/debian/ squeeze/main x11-common all 1:7.5+8+squeeze1 [279 kB]
Get:3 http://ftp.jp.debian.org/debian/ squeeze/main libice6 armel 2:1.0.6-2 [47.8 kB]
	:
	:
Setting up xserver-xorg-input-synaptics (1.2.2-2) ...
Setting up xserver-xorg-input-wacom (0.10.5+20100416-1) ...
Setting up xserver-xorg-input-all (1:7.5+8+squeeze1) ...
Setting up xserver-xorg (1:7.5+8+squeeze1) ...
Setting up xorg (1:7.5+8+squeeze1) ...
!root@vl:~#

/etc/X11/xorg.conf の設定

http://www.mulsys.net/code/xorg.confをコピーさせていただく。
root@vl:~# vi /etc/X11/xorg.conf
	:
	:
root@vl:~# cat /etc/X11/xorg.conf
Section "Files"
        ModulePath "/usr/lib/xorg/modules"
        ModulePath "/usr/local/lib/xorg/modules"
EndSection

Section "Device"
        Identifier "dl0"
        driver "fbdev"
        Option "fbdev" "/dev/fb0"
EndSection

Section "Monitor"
        Identifier "monitor0"
EndSection

Section "Screen"
        Identifier "screen0"
        Device "dl0"
        Monitor "monitor0"
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "screen0"
EndSection
root@vl:~#

X の起動

いよいよ
root@vl:~# startx


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32 armv5tel Debian
Current Operating System: Linux vl 2.6.31.8 #8 Sat Mar 10 18:43:22 JST 2012 armv5tel
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00800040,12M panic=5 BOOTVER=0.25
Build Date: 30 October 2011  09:07:45PM
xorg-server 2:1.7.7-14 (Julien Cristau )
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 10 23:12:48 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
(EE) FBDEV(0): mode initialization failed

Fatal server error:
AddScreen/ScreenInit failed for driver 0


Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
root@vl:~#
やっぱり一発通しというわけにはいかなひ

LS-VL

楽天市場
Amazon
livedoor デパート
バッファローダイレクト
Yahoo!ショッピング


デスクトップとして使う(4)GX-DVI/U2B の接続
ハックの記録
LinkStation/玄箱 をハックしよう

LS-QV1.0TL/1D 入手 / I got a LS-QV1.0TL/1D

Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市