1752701 Members
5744 Online
108789 Solutions
New Discussion юеВ

SSH and firefox

 
sumdomo
Occasional Advisor

SSH and firefox

Hi,
I want to ssh to HPUX server from a solaris 10 workstation, then launch the firefox remotely as the following command:
/opt/firefox/firefox -remote 'OpenURL(http://www.google.com,new-tab)'
If I login as root, firefox did fire up from the workstation, but if I login as non-root user, error come up as: Error: No running window found

Do anyone has any suggestion for how to make this work as non-root user?

many thanks in advance.
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: SSH and firefox

> [...] HPUX server [...]

uname -a

> [...] solaris 10 workstation [...]

uname -a

> If I login as root, [...]

How, exactly?

As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions or interpretations.

Most SSH implementations have various options
which affect X Window behavior. With my weak
psychic powers, I can't see which one(s) you
might be using.

> [...] but if I login as non-root user [...]

Have you looked at the differences between
the shell start-up files ("~/.profile", ...)
for these users?

echo $DISPLAY
Steven Schweda
Honored Contributor

Re: SSH and firefox

> [...] firefox [...]

Have you tried other programs, like, say,
"xclock"?