Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

opening a window on another computer

by PierreL (Novice)
on May 13, 2008 at 15:09 UTC ( #686292=perlquestion: print w/replies, xml ) Need Help??
PierreL has asked for the wisdom of the Perl Monks concerning the following question:

I have a program which open a browser on my own computer. $pid=open DATE, "iceweasel -new-window '' |"; I would like it to open this window on another computer. I found no answer. Thank you for helping.

Replies are listed 'Best First'.
Re: opening a window on another computer
by hawtin (Prior) on May 13, 2008 at 15:42 UTC

    This is not a Perl question (at least I don't think so). Since you are using Linux you will find that X Windows is your friend. Lets assume that you have the machines to run from and to display on, first allow the other machine to open windows on the one by issuing the following command (on

    xhost +

    Then launch the browser with:

    iceweasel -display -new-window ''
Re: opening a window on another computer
by traveler (Parson) on May 13, 2008 at 15:36 UTC
    If you are running X, and
    If you have permission,
    try something like DISPLAY=othercomputer:0 xclock&
    to run xclock on othercomputer
Re: opening a window on another computer
by moritz (Cardinal) on May 13, 2008 at 15:22 UTC
    How do you want to connect to that remote computer?
      with a simple lan on Linux.
        Using what protocol? Are you using VNC, networked X, Erlang, ssh, or what? There is no general "connect to machine X and take it over" system call.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://686292]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2018-02-22 05:12 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (288 votes). Check out past polls.