Computing.Net > Forums > Linux > gtk

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

Reply to Message Icon

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....



Sponsored Link
Ads by Google

Response Number 1
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
Reply:

??????????????????????????????????????????

/Thomas


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: gtk

Gtk-WARNING **: ?? www.computing.net/answers/linux/gtkwarning-/8304.html

AquaX gtk theme help www.computing.net/answers/linux/aquax-gtk-theme-help/1994.html

wxWindows vs. QT vs.GTK www.computing.net/answers/linux/wxwindows-vs-qt-vsgtk/24825.html