Problem With Firefox And SSH/browser
Hi folks,
I have a problem, shame on me I feel as newbie, I cannot open Firefox though ssh.
ssh server is 7.2 and SSH client (running Xorg) is Fedora 23. Firefox does not open. I’ve tried a lot of methods, even adding xauth cookie, and for example:
firefox –no-remote –no-xshm debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 59181
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug3: send packet: type 91
debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 59183
debug2: fd 8 setting O_NONBLOCK
debug3: fd 8 is O_NONBLOCK
debug1: channel 2: new [x11]
debug1: confirm x11
debug3: send packet: type 91
debug2: channel 2: rcvd adjust 39228
I need to open a browser, ok, I could install konqueror, but it pulls a bunch of apps that really I don’t need. I’d want to install a browser from official repo…
Could you help me?
3 thoughts on - Problem With Firefox And SSH/browser
Hi Sergio,
Can you post the exact command used, for example:
SSH -Y remotehostname /usr/lib64/firefox/firefox
Thanks,
2016-06-01 19:36 GMT-03:00:
Hi Charles,
I’ve tried:
ssh -vvv -Y -X user@sshserver
Thanks in adavance
… which doesn’t invoke firefox? Maybe try:
localserver $ SSH -Y username@servername
sshserver $ xterm
to see if the problem is with firefox, or with the X connection.
Also check that package xorg-x11-xauth is installed (it probably is).
localserver $ SSH -Y username@servername
sshserver $ rpm -q xorg-x11-xauth
xorg-x11-xauth-1.0.9-1.el7.x86_64
If possible, log into a console session on the ssh server and see if firefox launches locally there.
Also check the environment on the remote system (ssh server)
is set correctly once you’ve ssh’d to it:
localserver $ SSH -Y username@servername
sshserver $ echo $DISPLAY
localhost:10.0
Also check that the remote username is permitted access to the local X server:
localserver $ xhost +
localserver $ SSH -Y username@servername
sshserver $ firefox
Note that this leaves localserver X server -wide-open-
from a security standpoint, so must be reversed after testing:
localserver $ xhost –
Hope that helps,