GTK Warning cannot open display: :0.0



Title: Message
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.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]