Can't forward X11 apps over ssh since migrating to 13-CURRENT

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't forward X11 apps over ssh since migrating to 13-CURRENT

Patrick McMunn
I don't know if it's just coincidental or if it's because of some change in
13-CURRENT, but I recently migrated from 12.1-STABLE, and now I am unable
to forward X11 apps over ssh. The only app I was accustomed to running this
way was Handbrake. It worked fine before, but now i get this:

$ ghb
Unable to init server: Could not connect to 127.0.0.1: Connection refused

(ghb:87219): Gtk-WARNING **: 13:12:41.281: cannot open display:

I have tried other apps like Wireshark and even xclock just to see, but
they won't work either. Has anyone else had problems with X11 forwarding on
13-CURRENT? If it's working for everyone else, at least I can know it's
probably not 13-CURRENT's fault, and I need to look elsewhere for the
cause. And yes, my sshd_config has it enabled. It worked fine before, and I
made sure to keep the same config.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Can't forward X11 apps over ssh since migrating to 13-CURRENT

grarpamp
Possibly check ForwardX11Timeout .
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Can't forward X11 apps over ssh since migrating to 13-CURRENT

O'Connor, Daniel-2
In reply to this post by Patrick McMunn


> On 22 Sep 2020, at 08:06, Patrick McMunn <[hidden email]> wrote:
> I don't know if it's just coincidental or if it's because of some change in
> 13-CURRENT, but I recently migrated from 12.1-STABLE, and now I am unable
> to forward X11 apps over ssh. The only app I was accustomed to running this
> way was Handbrake. It worked fine before, but now i get this:
>
> $ ghb
> Unable to init server: Could not connect to 127.0.0.1: Connection refused
>
> (ghb:87219): Gtk-WARNING **: 13:12:41.281: cannot open display:
>
> I have tried other apps like Wireshark and even xclock just to see, but
> they won't work either. Has anyone else had problems with X11 forwarding on
> 13-CURRENT? If it's working for everyone else, at least I can know it's
> probably not 13-CURRENT's fault, and I need to look elsewhere for the
> cause. And yes, my sshd_config has it enabled. It worked fine before, and I
> made sure to keep the same config.

What is the value of DISPLAY? (ie echo $DISPLAY)

Is sshd listening on that port? eg..
[test 3:36] ~> echo $DISPLAY
localhost:11.0
[test 3:36] ~> sockstat|grep 6011
radar    sshd       5414  8  tcp6   ::1:6011              *:*
radar    sshd       5414  9  tcp4   127.0.0.1:6011        *:*

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum


_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Can't forward X11 apps over ssh since migrating to 13-CURRENT

pete wright


On 9/21/20 8:39 PM, O'Connor, Daniel wrote:

>
>> On 22 Sep 2020, at 08:06, Patrick McMunn <[hidden email]> wrote:
>> I don't know if it's just coincidental or if it's because of some change in
>> 13-CURRENT, but I recently migrated from 12.1-STABLE, and now I am unable
>> to forward X11 apps over ssh. The only app I was accustomed to running this
>> way was Handbrake. It worked fine before, but now i get this:
>>
>> $ ghb
>> Unable to init server: Could not connect to 127.0.0.1: Connection refused
>>
>> (ghb:87219): Gtk-WARNING **: 13:12:41.281: cannot open display:
>>
>> I have tried other apps like Wireshark and even xclock just to see, but
>> they won't work either. Has anyone else had problems with X11 forwarding on
>> 13-CURRENT? If it's working for everyone else, at least I can know it's
>> probably not 13-CURRENT's fault, and I need to look elsewhere for the
>> cause. And yes, my sshd_config has it enabled. It worked fine before, and I
>> made sure to keep the same config.
> What is the value of DISPLAY? (ie echo $DISPLAY)
>
> Is sshd listening on that port? eg..
> [test 3:36] ~> echo $DISPLAY
> localhost:11.0
> [test 3:36] ~> sockstat|grep 6011
> radar    sshd       5414  8  tcp6   ::1:6011              *:*
> radar    sshd       5414  9  tcp4   127.0.0.1:6011        *:*

might have missed this but how is the ssh session being established.  i
just verified "ssh -X host" allows me to redirect X to my local
workstation.  both systems are running CURRENT as well.

-p

--
Pete Wright
[hidden email]
@nomadlogicLA

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"