Re: GTK Warning cannot open display: :0.0
- From: Mike Hearn <m hearn signal qinetiq com>
- To: Nitin Mahajan <Nitin soc-soft com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GTK Warning cannot open display: :0.0
- Date: 30 Jul 2003 15:22:39 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]