I may be asking obvious questions here, but you didn't reveal a lot about your 
setup.

Do you event have a DISPLAY environment variable set?

What kind of display does your arm board have?

Maybe the easiest setup will be to ssh to your arm board with X forwarding, 
using ssh -Y or ssh -X

Sam

-----Original Message-----
From: "Koenraad Lelong" <[EMAIL PROTECTED]>
To: [email protected]
Sent: 21/07/07 20:00
Subject: Re: [lazarus] GTK2 for arm-linux

Christian Iversen schreef:
> Koenraad Lelong wrote:
>> Hi,
>> I compiled a minimal project for GTK2 on arm-linux. Compilation went
>> fine but when I run the project on my arm-board I get :
>> (project1:1448): Gtk-WARNING **: cannot open display:
>>
>> Any suggestions where I should look to solve this ?
> 
> That's the X-server telling you that it cannot open the X display.
I thought so, but why ?
I already made a GTK2-application, by "hand" (using glade) but it's a
pain converting C to Pascal every time you change anything in your app's
GUI. But the program runs fine.
> 
> You can try to run "xhost +" on the X-server, but it is UNSAFE, and ONLY
> for debugging. It allows everyone to read and write to your X display.
Is this just "xhost +" from the command-line (without quotes of course)
? This does not work on my arm-board.
No other suggestions ?
Regards,
Koenraad Lelong.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to