Matthias Melcher wrote:
> On 18.12.2009, at 23:54, [email protected] wrote:
>> I got the "Can't open display:" error message. 
>> Could you tell me what I and missing? 


        I'd say it's a missing environment variable setting.
        If you've got a bourne or bash shell, try:

                export DISPLAY :0.0

        This assumes you're sitting at the console of the machine
        you're trying to build/run on.

        If you're ssh'ed into a machine, then you'd need to set the
        DISPLAY variable to the hostname or IP of your machine with
        the X11 graphics console, and be sure that console allows
        remote X11 connections (xhost +, TCP is not disabled by firewalls
        or by the graphics console's X11 config, etc..)

> 
> Ar you running under X11? If so, the display variable should be set to :0.0
> or similar. Can you start any other graphical applications from the console
> that you are using? You can probably start the application from your window
> manager if everything else breaks.
> 
>  Any X11 experts online?

        'Can't open display' almost always means no other GUIs should work 
either,
        and most likely the problem is either you don't have the DISPLAY 
environment
        variable set properly.

        As Matt asks; see if any other GUIs open from the command line.
        I would assume things like 'xmag', 'xterm', 'firefox', and other
        such default X11 programs would yield the same error.

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to