<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> I am trying to run Xorg on my
arm target device. It has no physical display device so I just enabled linux
virtual framebuffer. But when I try to run the xserver, I get the message
"Cannot open virtual console 2". How do I get rid of this fatal error message
preventing me to startup the Xorg server. Attached is my configuration file and
the log file created by running "Xorg :98 -nolisten tcp". Did I miss anything?
Or is it just my command line? What is this virtual console anyway? Do I need to
map my fb0 to it and how?</FONT><FONT face=Arial size=2> By the way, I am not
using Xvfb as I still want other applications to bypass the X window system. So
I am using Linux virtual frame buffer module, not the Xvfb"</FONT></DIV>
<DIV> I did turn on "Virtual Terminal" in my device drivers
and I also enabled "Support for console on virtual terminal". By the way I am
using the prebuilt binaries from armel debian release as building the X system
from scratch together with all its required libraries requires a great amount of
effort and time. </DIV>
<DIV> Below is my /etc/X11/xorg.conf configuration file and my
system's output log. Hope you guys can help me out of this mess.</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks and best regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Andy</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>CONFIG FILE</FONT></DIV><FONT face=Arial
size=2><SPAN lang=EN>
<DL>
<DD>Section "Device"
<DD> Identifier "FBDevice"
<DD> Driver "fbdev"
<DD> Option "fbdev" "/dev/fb0"
<DD>EndSection
<DD>
<DD>Section "Screen"
<DD>I dentifier "FBScreen"
<DD> Device "FBDevice"
<DD> SubSection "Display"
<DD> Modes "default"
<DD> EndSubSection
<DD>EndSection
<DD>
<DD>Section "ServerLayout"
<DD> Identifier "FBLayout"
<DD> Screen "FBScreen"
<DD>EndSection</DD></DL></SPAN></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>LOG FILE</FONT></DIV><SPAN lang=EN>
<DL>
<DD>X.Org X Server 1.4.2
<DD>Release Date: 11 June 2008
<DD>X Protocol Version 11, Revision 0
<DD>Build Operating System: Linux Debian (xorg-server 2:1.4.2-7)
<DD>Current Operating System: Linux (none) 2.6.16.11-v012 #2 Tue Nov 4
09:48:40 SGT 2008 armv4tl
<DD>Build Date: 30 September 2008 04:47:25PM
<DD>
<DD>Before reporting problems, check http://wiki.x.org
<DD>to make sure that you have the latest version.
<DD>Module Loader present
<DD>Markers: (--) probed, (**) from config file, (==) default setting,
<DD>(++) from command line, (!!) notice, (II) informational,
<DD>(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
<DD>(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 1 00:30:28 1970
<DD>(==) Using config file: "/etc/X11/xorg.conf"
<DD>(==) ServerLayout "FBLayout"
<DD>(**) |-->Screen "FBScreen" (0)
<DD>(**) | |-->Monitor "<default monitor>"
<DD>(**) | |-->Device "FBDevice"
<DD>(==) No monitor specified for screen "FBScreen".
<DD>Using a default monitor configuration.
<DD>(==) Automatically adding devices
<DD>(==) Automatically enabling devices
<DD>(==) No FontPath specified. Using compiled-in default.
<DD>(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
<DD>Entry deleted from font path.
<DD>(WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does
not exist.
<DD>Entry deleted from font path.
<DD>(==) FontPath set to:
<DD>/usr/share/fonts/X11/misc,
<DD>/usr/share/fonts/X11/100dpi/:unscaled,
<DD>/usr/share/fonts/X11/75dpi/:unscaled,
<DD>/usr/share/fonts/X11/Type1,
<DD>/usr/share/fonts/X11/100dpi,
<DD>/usr/share/fonts/X11/75dpi
<DD>(==) RgbPath set to "/etc/X11/rgb"
<DD>(==) ModulePath set to "/usr/lib/xorg/modules"
<DD>(==) |-->Input Device "<default pointer>"
<DD>(==) |-->Input Device "<default keyboard>"
<DD>(==) The core pointer device wasn't specified explicitly in the layout.
<DD>Using the default mouse configuration.
<DD>(==) The core keyboard device wasn't specified explicitly in the layout.
<DD>Using the default keyboard configuration.
<DD>(II) No APM support in BIOS or kernel
<DD>(II) Loader magic: 0x1a0564
<DD>(II) Module ABI versions:
<DD>X.Org ANSI C Emulation: 0.3
<DD>X.Org Video Driver: 2.0
<DD>X.Org XInput driver : 2.0
<DD>X.Org Server Extension : 0.3
<DD>X.Org Font Renderer : 0.5
<DD>(II) Loader running on linux
<DD>(II) LoadModule: "pcidata"
<DD>(II) Loading /usr/lib/xorg/modules//libpcidata.so
<DD>(II) Module pcidata: vendor="X.Org Foundation"
<DD>compiled for 1.4.2, module version = 1.0.0
<DD>ABI class: X.Org Video Driver, version 2.0
<DD>(--) using VT number 2
<DD>
<DD>Fatal server error:
<DD>xf86OpenConsole: Cannot open virtual console 2 (No such file or directory)
<DD>(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
<DD>(WW) xf86CloseConsole: VT_GETMODE failed: Bad file
descriptor</DD></DL></SPAN></DIV></BODY></HTML>