Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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.

Comment on opening a window on another computer
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.
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 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 ''

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://686292]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2015-07-02 12:52 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (37 votes), past polls