[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: GTK Warning cannot open display: :0.0
From:       Mike Hearn <m.hearn () signal ! qinetiq ! com>
Date:       2003-07-30 14:22:39
[Download RAW message or body]

Well, do other X11 apps work OK when launched in the same way? Make sure
you have write access to /tmp, that you have X11 security set up right
etc...

On Wed, 2003-07-30 at 10:24, Nitin Mahajan wrote:
> Hi!
>  
> Iam trying to write a simple program using gtk.
> When I call gtk_init( ) ,I get a warning during execution that 
> Gtk-WARNING **:Unable to open display 0.0.
>  
> X11TransSocketOpen: socket() failed for local
> _X11TransSocketOpenCOTSClient: Unable to open socket for local
> _X11TransOpen: transport open failed for local/localhost.localdomain:0
> 
> Gtk-WARNING **: cannot open display: :0.0
>  
>  
> The DISPLAY variable is properly set.
> What can be the solution for this??
> Thanx in advance .....
>  
> regards,  
>  
> Nitin Mahajan
> Ph:51101667. Mobile : 9886099925
> ======================================
> The Lord gave us two ends -- one to sit on and the other to think
> with. Success depends on which one we use the most.
>  
-- 
Mike Hearn <m.hearn@signal.qinetiq.com>
QinetiQ - Malvern Technology Center

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic