From nobody Wed Mar 22 00:59:57 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ph9B32y8Jz414Fd for ; Wed, 22 Mar 2023 01:00:11 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ph9B31FPNz3D3V for ; Wed, 22 Mar 2023 01:00:10 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 32M0xwvS037843 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 21 Mar 2023 17:59:58 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 32M0xvCo037842; Tue, 21 Mar 2023 17:59:57 -0700 (PDT) (envelope-from fbsd) Date: Tue, 21 Mar 2023 17:59:57 -0700 From: bob prohaska To: "Daniel O'Connor" Cc: freebsd-arm@freebsd.org Subject: Re: Persuading ssh -X to work from a RasPiOS system Message-ID: <20230322005957.GA37774@www.zefox.net> References: <20230321232926.GA37569@www.zefox.net> List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Ph9B31FPNz3D3V X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, Mar 22, 2023 at 10:11:08AM +1030, Daniel O'Connor wrote: > > > > On 22 Mar 2023, at 09:59, bob prohaska wrote: > > After a recent round of upgrades to both FreeBSD-current and RasPiOS64 > > it developed that running > > ssh -X [freebsd hostname] > > gets me logged in, but issuing > > xterm -sb > > reports > > xterm: Xt error: Can't open display: > > xterm: DISPLAY is not set > > 'DISPLAY is not set' is saying that ssh hasn't done the forwarding. > > If you run 'xterm' before you login to FreeBSD, does it work? > 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. > Perhaps you don't have an X server (eg you could be using Wayland I guess) > 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. Thanks for writing, bob prohaska