Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Accessing a program running on a different computer



On 2011-01-30 at 22:49:54, Raymond Wan wrote:
>Suppose you're on Machine A and you are accessing Machine B
>remotely.  You start Process X running on Machine B.  If X
>is a GUI-based program (for example firefox), I don't
>believe there is a way to see it from Machine A.

I have to do that moderately often. Here's what to do from the SSH 
session:

    (x11vnc -display :0 -localhost -usepw &)
    sleep 1
    xtightvncviewer -passwd ~/.vnc/passwd localhost:0

Those are part of a larger shell script i have which lets me do all 
sorts of VNC stuff. To use just those lines as they are, you'll have to 
set up a password file--see vncpasswd(1).

__
Daniel A. Ramaley
Network Engineer 2

Dial Center 112, Drake University
2407 Carpenter Ave / Des Moines IA 50311 USA
Tel: +1 515 271-4540
Fax: +1 515 271-1938
E-mail: daniel.ramaley@example.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links