<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 04/11/2011 10:01 AM, Dushara Jayasinghe wrote:
<blockquote cite="mid:4DA2B54D.3020209@hydrix.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
I'm trying to use Xfbdev on an embedded linux device with a
monochrom LCD display. However, the command returns the following
error:<br>
<br>
Fatal server error:<br>
no screens found<br>
<br>
I have the device nodes for the framebuffer device (/dev/fb0). On
closer inspection of the code, it seems this error is generated
because screenInfo.numScreens has not been initialised. But I
can't work out where this parameter gets set.<br>
<br>
Any ideas?<br>
<br>
Using xserver_xorg-server-1.7.5<br>
with kdrive/fbdev<br>
</blockquote>
<br>
Hello,<br>
does the following command line, before starting Xfbdev, fixes the
issue:<br>
export DISPLAY=:0<br>
<br>
Regards,<br>
AWG<br>
</body>
</html>