Date: Wed, 22 Mar 2023 11:32:07 +1030 From: "Daniel O'Connor" <darius@dons.net.au> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: Persuading ssh -X to work from a RasPiOS system Message-ID: <5DC85526-F029-4B39-B680-015E33E2F68F@dons.net.au> In-Reply-To: <20230322005957.GA37774@www.zefox.net> References: <20230321232926.GA37569@www.zefox.net> <C217F5B2-220F-4E66-B695-FE457CAE4DE6@dons.net.au> <20230322005957.GA37774@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 22 Mar 2023, at 11:29, bob prohaska <fbsd@www.zefox.net> wrote: > On Wed, Mar 22, 2023 at 10:11:08AM +1030, Daniel O'Connor wrote: >>=20 >>> On 22 Mar 2023, at 09:59, bob prohaska <fbsd@www.zefox.net> wrote: >>> After a recent round of upgrades to both FreeBSD-current and = RasPiOS64 >>> it developed that running=20 >>> ssh -X [freebsd hostname]=20 >>> gets me logged in, but issuing >>> xterm -sb >>> reports >>> xterm: Xt error: Can't open display:=20 >>> xterm: DISPLAY is not set >>=20 >> 'DISPLAY is not set' is saying that ssh hasn't done the forwarding. >>=20 >> If you run 'xterm' before you login to FreeBSD, does it work? >>=20 > Somewhat to my surprise, xterm isn't recognized as a command > on the RasPiOS end. The default terminal emulator is lxterminal, > but I thought xterm would still be recognized. Evidently not.=20 >=20 >> Perhaps you don't have an X server (eg you could be using Wayland I = guess) >>=20 >=20 > The RasPiOS system boots to the command line and the windowing > system is started up using startx. The man page for startx seems > to imply that the Pi is using some flavor of X, but I'm not sure > which one. Xwayland is available, but not installed.=20 OK, seems strange it wouldn't work then. You could try "ssh -vvvvvX user@freebsdhost" and see if there are = messages about X11 forwarding. =20 -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5DC85526-F029-4B39-B680-015E33E2F68F>