-   Linux - Software (
-   -   know what this means in "man xpdf" (

urentity 02-06-2009 06:44 AM

know what this means in "man xpdf"

xpdf is quite a nice tool, and I was exploring its capabilities. It has a remote server option, but I don't understand what that means it's capable of doing. Can anybody help me with their interpretation?

The man page says

Remote Server Mode
Xpdf can be started in remote server mode by specifying a server name (in addition to the file name and page number). For example:

xpdf -remote myServer file.pdf

If there is currently no xpdf running in server mode with the name myServer', a new xpdf window will be opened.
So I can set up xpdf as a daemon on my own machine for other remote machines to use? Or can I view a pdf stored on a remote machine on my own computer? Or can I run xpdf on a remote computer using a file on my local one? There seems to be a myriad of interpretation possibilities.

Suggestions welcome. Thank you.

blackhole54 02-07-2009 02:31 AM

Disclaimer: I've not used xpdf in this mode, so I am speculating here.

Despite what it may sound like like at first reading, I don't think it is talking about an "over the network" type server. I think this is a way to start an instance (window) of xpdf and then control the contents of that window (or shut the window down) from the command line (or script). I am guessing that only the user that started the "server" can control it.

If you would like to start an instance of xpdf on a remote machine and view it on the local machine, then (just like any graphical application) you can (with proper authentication, etc):


ssh -X <optional user name@>remotehost xpdf document.pdf
Depending on configuration files, you may not need the -X option.

shyamkumar1986 02-07-2009 07:46 AM

I think this should answer your question:


N.B: Search for "REMOTE SERVER MODE" in the document.

urentity 02-09-2009 02:09 PM

thanks blackhole54 for trying to work it out. You've given me food for thought.

shyamkumar1986, you're kidding, right? You've referred back to the man page, and told me to look for the info I was orginally questioning ...

good example of a circular reference. OK, I'll play: can anybody give me a good example of a circular reference? :-D:-D

All times are GMT -5. The time now is 01:15 AM.