On 2017-06-20 22:59, John Andersen wrote:
On 06/20/2017 01:25 PM, Carlos E. R. wrote:
...
You are wrong.
cer@Telcontar:~> ssh -X cer@Isengard.valinor Last login: Mon Jun 19 19:23:03 2017 from 192.168.1.14 Have a lot of fun... cer@Isengard:~> cer@Isengard:~> firefox cer@Isengard:~> ps afxu | grep -i firefox cer 21062 0.0 0.0 9328 1556 pts/12 S+ 22:23 0:00 \_ grep --color=auto -i firefox cer@Isengard:~> ps -ea | grep -i firefox cer@Isengard:~> cer@Telcontar:~> ps -ea | grep -i firefox 13546 ? 01:41:10 firefox cer@Telcontar:~>
QED.
The fact that your firefox command came immediatly back to a command prompt should have been a clue that you are NOT executing firefox. You've got something else in your path that starts and returns to a command prompt.
Except by the fact that a firefox window pops up and displays "http://localhost" to my local Apache page where ssh client is running, not the one from the server.
run /usr/bin/firefox in your ssh terminal, or better yet run /usr/lib/firefox/firefox
cer@Telcontar:~> ssh -X cer@Isengard.valinor Last login: Tue Jun 20 20:01:32 2017 from 192.168.1.14 Have a lot of fun... cer@Isengard:~> which firefox /usr/bin/firefox cer@Isengard:~> rpm -qf /usr/bin/firefox MozillaFirefox-52.1.1-57.9.1.x86_64 cer@Isengard:~> /usr/bin/firefox cer@Isengard:~> ps -ea | grep -i firefox cer@Isengard:~> logout Connection to isengard.valinor closed. cer@Telcontar:~> ps -ea | grep -i firefox 26355 ? 00:09:40 firefox cer@Telcontar:~> And a firefox window opens locally. The one from the local machine, despite being called inside an ssh session to another machine. This has been this way since ever. There is a known switch to disable this feature. You find it, because it is documented. This Firefox window that opens displays in "file:///etc/hostname" Telcontar.valinor which is the local machine, the client machine. Why don't you give up and recognize the truth? You are simply wrong. It is absurd that you insist. But if you insist, I will shoot a video. Just tell me what command you want me to run to capture the video. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)