Subj : Re: Can't open display: :0.0 To : comp.os.linux From : xproe Date : Fri Jul 30 2004 11:08 pm noone@celeron.local (Wiseguy) wrote in message news:<410abf08_5@127.0.0.1>... > xproe@yahoo.com (wendy) tried to express: > > 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. > > Without seeing your xserver config files I cannot say for sure but IIRC > some X implementations use a pipe in the /tmp directory to route X > commands from the server to the display. You could have erased the neededstuff in /tmp. Do other X programs work? Have you logged out and logged in > again since deleting the /tmp files? What about a reboot? That might > fix the /tmp issues. > > Are you logged into the machine that is running the X server are > you running xpdf remotely from a different client workstation? No, other X programs also don't work. I have logged out and logged in again since deleting the /tmp files. Yes, reboot seems solve the problem, but after I logged out again, problem appear again. I found may be the file of /tmp/.X11-unix/X0 has been deleted, do you know how to recover it? I ran xpdf on local workstation to access a remote file. My home directory is on a remote server. Thanks! .