Note that there are some explanatory texts on larger screens.

plurals
  1. POssh and window ids
    primarykey
    data
    text
    <p>I have a project to do in school which is baffeling me... I am SSHing into a Solaris computer in the computer lab from my own Debian box via</p> <pre><code>ssh -Y name@***.cs.&lt;school&gt; </code></pre> <p>I can get in just fine, and the X11 seems to be working also. However, this peticular project requires us to find the window id of a netscape window via xwininfo and use this information in the following command</p> <pre><code>netscape -id 0xa00029 -remote 'openFile(/path/to/html/file)' </code></pre> <p>Now, if this netscape is the only window I have open (other than xterm), the preceding command works just fine. However, if I have any other iceweasel windows open (regardless of the order in which I opened netscape/iceweasel) the command will forward to my iceweasel despite the facts that I'm running the command in my SSH session <strong>and</strong> the two windows have very different window ids.</p> <p>All of this eventually has to go into a C program, but I can't even get it to work reliably manually!</p> <p>Any ideas?</p> <p>P.S. I just saw this that may help. When I SSHed via Cygwin/X using the same command, I get this error</p> <pre><code>Warning: No xauth data; using fake authentication data for X11 forwarding. </code></pre> <p>Not sure if this is important as I can still use X11 (aparently) perfectly.</p> <p>Thanks.</p> <p>P.P.S the -id switch is documented in the netscape man pages:</p> <pre><code>-id window-id Identifies an X window to receive -remote commands. If you do not specify a window, the first window found is used. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload