5 pts.
0
Q:
gtk warning cannot open display on redhat linux
Does anyone know how to solve this? I try all the document online such

xhost +
xauth
export display

The display=localhost:0.0

It works on ubuntu, but it does not work on redhat linux
ASKED: Dec 16 2008  5:39 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
330 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
If you have logged into X in a 'normal' fashion, you shouldn't need to go through all that just to start an X application.
DISPLAY is the proper environment variable for display, though - not display. Try export DISPLAY=0.0 instead of
specifiying localhost. More detail on the steps that you are performing and the actual error message might help more.
Last Answered: Dec 17 2008  9:43 PM GMT by MarkK   330 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0