I cannot open firefox via ssh:I've tried with:ssh -vvv -X user@192.168.40.21But it outputs:debug3: send packet: type 50debug2: we sent a password packet, wait for replydebug3: receive packet: type 52debug1: Authentication succeeded (password).Authenticated to 192.168.40.21 ([192.168.40.21]:22).debug1: channel 0: new [client-session]debug3: ssh_session2_open: channel_new: 0debug2: channel 0: send opendebug3: send packet: type 90debug1: Requesting no-more-sessions@openssh.comdebug3: send packet: type 80debug1: Entering interactive session.debug1: pledge: execdebug3: receive packet: type 91debug2: callback startdebug1: X11 forwarding requested but DISPLAY not setdebug2: fd 3 setting TCP_NODELAYdebug3: ssh_packet_set_tos: set IP_TOS 0x10debug2: client_session2_setup: id 0debug2: channel 0: request pty-req confirm 1debug3: send packet: type 98debug1: Sending environment.debug3: Ignored env HOSTNAMEdebug3: Ignored env SHELLdebug3: Ignored env TERMdebug3: Ignored env HISTSIZEdebug3: Ignored env USERdebug3: Ignored env LS_COLORSdebug3: Ignored env MAILdebug3: Ignored env PATHdebug3: Ignored env PWDdebug1: Sending env LANG = es_AR.UTF-8debug2: channel 0: request env confirm 0debug3: send packet: type 98debug3: Ignored env KDEDIRSdebug3: Ignored env HISTCONTROLdebug3: Ignored env SHLVLdebug3: Ignored env HOMEdebug3: Ignored env LOGNAMEdebug3: Ignored env CVS_RSHdebug3: Ignored env LESSOPENdebug3: Ignored env _debug2: channel 0: request shell confirm 1debug3: send packet: type 98debug2: callback donedebug2: channel 0: open confirm rwindow 0 rmax 32768debug3: receive packet: type 99debug2: channel_input_status_confirm: type 99 id 0debug2: PTY allocation request accepted on channel 0debug2: channel 0: rcvd adjust 2097152debug3: receive packet: type 99debug2: channel_input_status_confirm: type 99 id 0debug2: shell request accepted on channel 0And then:Error: no display specifiedAnd:ls -l .Xauthority -rw-------. 1 user user 73 may 31 13:21 .XauthorityUPDATE:I've found that if I run another X app it works:links -gdebug3: receive packet: type 90debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384debug1: client_request_x11: request from 127.0.0.1 59036debug2: fd 7 setting O_NONBLOCKdebug3: fd 7 is O_NONBLOCKdebug1: channel 1: new [x11]debug1: confirm x11debug3: send packet: type 91But not with Firefox:debug3: receive packet: type 90debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384debug1: client_request_x11: request from 127.0.0.1 59038debug2: fd 7 setting O_NONBLOCKdebug3: fd 7 is O_NONBLOCKdebug1: channel 1: new [x11]debug1: confirm x11debug3: send packet: type 91debug3: receive packet: type 90debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384debug1: client_request_x11: request from 127.0.0.1 59040debug2: fd 8 setting O_NONBLOCKdebug3: fd 8 is O_NONBLOCKdebug1: channel 2: new [x11]debug1: confirm x11debug3: send packet: type 91debug2: channel 2: rcvd adjust 40476debug3: receive packet: type 90debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384debug1: client_request_x11: request from 127.0.0.1 59042debug2: fd 9 setting O_NONBLOCKdebug3: fd 9 is O_NONBLOCKdebug1: channel 3: new [x11]debug1: confirm x11debug3: send packet: type 91debug2: channel 3: rcvd adjust 32792debug3: receive packet: type 96debug2: channel 3: rcvd eofdebug2: channel 3: output open -> draindebug2: channel 3: obuf emptydebug2: channel 3: close_writedebug2: channel 3: output drain -> closeddebug1: channel 3: FORCE input draindebug2: channel 3: ibuf emptydebug2: channel 3: send eofdebug3: send packet: type 96debug2: channel 3: input drain -> closeddebug2: channel 3: send closedebug3: send packet: type 97debug3: channel 3: will not send data after closedebug3: receive packet: type 97debug2: channel 3: rcvd closedebug3: channel 3: will not send data after closedebug2: channel 3: is deaddebug2: channel 3: garbage collectingdebug1: channel 3: free: x11, nchannels 4debug3: channel 3: status: The following connections are open:  #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)  #1 x11 (t4 r2 i0/0 o0/0 fd 7/7 cc -1)  #2 x11 (t4 r3 i0/0 o0/0 fd 8/8 cc -1)  #3 x11 (t4 r4 i3/0 o3/0 fd 9/9 cc -1)UPDATE 2I've tried even disabling xshm and adding local cookie to remoto side with xauth commandfirefox --no-remote --no-xshm --display localhost:10.0debug3: receive packet: type 90debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384debug1: client_request_x11: request from 127.0.0.1 59181debug2: fd 7 setting O_NONBLOCKdebug3: fd 7 is O_NONBLOCKdebug1: channel 1: new [x11]debug1: confirm x11debug3: send packet: type 91debug3: receive packet: type 90debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384debug1: client_request_x11: request from 127.0.0.1 59183debug2: fd 8 setting O_NONBLOCKdebug3: fd 8 is O_NONBLOCKdebug1: channel 2: new [x11]debug1: confirm x11debug3: send packet: type 91debug2: channel 2: rcvd adjust 39228Just in case: SSH Server os CentOS 7.2 and SSH client os Fedora 23 ranking XorgNothing at all.What's wrong?
Firefox with X11 Forwarding is not working
ssh;x11;ssh tunneling