Results 1 to 7 of 7
After launching icewm,if i launch any gtk application
GTK warning:can't open display error is getting.I run commands like.X,startx.
I have modified xinitrc by adding exex icewm.
Icewm is running successfully ...
- 05-21-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 4
GTK warning:can't open display
After launching icewm,if i launch any gtk application
GTK warning:can't open display error is getting.I run commands like.X,startx.
I have modified xinitrc by adding exex icewm.
Icewm is running successfully but unable to run the simple hello-world GTK
applications.
- 05-21-2009 #2
What distribution are you running?
This might help.
Exporting DISPLAY in X Windows
- 05-22-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 4
we are using Montavista Linux on Davinci board.
- 05-22-2009 #4
Are you running as regular user? That GTK warning usually appears when trying to open the app as root.
- 05-22-2009 #5Just Joined!
- Join Date
- May 2009
- Posts
- 4
yes iam running as a root.So wat 2 do??
Thannx 4 the replies
- 05-22-2009 #6
Have you created a regular user account? You should run apps as regular user, not as root. This is a safety measure you're running into. See this for more.
- 05-26-2009 #7Just Joined!
- Join Date
- May 2009
- Posts
- 4
error:can't open display:127.0.0.1:0.0
Hi ,
I am newbie to Linux.
Let me elaborate my problem.I have done "export DISPLAY=127.0.0.1:0.0",if i echo $DISPLAY,its showing the correct 127.0.0.1:0.0.
After launching X,if i run xclock/rdesktop it throws error:can't open display:127.0.0.1:0.0.
If i run the icewm,its launching properly.If i run the same xclock/rdesktop from the icewm menu,they are running properly.I got stuck at this point.
So the error is coming only when the applications are running from the unix prompt.
Pls help me in sorting out this issue.
Thanks in advance


Reply With Quote
