Re: [CentOS] Problem with Firefox and SSH/browser

2016-06-02 Thread cpolish
On 2016-06-02 09:59, Sergio Belkin wrote:
> 2016-06-01 19:36 GMT-03:00 :
> > On 2016-06-01 09:53, Sergio Belkin wrote:
> > > 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
> > 
> >
> > Can you post the exact command used, for example:
> >ssh -Y remotehostname /usr/lib64/firefox/firefox
> 
> I've tried:
> 
> ssh -vvv -Y -X user@sshserver

... 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,
-- 
Charles Polisher

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Firefox and SSH/browser

2016-06-02 Thread Sergio Belkin
2016-06-01 19:36 GMT-03:00 :

> On 2016-06-01 09:53, Sergio Belkin wrote:
> > 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
> 
>
> Hi Sergio,
>
> Can you post the exact command used, for example:
>ssh -Y remotehostname /usr/lib64/firefox/firefox
>
> Thanks,
> --
> Charles Polisher
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>

Hi Charles,

I've tried:

ssh -vvv -Y -X user@sshserver

Thanks in adavance

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with Firefox and SSH/browser

2016-06-01 Thread cpolish
On 2016-06-01 09:53, Sergio Belkin wrote:
> 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


Hi Sergio,

Can you post the exact command used, for example:
   ssh -Y remotehostname /usr/lib64/firefox/firefox

Thanks,
-- 
Charles Polisher

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with Firefox and SSH/browser

2016-06-01 Thread Sergio Belkin
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?

-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos