Chinaunix
标题:
借人气问一个x server移植的问题
[打印本页]
作者:
xwzss
时间:
2008-09-03 10:33
标题:
借人气问一个x server移植的问题
我正在移植X server到一个ARM平台上,遇到一点问题,在这方面有经验的达人能帮把手吗?
单独运行X:
# X&
X能起来,屏幕上会出现一个叉叉。当我运行一个客户端程序时(比如xeyes),就会出现如下提示:
IO error 29 (Illegal seek) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1;
而用startx来启动x server会出现如下的提示(同时屏幕上也会出现一个叉叉):
X connection to :0.0 broken (explicit kill or server shutdown).
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1;
这是我的xorg.conf:
Section "Module"
Load "shadowfb"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
ModulePath "/usr/X11R6/lib/modules"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "void"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "void"
EndSection
Section "Monitor"
Identifier "Builtin Default Monitor"
EndSection
Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
Option "Rotate" "CW"
EndSection
Section "Screen"
Identifier "Builtin Default fbdev Screen 0"
Device "Builtin Default fbdev Device 0"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "800x600"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Builtin Default fbdev Screen 0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
作者:
T-bagwell
时间:
2008-09-03 11:06
为啥要一直x window啊
多大啊
为啥不试试Nano-X呢?
作者:
bitmilong
时间:
2008-09-03 11:45
标题:
回复 #2 T-bagwell 的帖子
Nano-X 大概有多大?
作者:
T-bagwell
时间:
2008-09-03 12:03
原帖由
bitmilong
于 2008-9-3 11:45 发表
Nano-X 大概有多大?
之前我这边是4.1M
单单nano-x的lib.a是300多K
自己裁减一下,也用不多大
之前搞过Nanogtk,裁减一下,大约700多K
作者:
bitmilong
时间:
2008-09-03 13:04
标题:
回复 #4 T-bagwell 的帖子
不錯不錯, 有前途
作者:
rainbowwyl
时间:
2008-09-27 11:19
试着,首先export DISPLAY=":0.0", 然后再运行客户端程序
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2