Subj : Re: Can't open display: :0.0 To : comp.os.linux From : xproe Date : Fri Jul 30 2004 10:59 pm "Rinaldi J. Montessi" wrote in message news:... > On 30 Jul 2004 10:26:02 -0700, wendy wrote: > > I tried to use xpdf to open a .pdf file in my home directory which is > > mounted on my local machine from our unix server. It has problem as > > following: > > -------------------------------- > > Xlib: connection to ":0.0" refused by server > > Xlib: No protocol specified > > > > Error: Can't open display: :0.0 > > --------------------------------- > > The problem happened since yesterday. I delete some files from /tmp > > directory. > > Try: DISPLAY=:0.0; export DISPLAY > > You may need to xhost +localhost as well. > > Rinaldi Thank you Rinaldi, the DISPLAY value is right with my system. When I tried xhost +localhost, it appears the following information: ****** connect /tmp/.X11-unix/X0: No such file or directory X connection to localhost:10.0 broken (explicit kill or server shutdown). ****** I think I must delete the .X11-unix/X0 file without notice. Do you know how to recover back? I am greenhorn in linux. Thanks .