Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

foolishbrat

macrumors newbie
Original poster
Hi,

Suppose I have connected to Ubuntu PC through
ssh. Then I would like to open a PDF file inside stored
inside the Linux machine, through my Mac.

Is there a way to do it through MacOS' Darwin?
The way I see it is to type

darwin$ xpdf mypdf_file.pdf

Then xpdf will be opened on MacOS on top of X11 in Mac.

I could download the file first to my Mac and then opened
it with Preview. But that would be too inconvenient and
populating my Mac drive.

Please advice.

-fb
 
I believe that can be done, but it would probably be easier to run VNC on both machines and just be able to view the Linux desktop using VNC. SSH is great for CLI usage, but if you want desktop and file viewing, VNC works well.
 
I believe that can be done, but it would probably be easier to run VNC on both machines and just be able to view the Linux desktop using VNC. SSH is great for CLI usage, but if you want desktop and file viewing, VNC works well.

Hi tuxtpenguin,

Thanks for the reply. Two questions though:
1. What's the Mac application name for VNC?
2. You mean it is possible to view the file in Linux with Mac viewer,
for example using Album Cover Browser of Mac Finder?

- fb
 
To the OP -- please correct me if I am wrong, but what you want is to run X-application on your linux host and watch the results on your mac (e.g., use xpdf to display a PDF file which is located on your linux machone).

If that is the case, then all you have to do is to connect to the machine using 'ssh -X' and launch the application from the terminal. The application would then be displayed locally, using the mac's X11.app.

The vnc solution is useful if you want to access your linux machine's entire desktop display.

Speaking of which, how can I connect, using a secure form of vnc, from a mac to an ubuntu 8.04 desktop machine?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.