Results 1 to 7 of 7
Thread: GTK warning:can't open display
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
05-21-2009 #1
- Join Date
- May 2009
- Posts
- 4
GTK warning:can't open display
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 #3
- 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 #5
- 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 #7
- 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