Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Brain fried -- Core dumped


computers / comp.sys.raspberry-pi / Re: SSH -X doesn't seem to work.

SubjectAuthor
* SSH -X doesn't seem to work.bob prohaska
+* Re: SSH -X doesn't seem to work.Ahem A Rivet's Shot
|+* Re: SSH -X doesn't seem to work.A. Dumas
||+- Re: SSH -X doesn't seem to work.A. Dumas
||`* Re: SSH -X doesn't seem to work.Chris Green
|| `* Re: SSH -X doesn't seem to work.Jim Jackson
||  `- Re: SSH -X doesn't seem to work.Chris Green
|`* Re: SSH -X doesn't seem to work.Theo
| +- Re: SSH -X doesn't seem to work.Mike Scott
| `* Re: SSH -X doesn't seem to work.bob prohaska
|  `* Re: SSH -X doesn't seem to work.Computer Nerd Kev
|   `* Re: SSH -X doesn't seem to work.bob prohaska
|    +* Re: SSH -X doesn't seem to work.A. non Eyemouse
|    |`* Re: SSH -X doesn't seem to work.Theo
|    | `- Re: SSH -X doesn't seem to work.A. non Eyemouse
|    `* Re: SSH -X doesn't seem to work.A. Dumas
|     `* Re: SSH -X doesn't seem to work.bob prohaska
|      `* Re: SSH -X doesn't seem to work.A. Dumas
|       `* Re: SSH -X doesn't seem to work.bob prohaska
|        `* Re: SSH -X doesn't seem to work.A. Dumas
|         `* Re: SSH -X doesn't seem to work.bob prohaska
|          `* Re: SSH -X doesn't seem to work.Mike Scott
|           `* Re: SSH -X doesn't seem to work.bob prohaska
|            `* Re: SSH -X doesn't seem to work.Mike Scott
|             `* Re: SSH -X doesn't seem to work.Computer Nerd Kev
|              `* Re: SSH -X doesn't seem to work.Mike Scott
|               `* Re: SSH -X doesn't seem to work.Jim Jackson
|                `- Re: SSH -X doesn't seem to work.Mike Scott
`- Re: SSH -X doesn't seem to work.jeshgrca

Pages:12
SSH -X doesn't seem to work.

<tvau8t$3okdj$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6260&group=comp.sys.raspberry-pi#6260

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.sys.raspberry-pi
Subject: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <tvau8t$3okdj$1@dont-email.me>
Injection-Date: Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="40793b2cbc0a1934bf2e42fbecbcdef3";
logging-data="3953075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IyhJ9whGduaxqWVihzhxOMiAxcrZ/8bs="
Summary: Can't set the DISPLAY variable using ssh -X or ssh -Y
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.4-STABLE (arm))
Cancel-Lock: sha1:8/v5VlJBIn+CiRmYcGnqSxb6QP0=
 by: bob prohaska - Tue, 21 Mar 2023 00:37 UTC

It looks like ssh -X no longer works to run remote programs
which display locally. The man pages for ssh imply that's
because of security concerns, but ssh -Y provides an insecure
workaround.

Far as I can tell, neither command works, both commands fail:

bob@raspberrypi:~ $ ssh -Y nemesis.zefox.com
Password for bob@nemesis.zefox.com:
X11 forwarding request failed on channel 0
Last login: Mon Mar 20 17:26:03 2023 from gateway.zefox.net
[usual login MOTD omitted]
bob@nemesis:~ % xterm -sb &
[1] 1384
bob@nemesis:~ % xterm: Xt error: Can't open display:
xterm: DISPLAY is not set

The host nemesis is FreeBSD -current, up to date as of this morning.
Prior to Bullseye it was possible to open an xterm or chromium
browser window on the Pi, and IIRC it also worked with Bullseye
but I'm not entirely certain.

Anybody got a hint, even if it's only as to which end is making
the problem?

Thanks for reading,

bob prohaska

Re: SSH -X doesn't seem to work.

<20230321065947.d136a9f564a18f8297b22862@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6261&group=comp.sys.raspberry-pi#6261

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 06:59:47 +0000
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <20230321065947.d136a9f564a18f8297b22862@eircom.net>
References: <tvau8t$3okdj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="de00ec044541c1439d534d7ecf25a004";
logging-data="4189066"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/o3RZyrGVvyJyqUPUpBghC4p1yp+XwNmg="
Cancel-Lock: sha1:ElQC7mJFhlQ9uI5X43GwLiMMES4=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0)
 by: Ahem A Rivet's - Tue, 21 Mar 2023 06:59 UTC

On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
bob prohaska <bp@www.zefox.net> wrote:

> Anybody got a hint, even if it's only as to which end is making
> the problem?

It may have become necessary to enable it in .ssh/config - one of
my boxes has:

Host *
ForwardX11 yes

From a battle with X11 forwarding some time back.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/

Re: SSH -X doesn't seem to work.

<tvbr3r$1ct2$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6263&group=comp.sys.raspberry-pi#6263

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!rocksolid2!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: alexan...@dumas.fr.invalid (A. Dumas)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 09:50:03 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <tvbr3r$1ct2$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Mar 2023 08:50:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="134249bb76811f95b55600b44644154a";
logging-data="45986"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1812HKLFo0TPiOr0JMw0iegmRGju0zwiR4="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.9.0
Cancel-Lock: sha1:DIFcqi+4tGgFRRTBFWXRa6b0CMI=
Content-Language: en-GB
In-Reply-To: <20230321065947.d136a9f564a18f8297b22862@eircom.net>
 by: A. Dumas - Tue, 21 Mar 2023 08:50 UTC

On 21-03-2023 07:59, Ahem A Rivet's Shot wrote:
> On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
> bob prohaska <bp@www.zefox.net> wrote:
>
>> Anybody got a hint, even if it's only as to which end is making
>> the problem?
>
> It may have become necessary to enable it in .ssh/config - one of
> my boxes has:
>
> Host *
> ForwardX11 yes
>
> From a battle with X11 forwarding some time back.
>

That's the same as the -X commandline option.

I have no experience with this but here's a slim chance: perhaps you are
no longer running X11 but Wayland on either side. I thought it was still
an experimental option on the Pi, though. Check by locally running "echo
$XDG_SESSION_TYPE" in the GUI terminal, output should be either x11 or
wayland. Ssh -X or ssh -Y won't work with remote Wayland without the
XWayland extension; don't know about local, probably worse.

Re: SSH -X doesn't seem to work.

<tvbrfh$1lct$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6264&group=comp.sys.raspberry-pi#6264

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: alexan...@dumas.fr.invalid (A. Dumas)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 09:56:17 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <tvbrfh$1lct$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<tvbr3r$1ct2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 21 Mar 2023 08:56:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="134249bb76811f95b55600b44644154a";
logging-data="54685"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hTKbIZJxHq4JUm1Rab/YpVrLWm5CJydE="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.9.0
Cancel-Lock: sha1:ED5onye/Q7F1AVWayAOuIlI0Gy0=
Content-Language: en-GB
In-Reply-To: <tvbr3r$1ct2$1@dont-email.me>
 by: A. Dumas - Tue, 21 Mar 2023 08:56 UTC

On 21-03-2023 09:50, A. Dumas wrote:
> On 21-03-2023 07:59, Ahem A Rivet's Shot wrote:
>> On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
>> bob prohaska <bp@www.zefox.net> wrote:
>>
>>> Anybody got a hint, even if it's only as to which end is making
>>> the problem?
>>
>>     It may have become necessary to enable it in .ssh/config - one of
>> my boxes has:
>>
>> Host *
>> ForwardX11 yes
>>
>>     From a battle with X11 forwarding some time back.
>>
>
> That's the same as the -X commandline option.
>
> I have no experience with this but here's a slim chance: perhaps you are
> no longer running X11 but Wayland on either side. I thought it was still
> an experimental option on the Pi, though. Check by locally running "echo
> $XDG_SESSION_TYPE" in the GUI terminal, output should be either x11 or
> wayland. Ssh -X or ssh -Y won't work with remote Wayland without the
> XWayland extension; don't know about local, probably worse.

Or maybe it was temporarily broken? I just updated on stock PiOS64 and
got updates for xserver-common and xserver-xorg-core.

Re: SSH -X doesn't seem to work.

<MTq*vhMbz@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6265&group=comp.sys.raspberry-pi#6265

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: 21 Mar 2023 10:30:46 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <MTq*vhMbz@news.chiark.greenend.org.uk>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="24523"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-20-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Tue, 21 Mar 2023 10:30 UTC

Ahem A Rivet's Shot <steveo@eircom.net> wrote:
> On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
> bob prohaska <bp@www.zefox.net> wrote:
>
> > Anybody got a hint, even if it's only as to which end is making
> > the problem?
>
> It may have become necessary to enable it in .ssh/config - one of
> my boxes has:
>
> Host *
> ForwardX11 yes

ITYM /etc/ssh/sshd_config for the server side (maybe be different location
on freebsd). A Ubuntu 22.04 install has:

X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes

but the first line may not have it turned on by default in FreeBSD.

Theo

Re: SSH -X doesn't seem to work.

<8udoej-vim71.ln1@esprimo.zbmc.eu>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6266&group=comp.sys.raspberry-pi#6266

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl...@isbd.net (Chris Green)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 10:36:24 +0000
Lines: 33
Message-ID: <8udoej-vim71.ln1@esprimo.zbmc.eu>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <tvbr3r$1ct2$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 4uSdjAoOrG0eimSEIbik0AtpPtnnYZNWNmK9wxyDTM2vdXHd8=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:Tos/iPhcqhB8Y2rKtkd+yJq0Zlg=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-67-generic (x86_64))
 by: Chris Green - Tue, 21 Mar 2023 10:36 UTC

A. Dumas <alexandre@dumas.fr.invalid> wrote:
> On 21-03-2023 07:59, Ahem A Rivet's Shot wrote:
> > On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
> > bob prohaska <bp@www.zefox.net> wrote:
> >
> >> Anybody got a hint, even if it's only as to which end is making
> >> the problem?
> >
> > It may have become necessary to enable it in .ssh/config - one of
> > my boxes has:
> >
> > Host *
> > ForwardX11 yes
> >
> > From a battle with X11 forwarding some time back.
> >
>
> That's the same as the -X commandline option.
>
> I have no experience with this but here's a slim chance: perhaps you are
> no longer running X11 but Wayland on either side. I thought it was still
> an experimental option on the Pi, though. Check by locally running "echo
> $XDG_SESSION_TYPE" in the GUI terminal, output should be either x11 or
> wayland. Ssh -X or ssh -Y won't work with remote Wayland without the
> XWayland extension; don't know about local, probably worse.
>

It may also be that using xhost to allow specific systems and/or users
X access could help.

--
Chris Green
·

Re: SSH -X doesn't seem to work.

<slrnu1j7rq.3k4.jj@iridium.wf32df>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6268&group=comp.sys.raspberry-pi#6268

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: jj...@franjam.org.uk (Jim Jackson)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 12:13:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <slrnu1j7rq.3k4.jj@iridium.wf32df>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<tvbr3r$1ct2$1@dont-email.me> <8udoej-vim71.ln1@esprimo.zbmc.eu>
Injection-Date: Tue, 21 Mar 2023 12:13:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="23bcb7cb897fbc1d106d4832146a6e95";
logging-data="118473"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18D5TOib31jQpsmxSHFsgz56cwgJY6y7Dk="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:/PN7hrnrmcnZwt4qOifZXv1CIs8=
 by: Jim Jackson - Tue, 21 Mar 2023 12:13 UTC

On 2023-03-21, Chris Green <cl@isbd.net> wrote:
> A. Dumas <alexandre@dumas.fr.invalid> wrote:
>> On 21-03-2023 07:59, Ahem A Rivet's Shot wrote:
>> > On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
>> > bob prohaska <bp@www.zefox.net> wrote:
>> >
>> >> Anybody got a hint, even if it's only as to which end is making
>> >> the problem?
>> >
>> > It may have become necessary to enable it in .ssh/config - one of
>> > my boxes has:
>> >
>> > Host *
>> > ForwardX11 yes
>> >
>> > From a battle with X11 forwarding some time back.
>> >
>>
>> That's the same as the -X commandline option.
>>
>> I have no experience with this but here's a slim chance: perhaps you are
>> no longer running X11 but Wayland on either side. I thought it was still
>> an experimental option on the Pi, though. Check by locally running "echo
>> $XDG_SESSION_TYPE" in the GUI terminal, output should be either x11 or
>> wayland. Ssh -X or ssh -Y won't work with remote Wayland without the
>> XWayland extension; don't know about local, probably worse.
>>
>
> It may also be that using xhost to allow specific systems and/or users
> X access could help.

AFAIK that is irrelevant to using x forwarding with ssh

Re: SSH -X doesn't seem to work.

<87o7omxpb8.fsf@gmail.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6269&group=comp.sys.raspberry-pi#6269

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: jeshg...@gmail.com (jeshgrca)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 07:27:07 -0500
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <87o7omxpb8.fsf@gmail.com>
References: <tvau8t$3okdj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="1eb81bb411847ebd2a50f04e511b48ea";
logging-data="124162"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gA2s6nBRsoMCDpGKeD8NGyEcMow1GLlc="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:2A3f68ICo5eHQINi2C+/PMQLk+A=
sha1:SjYIJubzbRhi+T5dqlsOnwYbx/g=
 by: jeshgrca - Tue, 21 Mar 2023 12:27 UTC

It looks like SSH can't connect to your X server for one reason or
another.

I had a similar problem not too long ago, and I seem to remember it was
due to access control issues.

Since I was running my X server by manually invoking Xorg at the time, I
just disabled access control on my X server by running Xorg with the -ac
command line option. This almost certainly isn't a good idea for various
security reasons, but it worked for the 15 minutes I used it.

I also set my $DISPLAY to 'localhost:0' before attempting to ssh
into the remote machine.
--
"If you can't explain it simply, you don't understand it well enough."
- Attributed to Albert Einstein

Re: SSH -X doesn't seem to work.

<5okoej-cr581.ln1@esprimo.zbmc.eu>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6270&group=comp.sys.raspberry-pi#6270

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl...@isbd.net (Chris Green)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 12:32:37 +0000
Lines: 39
Message-ID: <5okoej-cr581.ln1@esprimo.zbmc.eu>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <tvbr3r$1ct2$1@dont-email.me> <8udoej-vim71.ln1@esprimo.zbmc.eu> <slrnu1j7rq.3k4.jj@iridium.wf32df>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net XTcpT0nu5gd1svZKgNgVNACtVDDeZgS2AL7ZPT/6C0q/fPOvQ=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:zHrAF+AS1OfWIxayHCe+It/S13o=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-67-generic (x86_64))
 by: Chris Green - Tue, 21 Mar 2023 12:32 UTC

Jim Jackson <jj@franjam.org.uk> wrote:
> On 2023-03-21, Chris Green <cl@isbd.net> wrote:
> > A. Dumas <alexandre@dumas.fr.invalid> wrote:
> >> On 21-03-2023 07:59, Ahem A Rivet's Shot wrote:
> >> > On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
> >> > bob prohaska <bp@www.zefox.net> wrote:
> >> >
> >> >> Anybody got a hint, even if it's only as to which end is making
> >> >> the problem?
> >> >
> >> > It may have become necessary to enable it in .ssh/config - one of
> >> > my boxes has:
> >> >
> >> > Host *
> >> > ForwardX11 yes
> >> >
> >> > From a battle with X11 forwarding some time back.
> >> >
> >>
> >> That's the same as the -X commandline option.
> >>
> >> I have no experience with this but here's a slim chance: perhaps you are
> >> no longer running X11 but Wayland on either side. I thought it was still
> >> an experimental option on the Pi, though. Check by locally running "echo
> >> $XDG_SESSION_TYPE" in the GUI terminal, output should be either x11 or
> >> wayland. Ssh -X or ssh -Y won't work with remote Wayland without the
> >> XWayland extension; don't know about local, probably worse.
> >>
> >
> > It may also be that using xhost to allow specific systems and/or users
> > X access could help.
>
> AFAIK that is irrelevant to using x forwarding with ssh

Yes, you're probably right! :-)

--
Chris Green
·

Re: SSH -X doesn't seem to work.

<tvcppn$6uq9$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6272&group=comp.sys.raspberry-pi#6272

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 17:33:42 +0000
Organization: Scott family
Lines: 72
Message-ID: <tvcppn$6uq9$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Mar 2023 17:33:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f4ecf453a4d55374fd2e494d6fcad55b";
logging-data="228169"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dfv2PjG4NHuRicuhMm0bBqMaV0C4pc7I="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:0niWgM2lcNCKT8iNTc7yq2F9w/w=
Content-Language: en-GB
In-Reply-To: <MTq*vhMbz@news.chiark.greenend.org.uk>
 by: Mike Scott - Tue, 21 Mar 2023 17:33 UTC

On 21/03/2023 10:30, Theo wrote:
> Ahem A Rivet's Shot <steveo@eircom.net> wrote:
>> On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
>> bob prohaska <bp@www.zefox.net> wrote:
>>
>>> Anybody got a hint, even if it's only as to which end is making
>>> the problem?
>>
>> It may have become necessary to enable it in .ssh/config - one of
>> my boxes has:
>>
>> Host *
>> ForwardX11 yes
>
> ITYM /etc/ssh/sshd_config for the server side (maybe be different location
> on freebsd). A Ubuntu 22.04 install has:
>
> X11Forwarding yes
> #X11DisplayOffset 10
> #X11UseLocalhost yes
>
> but the first line may not have it turned on by default in FreeBSD.
>
> Theo

Just did 'ssh -X my-fbsd-server' followed by 'truss xterm' on that server.

That throws up:
connect(3,{ AF_INET 192.168.0.9:6000 },16) ERR#61 'Connection refused'

But xterm shouldn't be trying to access that. On the fbsd end, I see that
DISPLAY=192.168.0.9:0

when it should be along the lines of
DISPLAY=localhost:10.0
(which is what I get doing 'ssh -X my-Mint-box' and allows the ssh
server end to forward X requests.)

I've tried fiddling with the sshd_config and ssh_config files to no
avail. Maybe I've missed something, but presumably my Mint client has
correct config's or it wouldn't work at all.

FWIW the Mint client and server have the same configs, where:

mike@troi ~ $ grep -r X /etc/ssh/ssh*_config*
/etc/ssh/ssh_config:# ForwardX11 no
/etc/ssh/ssh_config:# ForwardX11Trusted yes
/etc/ssh/sshd_config:X11Forwarding yes
/etc/ssh/sshd_config:#X11DisplayOffset 10
/etc/ssh/sshd_config:#X11UseLocalhost yes
/etc/ssh/sshd_config:# X11Forwarding no

I've double-checked the fbsd server. That has (with my trial edits)
root@kirk:/home/mike # grep -r X /etc/ssh/ssh*_config*
/etc/ssh/ssh_config:ForwardX11 yes
/etc/ssh/ssh_config:X11Forwarding yes
/etc/ssh/sshd_config:X11Forwarding yes
/etc/ssh/sshd_config:#X11DisplayOffset 10
/etc/ssh/sshd_config:#X11UseLocalhost yes
/etc/ssh/sshd_config:# X11Forwarding no

but the ssh sessions still leaves
DISPLAY=192.168.0.9:0

--
Mike Scott
Harlow, England

Re: SSH -X doesn't seem to work.

<tvdds3$ae6q$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6273&group=comp.sys.raspberry-pi#6273

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Tue, 21 Mar 2023 23:16:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <tvdds3$ae6q$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk>
Injection-Date: Tue, 21 Mar 2023 23:16:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8875adde52be2e3de1c261a126aba30f";
logging-data="342234"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1813N2gHu3WOYulo1lrxgaolAPIpXxZTnI="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.4-STABLE (arm))
Cancel-Lock: sha1:z2Chi3xzKMX9d6d9tdj9NpKZxH0=
 by: bob prohaska - Tue, 21 Mar 2023 23:16 UTC

Theo <theom+news@chiark.greenend.org.uk> wrote:
> Ahem A Rivet's Shot <steveo@eircom.net> wrote:
>> On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
>> bob prohaska <bp@www.zefox.net> wrote:
>>
>> > Anybody got a hint, even if it's only as to which end is making
>> > the problem?
>>
>> It may have become necessary to enable it in .ssh/config - one of
>> my boxes has:
>>
>> Host *
>> ForwardX11 yes
>
> ITYM /etc/ssh/sshd_config for the server side (maybe be different location
> on freebsd). A Ubuntu 22.04 install has:
>
> X11Forwarding yes
> #X11DisplayOffset 10
> #X11UseLocalhost yes
>
> but the first line may not have it turned on by default in FreeBSD.

The lines above are found on the RasPiOS (display server), but the
remote side (FreeBSD-current) has no matching settings, implying
they're default. According to the man page ssh -Y should work, so
I guess my problem is the FreeBSD side.

Thanks to everyone for reading and replying!

bob prohaska

Re: SSH -X doesn't seem to work.

<641a49a5@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6274&group=comp.sys.raspberry-pi#6274

  copy link   Newsgroups: comp.sys.raspberry-pi
Message-ID: <641a49a5@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: SSH -X doesn't seem to work.
Newsgroups: comp.sys.raspberry-pi
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i686))
NNTP-Posting-Host: news.ausics.net
Date: 22 Mar 2023 10:19:49 +1000
Organization: Ausics - https://www.ausics.net
Lines: 50
X-Complaints: abuse@ausics.net
Path: i2pn2.org!rocksolid2!news.neodome.net!csiph.com!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Wed, 22 Mar 2023 00:19 UTC

bob prohaska <bp@www.zefox.net> wrote:
> Theo <theom+news@chiark.greenend.org.uk> wrote:
>> Ahem A Rivet's Shot <steveo@eircom.net> wrote:
>>> On Tue, 21 Mar 2023 00:37:49 -0000 (UTC)
>>> bob prohaska <bp@www.zefox.net> wrote:
>>>
>>> > Anybody got a hint, even if it's only as to which end is making
>>> > the problem?
>>>
>>> It may have become necessary to enable it in .ssh/config - one of
>>> my boxes has:
>>>
>>> Host *
>>> ForwardX11 yes
>>
>> ITYM /etc/ssh/sshd_config for the server side (maybe be different location
>> on freebsd). A Ubuntu 22.04 install has:
>>
>> X11Forwarding yes
>> #X11DisplayOffset 10
>> #X11UseLocalhost yes
>>
>> but the first line may not have it turned on by default in FreeBSD.
>
> The lines above are found on the RasPiOS (display server), but the
> remote side (FreeBSD-current) has no matching settings, implying
> they're default.

That means the SSH server is running on the FreeBSD system. If it's
running OpenSSH, then I see this in the sshd_config man page on
Debian Linux:

"X11Forwarding
Specifies whether X11 forwarding is permitted. The argument must
be yes or no. The default is no."

That explicitly states that "X11Forwarding yes" is _not_
the default if there are "no matching settings" in the config file,
unless it's different on FreeBSD for some reason (I doubt it).

> According to the man page ssh -Y should work, so
> I guess my problem is the FreeBSD side.

If "X11Forwarding no", then ssh -Y won't work either, as I
understand it. The ssh man page says it's something to do with the
"ForwardX11Trusted" option.

--
__ __
#_ < |\| |< _#

Re: SSH -X doesn't seem to work.

<tvfd2d$n8pt$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6279&group=comp.sys.raspberry-pi#6279

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Wed, 22 Mar 2023 17:14:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <tvfd2d$n8pt$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me> <641a49a5@news.ausics.net>
Injection-Date: Wed, 22 Mar 2023 17:14:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8875adde52be2e3de1c261a126aba30f";
logging-data="762685"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Nd+W4t96pBK3pFGuoDJ94sHuoBur/YjM="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.4-STABLE (arm))
Cancel-Lock: sha1:uH7hoKwmxyQz/DUzTzYDi+2DfDA=
 by: bob prohaska - Wed, 22 Mar 2023 17:14 UTC

Computer Nerd Kev <not@telling.you.invalid> wrote:
>
> That means the SSH server is running on the FreeBSD system. If it's
> running OpenSSH, then I see this in the sshd_config man page on
> Debian Linux:
>
> "X11Forwarding
> Specifies whether X11 forwarding is permitted. The argument must
> be yes or no. The default is no."
>
> That explicitly states that "X11Forwarding yes" is _not_
> the default if there are "no matching settings" in the config file,
> unless it's different on FreeBSD for some reason (I doubt it).
>
>> According to the man page ssh -Y should work, so
>> I guess my problem is the FreeBSD side.
>
> If "X11Forwarding no", then ssh -Y won't work either, as I
> understand it. The ssh man page says it's something to do with the
> "ForwardX11Trusted" option.

That was it. Added X11Forwarding yes to sshd's config file,
on the FreeBSD host, all is well.

Thank you!

bob prohaska

Re: SSH -X doesn't seem to work.

<k81kq5Fs03U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6285&group=comp.sys.raspberry-pi#6285

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: somewh...@work.invalid (A. non Eyemouse)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Thu, 23 Mar 2023 00:28:53 +0000
Lines: 39
Message-ID: <k81kq5Fs03U1@mid.individual.net>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me>
<641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net CVouWlH1tN8DkuHCsj4oMgN+b1g20eB8zfRYxHWvUjinuC/Wkt
Cancel-Lock: sha1:OFESsXvEOM/YpLtPhXWn83eTqNI=
Content-Language: en-GB
In-Reply-To: <tvfd2d$n8pt$1@dont-email.me>
 by: A. non Eyemouse - Thu, 23 Mar 2023 00:28 UTC

On 22/03/2023 17:14, bob prohaska wrote:
> Computer Nerd Kev <not@telling.you.invalid> wrote:
>>
>> That means the SSH server is running on the FreeBSD system. If it's
>> running OpenSSH, then I see this in the sshd_config man page on
>> Debian Linux:
>>
>> "X11Forwarding
>> Specifies whether X11 forwarding is permitted. The argument must
>> be yes or no. The default is no."
>>
>> That explicitly states that "X11Forwarding yes" is _not_
>> the default if there are "no matching settings" in the config file,
>> unless it's different on FreeBSD for some reason (I doubt it).
>>
>>> According to the man page ssh -Y should work, so
>>> I guess my problem is the FreeBSD side.
>>
>> If "X11Forwarding no", then ssh -Y won't work either, as I
>> understand it. The ssh man page says it's something to do with the
>> "ForwardX11Trusted" option.
>
> That was it. Added X11Forwarding yes to sshd's config file,
> on the FreeBSD host, all is well.
>
> Thank you!
>
> bob prohaska
>

I'm a bit late here, but FWIW I didn't see any mention of running the
ssh client with -v or -vv options to produce debugging information. You
can either trawl back through the terminal output or redirect stderr to
a file by appending 2>some_log_file.

--
Mouse.
Where Morse meets House.

Re: SSH -X doesn't seem to work.

<tvgtvi$11sie$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6286&group=comp.sys.raspberry-pi#6286

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: alexan...@dumas.fr.invalid (A. Dumas)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Thu, 23 Mar 2023 08:09:37 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <tvgtvi$11sie$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me>
<641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 23 Mar 2023 07:09:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6ce268f5035b07bba855fb78b0646b70";
logging-data="1110606"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181E+MlGweSNttEkUdI5F9CFTI4N4e9h4A="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.9.0
Cancel-Lock: sha1:E1hCF1uB2GIw7MQr5BsBYTjOZS8=
In-Reply-To: <tvfd2d$n8pt$1@dont-email.me>
Content-Language: en-GB
 by: A. Dumas - Thu, 23 Mar 2023 07:09 UTC

On 22-03-2023 18:14, bob prohaska wrote:
> Computer Nerd Kev <not@telling.you.invalid> wrote:
>> If "X11Forwarding no", then ssh -Y won't work either, as I
>> understand it. The ssh man page says it's something to do with the
>> "ForwardX11Trusted" option.
>
> That was it. Added X11Forwarding yes to sshd's config file,
> on the FreeBSD host, all is well.

That's great. But this means that something definitely changed on the
remote freebsd side. I could not have guessed that from your OP:

> The host nemesis is FreeBSD -current, up to date as of this morning.
> Prior to Bullseye it was possible to open an xterm or chromium
> browser window on the Pi, and IIRC it also worked with Bullseye
> but I'm not entirely certain.

Was it a new install with new defaults, or did they silently remove the
X11Forwarding option with an automatic update? That would piss me off
enormously.

Re: SSH -X doesn't seem to work.

<lJc*+HWbz@news.chiark.greenend.org.uk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6287&group=comp.sys.raspberry-pi#6287

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: 23 Mar 2023 09:55:07 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <lJc*+HWbz@news.chiark.greenend.org.uk>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me> <641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me> <k81kq5Fs03U1@mid.individual.net>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="27964"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-20-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Thu, 23 Mar 2023 09:55 UTC

A. non Eyemouse <somewhere@work.invalid> wrote:
> I'm a bit late here, but FWIW I didn't see any mention of running the
> ssh client with -v or -vv options to produce debugging information. You
> can either trawl back through the terminal output or redirect stderr to
> a file by appending 2>some_log_file.

Really you want the log from the server side, which tells you why it refused
certain features. For debugging authentication issues /var/log/auth.log is
useful, but I'm not sure what the equivalent is for X11 troubles. You can
always increase the logging level in /etc/ssh/sshd_config and then that'll
show in syslog (journalctl -xe in systemd land), but I'm not sure whether
there's a place sshd logs things apart from syslog.

Theo

Re: SSH -X doesn't seem to work.

<k84d2tFdqjpU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6288&group=comp.sys.raspberry-pi#6288

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: somewh...@work.invalid (A. non Eyemouse)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Fri, 24 Mar 2023 01:35:25 +0000
Lines: 28
Message-ID: <k84d2tFdqjpU1@mid.individual.net>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me>
<641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me>
<k81kq5Fs03U1@mid.individual.net> <lJc*+HWbz@news.chiark.greenend.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net bzmwYLhouvtpAg95HBKL0wcd9BvvecbJoO52M4oJT1oOyAPmTE
Cancel-Lock: sha1:2izI8ejUsr6Bp4pcFmxtfD3Ch/0=
Content-Language: en-GB
In-Reply-To: <lJc*+HWbz@news.chiark.greenend.org.uk>
 by: A. non Eyemouse - Fri, 24 Mar 2023 01:35 UTC

On 23/03/2023 09:55, Theo wrote:
> A. non Eyemouse <somewhere@work.invalid> wrote:
>> I'm a bit late here, but FWIW I didn't see any mention of running the
>> ssh client with -v or -vv options to produce debugging information. You
>> can either trawl back through the terminal output or redirect stderr to
>> a file by appending 2>some_log_file.
>
> Really you want the log from the server side, which tells you why it refused
> certain features. For debugging authentication issues /var/log/auth.log is
> useful, but I'm not sure what the equivalent is for X11 troubles. You can
> always increase the logging level in /etc/ssh/sshd_config and then that'll
> show in syslog (journalctl -xe in systemd land), but I'm not sure whether
> there's a place sshd logs things apart from syslog.

man 5 ssh_config mentions LogLevel and LogVerbose, by default ssh logs
to stderr but it can be pointed at the syslog. As you mentioned systemd
(which isn't used on FreeBSD) I prefer journalctl -f -u sshd (-u selects
only the following unit entries).

The client debug is incredibly useful, particularly when a newer version
of ssh has defaults which refuse to connect to older ssh servers due to
cypher/key mismatches. This usually requires some overrides in
~./ssh/config.

--
Mouse.
Where Morse meets House.

Re: SSH -X doesn't seem to work.

<tvj8b2$1h3f6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6289&group=comp.sys.raspberry-pi#6289

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Fri, 24 Mar 2023 04:18:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <tvj8b2$1h3f6$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me> <641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me> <tvgtvi$11sie$1@dont-email.me>
Injection-Date: Fri, 24 Mar 2023 04:18:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d7956c06529359fae4763de5de82d8e4";
logging-data="1609190"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YNDWxPhM8H9l03XR9oFf7/079oh89DHQ="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.4-STABLE (arm))
Cancel-Lock: sha1:F0lbVLQjTUV+rDipYqt+liX4uPY=
 by: bob prohaska - Fri, 24 Mar 2023 04:18 UTC

A. Dumas <alexandre@dumas.fr.invalid> wrote:
> On 22-03-2023 18:14, bob prohaska wrote:
> That's great. But this means that something definitely changed on the
> remote freebsd side. I could not have guessed that from your OP:
>
>> The host nemesis is FreeBSD -current, up to date as of this morning.
>> Prior to Bullseye it was possible to open an xterm or chromium
>> browser window on the Pi, and IIRC it also worked with Bullseye
>> but I'm not entirely certain.

> Was it a new install with new defaults,

No, an old install after upgrade from source.

> or did they silently remove the
> X11Forwarding option with an automatic update? That would piss me off
> enormously.

The giveaway is "-current". That's the R&D branch of FreeBSD, where
new things are tried. After a bit of looking it developed that the -X
option for ssh had been disabled but implied that a -Y option had
been introduced as an override, restoring original behavior. It now
appears that the override was either fumbled or mis-documented.

Compounding the problem was my somewhat hasty and therefore inaccurate
reading of the man pages. Kev's more careful eye corrected my errors.

Thanks for reading!

bob prohaska

Re: SSH -X doesn't seem to work.

<tvk5r3$1lrak$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6290&group=comp.sys.raspberry-pi#6290

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: alexan...@dumas.fr.invalid (A. Dumas)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Fri, 24 Mar 2023 12:42:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <tvk5r3$1lrak$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk>
<tvdds3$ae6q$1@dont-email.me>
<641a49a5@news.ausics.net>
<tvfd2d$n8pt$1@dont-email.me>
<tvgtvi$11sie$1@dont-email.me>
<tvj8b2$1h3f6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 Mar 2023 12:42:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="325e3cd7205f0b1908318a2c0232a765";
logging-data="1764692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NIf51AnQ7ne5fhOcdyR4Rx9WCnIdFPhE="
User-Agent: NewsTap/5.5 (iPad)
Cancel-Lock: sha1:Ow7G+lgxSn7/Md/W9wTPTCw7808=
sha1:wpnuA3jhnQMhPs5egbta+gVf6M4=
 by: A. Dumas - Fri, 24 Mar 2023 12:42 UTC

bob prohaska <bp@www.zefox.net> wrote:
> The giveaway is "-current". That's the R&D branch of FreeBSD, where
> new things are tried. After a bit of looking it developed that the -X
> option for ssh had been disabled but implied that a -Y option had
> been introduced as an override, restoring original behavior. It now
> appears that the override was either fumbled or mis-documented.

Right, but that's not quite it: the change was in sshd, not ssh. (But
probably the same thing there.)

Re: SSH -X doesn't seem to work.

<tvkjkr$1o4vt$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6291&group=comp.sys.raspberry-pi#6291

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Fri, 24 Mar 2023 16:37:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <tvkjkr$1o4vt$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me> <641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me> <tvgtvi$11sie$1@dont-email.me> <tvj8b2$1h3f6$1@dont-email.me> <tvk5r3$1lrak$1@dont-email.me>
Injection-Date: Fri, 24 Mar 2023 16:37:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d7956c06529359fae4763de5de82d8e4";
logging-data="1840125"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gezY/6Be7NOjWs6KcFiZ4MyouKwf9ihw="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.4-STABLE (arm))
Cancel-Lock: sha1:jSrqwnfpNcjVcFkX3R+QSfKdVc0=
 by: bob prohaska - Fri, 24 Mar 2023 16:37 UTC

A. Dumas <alexandre@dumas.fr.invalid> wrote:
> bob prohaska <bp@www.zefox.net> wrote:
>> The giveaway is "-current". That's the R&D branch of FreeBSD, where
>> new things are tried. After a bit of looking it developed that the -X
>> option for ssh had been disabled but implied that a -Y option had
>> been introduced as an override, restoring original behavior. It now
>> appears that the override was either fumbled or mis-documented.
>
> Right, but that's not quite it: the change was in sshd, not ssh. (But
> probably the same thing there.)

Sigh, case of right hand versus left hand?...

bob prohaska

Re: SSH -X doesn't seem to work.

<tvme8a$24c4j$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6292&group=comp.sys.raspberry-pi#6292

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: alexan...@dumas.fr.invalid (A. Dumas)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Sat, 25 Mar 2023 10:18:02 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tvme8a$24c4j$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me>
<641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me>
<tvgtvi$11sie$1@dont-email.me> <tvj8b2$1h3f6$1@dont-email.me>
<tvk5r3$1lrak$1@dont-email.me> <tvkjkr$1o4vt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 Mar 2023 09:18:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a2f206e8ea28d36987411dcae42ca5a";
logging-data="2240659"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SEkvcEgCYiru6SuHA7W1w73G0i5lB/bA="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.9.0
Cancel-Lock: sha1:xNh/JnWKwYbVyAExBp9FJX9WOyA=
In-Reply-To: <tvkjkr$1o4vt$1@dont-email.me>
Content-Language: en-GB
 by: A. Dumas - Sat, 25 Mar 2023 09:18 UTC

On 24-03-2023 17:37, bob prohaska wrote:
> A. Dumas <alexandre@dumas.fr.invalid> wrote:
>> bob prohaska <bp@www.zefox.net> wrote:
>>> The giveaway is "-current". That's the R&D branch of FreeBSD, where
>>> new things are tried. After a bit of looking it developed that the -X
>>> option for ssh had been disabled but implied that a -Y option had
>>> been introduced as an override, restoring original behavior. It now
>>> appears that the override was either fumbled or mis-documented.
>>
>> Right, but that's not quite it: the change was in sshd, not ssh. (But
>> probably the same thing there.)
>
> Sigh, case of right hand versus left hand?...

Are you saying it was a typo? But command line options like -X and -Y
are to do with ssh, not sshd. I can believe the same setting was
disabled in sshd, but using any option with ssh won't fix that. So I
think you were still confused about the real source of the trouble.

Re: SSH -X doesn't seem to work.

<tvqj6j$2t374$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6293&group=comp.sys.raspberry-pi#6293

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Sun, 26 Mar 2023 23:06:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <tvqj6j$2t374$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me> <641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me> <tvgtvi$11sie$1@dont-email.me> <tvj8b2$1h3f6$1@dont-email.me> <tvk5r3$1lrak$1@dont-email.me> <tvkjkr$1o4vt$1@dont-email.me> <tvme8a$24c4j$1@dont-email.me>
Injection-Date: Sun, 26 Mar 2023 23:06:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9180298bc4e8663e9d4266321c9f464a";
logging-data="3050724"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uQLlp4yScyR4K1yMgohL1zKSa/s8a7FI="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.4-STABLE (arm))
Cancel-Lock: sha1:RY3CGcoiHIB/yEKJ+ftE3DYZc98=
 by: bob prohaska - Sun, 26 Mar 2023 23:06 UTC

A. Dumas <alexandre@dumas.fr.invalid> wrote:
> So I
> think you were still confused about the real source of the trouble.

Indeed, I am confused. But, one shouldn't be surprised when an experimental
branch of an OS doesn't behave as expected. It's a little surprising that
I got more and better help from this group than from the freebsd lists I
subscribe to. The fix was simple, explictly turn on X11Forwarding in
sshd.conf, something not needed up to this point.

Thanks for reading,

bob prohaska

Re: SSH -X doesn't seem to work.

<tvs9mj$38nr8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6294&group=comp.sys.raspberry-pi#6294

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Mon, 27 Mar 2023 15:37:06 +0100
Organization: Scott family
Lines: 61
Message-ID: <tvs9mj$38nr8$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me>
<641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me>
<tvgtvi$11sie$1@dont-email.me> <tvj8b2$1h3f6$1@dont-email.me>
<tvk5r3$1lrak$1@dont-email.me> <tvkjkr$1o4vt$1@dont-email.me>
<tvme8a$24c4j$1@dont-email.me> <tvqj6j$2t374$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Mar 2023 14:37:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="db3a76e4a1668ff02503a87e65324197";
logging-data="3432296"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tTKkja7jIUB635tW6aBoXvDWJIwinndc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:NVB+E7MOTq7E3wy3JZEYa+NYHjY=
In-Reply-To: <tvqj6j$2t374$1@dont-email.me>
Content-Language: en-GB
 by: Mike Scott - Mon, 27 Mar 2023 14:37 UTC

On 27/03/2023 00:06, bob prohaska wrote:
> A. Dumas <alexandre@dumas.fr.invalid> wrote:
>> So I
>> think you were still confused about the real source of the trouble.
>
> Indeed, I am confused. But, one shouldn't be surprised when an experimental
> branch of an OS doesn't behave as expected. It's a little surprising that
> I got more and better help from this group than from the freebsd lists I
> subscribe to. The fix was simple, explictly turn on X11Forwarding in
> sshd.conf, something not needed up to this point.
>
> Thanks for reading,
>
> bob prohaska

(TLDR tail -8)

I'm now very confused. I have much the same sort of setup: a headless
pi4 running freebsd, plus some linux mint workstations.

I simply /cannot/ ssh into the linux box and get X11 forwarded back to
the workstation. ssh mint <-> mint, and all works as expected, with
DISPLAY set to localhost:10.0 (ie forwarded over the ssh connection).

With ssh from mint -> freebsd, I get DISPLAY set to 192.168.0.9:0, ie
X11 not forwarded over ssh.

The linux config files are presumably correct since it all works as
expected between the mint boxes. I've tried replacing the freebsd
sshd_config with that from linux (and had to fix up
KbdInteractiveAuthentication to log in at all), and it /still/ does not
allow X11 forwarding.

With ssh -v -X, I always seem to get
debug1: Requesting X11 forwarding with authentication spoofing.
so clearly the server isn't allowing it.

On the server end, with sshd -Dd, I see in particular
debug1: active: key options: agent-forwarding port-forwarding pty
user-rc x11-forwarding
....
debug1: server_input_channel_req: channel 0 request x11-req reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req x11-req
debug1: channel 1: new [X11 inet listener]
debug1: channel 2: new [X11 inet listener]
....
which doesn't help me at all :-{

The pi4, BTW, is on 13.1-RELEASE-p7; mint is at 21 Vanessa.

Bob, would it be possible to post your working sshd config file please?

Thanks.

--
Mike Scott
Harlow, England

Re: SSH -X doesn't seem to work.

<tvsg3e$39qm3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6295&group=comp.sys.raspberry-pi#6295

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: bp...@www.zefox.net (bob prohaska)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Mon, 27 Mar 2023 16:26:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 70
Message-ID: <tvsg3e$39qm3$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me> <20230321065947.d136a9f564a18f8297b22862@eircom.net> <MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me> <641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me> <tvgtvi$11sie$1@dont-email.me> <tvj8b2$1h3f6$1@dont-email.me> <tvk5r3$1lrak$1@dont-email.me> <tvkjkr$1o4vt$1@dont-email.me> <tvme8a$24c4j$1@dont-email.me> <tvqj6j$2t374$1@dont-email.me> <tvs9mj$38nr8$1@dont-email.me>
Injection-Date: Mon, 27 Mar 2023 16:26:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9180298bc4e8663e9d4266321c9f464a";
logging-data="3467971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hkfhIgVhYgNRDARBKc2bA+9Hn9caCnVU="
User-Agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/12.4-STABLE (arm))
Cancel-Lock: sha1:W5x8sIbozDGIRMVDpOuESJLSvw4=
 by: bob prohaska - Mon, 27 Mar 2023 16:26 UTC

Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
> (TLDR tail -8)
> ^
[What's that|?]

> I'm now very confused. I have much the same sort of setup: a headless
> pi4 running freebsd, plus some linux mint workstations.
>
> I simply /cannot/ ssh into the linux box and get X11 forwarded back to
> the workstation.

That's the mirror image of what I'm doing: My ssh -X runs on the Pi,
with FreeBSD answering via sshd. Shouldn't matter, but it might
be interesting to try it both ways. I can't, since the router
won't forward incoming packets without an existing connection.

> ssh mint <-> mint, and all works as expected, with
> DISPLAY set to localhost:10.0 (ie forwarded over the ssh connection).
>
> With ssh from mint -> freebsd, I get DISPLAY set to 192.168.0.9:0, ie
> X11 not forwarded over ssh.
>

My setup includes a router between public and private networks.
The FreeBSD host is on a public net, the RasPiOS workstation is
on a 192.168.... net. I'd expect that to make matters worse,
not better, but in my case it didn't seem to matter. If you have
a router in your setup it might be a worthy suspect.

My router is a DI524, old and cheap. FreeBSD is -current, up to
date as of a day or so ago. RasPiOS is Bullseye, also up to date.

Signal path is RasPi internal Wifi to router Wifi, then wired
connection to to the Pi4.

hth,

bob prohaska


> The linux config files are presumably correct since it all works as
> expected between the mint boxes. I've tried replacing the freebsd
> sshd_config with that from linux (and had to fix up
> KbdInteractiveAuthentication to log in at all), and it /still/ does not
> allow X11 forwarding.
>
> With ssh -v -X, I always seem to get
> debug1: Requesting X11 forwarding with authentication spoofing.
> so clearly the server isn't allowing it.
>
> On the server end, with sshd -Dd, I see in particular
> debug1: active: key options: agent-forwarding port-forwarding pty
> user-rc x11-forwarding
> ...
> debug1: server_input_channel_req: channel 0 request x11-req reply 1
> debug1: session_by_channel: session 0 channel 0
> debug1: session_input_channel_req: session 0 req x11-req
> debug1: channel 1: new [X11 inet listener]
> debug1: channel 2: new [X11 inet listener]
> ...
> which doesn't help me at all :-{
>
>
> The pi4, BTW, is on 13.1-RELEASE-p7; mint is at 21 Vanessa.
>
>
> Bob, would it be possible to post your working sshd config file please?
>
> Thanks.
>

Re: SSH -X doesn't seem to work.

<tvsoab$3b8m3$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=6296&group=comp.sys.raspberry-pi#6296

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: usenet...@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: SSH -X doesn't seem to work.
Date: Mon, 27 Mar 2023 19:46:34 +0100
Organization: Scott family
Lines: 36
Message-ID: <tvsoab$3b8m3$1@dont-email.me>
References: <tvau8t$3okdj$1@dont-email.me>
<20230321065947.d136a9f564a18f8297b22862@eircom.net>
<MTq*vhMbz@news.chiark.greenend.org.uk> <tvdds3$ae6q$1@dont-email.me>
<641a49a5@news.ausics.net> <tvfd2d$n8pt$1@dont-email.me>
<tvgtvi$11sie$1@dont-email.me> <tvj8b2$1h3f6$1@dont-email.me>
<tvk5r3$1lrak$1@dont-email.me> <tvkjkr$1o4vt$1@dont-email.me>
<tvme8a$24c4j$1@dont-email.me> <tvqj6j$2t374$1@dont-email.me>
<tvs9mj$38nr8$1@dont-email.me> <tvsg3e$39qm3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Mar 2023 18:46:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="db3a76e4a1668ff02503a87e65324197";
logging-data="3515075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jVjSnjtqQzOKk5bewUIqquAZHOVSe5PA="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:ly/PHOiU5K0DXBnFPe6oJTKynWE=
In-Reply-To: <tvsg3e$39qm3$1@dont-email.me>
Content-Language: en-GB
 by: Mike Scott - Mon, 27 Mar 2023 18:46 UTC

On 27/03/2023 17:26, bob prohaska wrote:
> Mike Scott <usenet.16@scottsonline.org.uk.invalid> wrote:
>> (TLDR tail -8)
>> ^
> [What's that|?]

Me being cryptic - Too Long Don't Read, so head to the last 8 lines. Sorry.

>
>> I'm now very confused. I have much the same sort of setup: a headless
>> pi4 running freebsd, plus some linux mint workstations.
>>
>> I simply /cannot/ ssh into the linux box and get X11 forwarded back to
>> the workstation.
>
> That's the mirror image of what I'm doing: My ssh -X runs on the Pi,
> with FreeBSD answering via sshd. Shouldn't matter, but it might
> be interesting to try it both ways. I can't, since the router
> won't forward incoming packets without an existing connection.

I see; but we're both trying to run ssh -X on linux and have a freebsd
sshd respond. I think. It shouldn't matter what the exact hardware is.

I'm just on my home LAN at the moment, which ought to make life easier;
no routers involved and everything's visible at one desk.

What I don't get is that since the sshd programs on linux and fbsd are
essentially the same code, just why, with the same configuration file,
one works and the other not.

Maybe I need to diff the sources from the two systems.

--
Mike Scott
Harlow, England

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor