On Thu, 25 Jul 2002, Dan Kenigsberg wrote:

> It is extremely impolite to quote myself, and furthermore say almost the same,
> but for the sake of the archive, I have to state that the following works just
> fine (though long ps file should be broken, I suppose):
>
> $ Xvfb :1&
> $ DISPLAY=:1 netscape&
> $ DISPLAY=:1 netscape -remote "openURL(iglu.org.il)"
> $ DISPLAY=:1 netscape -remote "saveAs(iglu.ps,PostScript)"
> $ gs -sDEVICE=jpeg -sOutputFile=iglu.jpg iglu.ps
>
> Anyone have an idea why this nice -remote option was not ported completely into
> mozilla? Yet another "priciple"?

At least in mozilla 1.0 it exists (at least partially: I'm not sure about
asveAs . See

   http://www.mozilla.org/unix/remote.html

[yup. mozilla succeds opening a URL, but responds to
'saveAs(iglu.ps,PostScript)' with "Failed to send command"]

I should note that I encountered problems authenticating the mozilla
client.

I should note that I had a problem to get mozilla (or any other client) to
run on the Xvfb server. They simply won't authenticate.

Something like what you suggested, and also:

  xinit /usr/bin/mozilla -- /usr/X11R6/bin/Xvfb :1

I get failiure of mozilla to connect to the X server, as it is not
authorized.

What worked in the end was:

  startx /usr/bin/mozilla -- /usr/X11R6/bin/Xvfb :1

(actually, I currently work on :1, and Xvfb was on :2)

Also note that I can't work with mozilla on the same profile with the same
user. But then again, you can easily create a seperate profile or use a
different user.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to