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

Reply via email to