On 10/19/16 12:23, bruce wrote:
Hi.

This is a "continuation" of the issue of starting firefox for a diff
user on a box.

If one logs into (SSH) into a remote box, and wants to start firefox
on the remote machine, such that all firefox operations occur on the
remote machine..

Different sites suggest setting the DISPLAY var, as well as xauth,
etc.. none of which seem to work.

The local/remote are both centos/fed.

The goal:
  To be able to SSH into a remote box, and run a py script that
initiates a py/selenium binding/process to use firefox.
  -This requires that the remote box be able to start/run firefox
    for the user that the SSH session was started as/under.

The SSH/Firefox issue:
 -How to SSH into the box, and start firefox?

 (Already set up the keys, to allow ssh into the box vai ssh 192.168.1.4)

 Tried:
 ssh 192.168.1.4
  foo@box1# DISPLAY=0: firefox
   ---ERROR: cannot open display: 0:


  foo@box1# export DISPLAY=0:
  foo@box1# firefox
  ---No protocol specified
 ---ERROR: cannot open display: 0:

This has to be simple!

Take "ssh -X" instead of "ssh". Thos will solve your problem!

Joachim Backes


Any thoughts??
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]



--

Fedora release 25 (Twenty Five)
Kernel-4.8.2-300.fc25.x86_64


Joachim Backes <[email protected]>
http://www-user.rhrk.uni-kl.de/~backes/
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to