Koenraad Lelong wrote:
Christian Iversen schreef:
....
What is your "arm-board"? It doesn't sound like the machine that runs
your X-server?
If you use a unix machine as a workstation, then try this line:
DISPLAY=:0 xhost +
(that just runs "xhost +" with the additional environment of
"DISPLAY=:0" so that we are sure it is set)
This problem is not at all related to your program - it's a generic X
problem. Try to get something like xterm or xclock running on the arm
board, and you will see the same problem unless you fix the underlying
problem. (Which could indeed be a missing $DISPLAY environment var, as
pointed out by Tony Maro)
Christian,
Sorry about the missing information, but my "arm-board" is a PC104
computer-board with a PXA255 chip (Arcom Viper if you're interested). It
has a color LCD of 320x240 pixels. My previous application in FPC with
handwritten GTK2 code does run fine on that board, displaying on the
LCD. The GUI design was made with Glade and translated to FPC.
Now I'm trying to run a minimal Lazarus GTK2 application (a form with a
button) on the same board, with the problem I reported.
So that arm-board is the machine that runs my X-server.
I'm sorry, I don't know exactly what the problem is.
I think it's quite strange that some programs will contact the X-server,
and others not.
Are you 100% sure that you have started the programs with the same
$DISPLAY environment var?
If that's not the problem, I'm not really sure what is.
--
Med venlig hilsen
Christian Iversen
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives