Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
gtk
Name: Thomas Date: November 12, 2002 at 14:17:54 Pacific OS: slackware 8 2.4.19 CPU/Ram: 133Mhz Pentium
Comment:
I have a problem with gtk, when i run a program that use gtk, i get
Gtk-Warning **:cannot open display:
i have tried to compiled and installed the gtk, but same result. I must have forgot something, but what i donīt know....
Name: armin Date: November 12, 2002 at 17:40:39 Pacific
Reply:
your DISPLAY variable is unset.
are u trying to run a cmd as root under a user`s Xserver? open a shell, type "xset +" and then try again. also do a "echo $DISPLAY", this should return ":0.0", if it doesnt, do a "export DISPLAY=:0.0" and try to start the program u tried to start before from the same shell.
another possibility for that error could be that you tried to start a program that needs an Xserver from a terminal. provide more info what ure trying to do and helping is easier.
hth
0
Response Number 2
Name: Thomas Date: November 13, 2002 at 07:51:05 Pacific
Reply:
Hello, tnx for the answer. I have compiled and installed a package called Soundmodem (Soundcard as a radiomodem for hamradio). In the documentation it says that the requirement for that is to have gtk and libxml installed, i have compiled and installed all that stuff, but when i run soundmodemconfig i get this message Gtk-Warning **:cannot open display:. Iīm not so familiar with this GTK stuff. /Thomas
0
Response Number 3
Name: Thomas Date: November 13, 2002 at 13:50:22 Pacific
Reply:
I have tried xset + command and get xset: unable to open display ":0.0" . When i type echo $DISPLAY i get :0.0 and after that i typed soundmodemconfig once again i did get Gtk-Warning **:cannot open display: :0.0 ??????? hehe, so i donīt get this...
/Thomas
0
Response Number 4
Name: Kenneth Date: November 13, 2002 at 14:04:15 Pacific
Reply:
Try to pipe $:locate_error it may work!
/hug
0
Response Number 5
Name: Thomas Date: November 13, 2002 at 14:05:16 Pacific
Summary: when i load a program through console.. such as aim.. i get a long list of errors. they look something like this: Gtk-WARNING **: Unable to locate image file in pixmap_path: "button5.png" line 25 ....
Summary: What are the advantages to using wxWindows, QT, and GTK? I am looking into making one of these what I use for cross-platform programs. Which one is best? Easiest to use? Most Features? Etc. ...