From owner-freebsd-questions@freebsd.org Sat May 2 11:44:51 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 228E72CD0DB for ; Sat, 2 May 2020 11:44:51 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49DnNK6YXwz45pD for ; Sat, 2 May 2020 11:44:49 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id 042BibR3022760 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 2 May 2020 13:44:37 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1588419877; bh=BeW4HbYAzQYLhIi0/sPFLysHj2L25XDDPbiVw2nyjxY=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=fyiYtb4mlwFeaS89rVsK2KX7CPl3hIcyDsUfzeqhvk18Axkca1DlSjkZ95yMGlWw1 dzDhi2hfWKB9DUrPEf4mNv2wS7XD0voLXlRehGzVH7XZER405Tt2Z7cU/k//dSS/1d JJEDIaSiboWHDQvnnQuQmg8HTVUvHkAsGvnJxs6dTZPdKzMMGgN/VOAlZZy2oodlg5 22keJD/Ty4OIFXKvytu8Inw5kPXkQt6yfpFAPgb6oDexql9Hlm1Ndkm9BUyKI0E/ZS j2mNSvCNbtLJcROw7w+o/PEHFUJ/mnohDhv1W/rW1Hvmb9zh0Z7zrnE1pGyDanGk55 BStCwq0iI0mNw== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id 042Bibd0022755; Sat, 2 May 2020 13:44:37 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Sat, 2 May 2020 13:44:37 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: Christoph Kukulies cc: freebsd-questions@freebsd.org Subject: Re: Kernel build - makecleandepend unknown In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (BSF 395 2020-01-19) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on enterprise.ximalas.info X-Rspamd-Queue-Id: 49DnNK6YXwz45pD X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=fyiYtb4m; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-4.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-2.06)[ip: (-8.33), ipnet: 2001:700::/32(-1.25), asn: 224(-0.71), country: NO(-0.02)] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2020 11:44:51 -0000 On Sat, 2 May 2020 13:31+0200, Christoph Kukulies wrote: > While chasing my sym0 problem I thought of building a GENERIC kernel with ncr enabled although it is said that sym comprised newer and older chipsets. Anyway, I’m getting this: > > # config GENERIC_NCR > Kernel build directory is ../compile/GENERIC_NCR At this point you shuld be in /usr/src/sys/amd64/conf. cd ../compile/GENERIC_NCR as instructed, and you should now be in /usr/src/sys/amd64/compile/GENERIC_NCR. > Don't forget to do ``make cleandepend && make depend'' > # cd .. > # cd compile > # make cleandepend && make depend > make: don't know how to make cleandepend. Stop > > make: stopped in /usr/src/sys/amd64/compile You're building the kernel the old-fashioned way: cd /usr/src/sys/amd64/compile/GENERIC_NCR make cleandepend && make depend && make I like to set the KERNCONF variable in /etc/src.conf and/or on the commandline, and do the build from /usr/src: make -C /usr/src buildkernel or: make -C /usr/src KERNCONF=ZFS buildkernel If the kernel is compiled the new and preferred way, you install it by running: make -C /usr/src installkernel or: make -C /usr/src KERNCONF=ZFS installkernel DESTDIR may be set on the commandline to point to the desired rootfs. -- Trond. From owner-freebsd-questions@freebsd.org Sat May 2 13:29:13 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D096F2CFC5E for ; Sat, 2 May 2020 13:29:13 +0000 (UTC) (envelope-from freebsd@gregv.net) Received: from aurora.gregv.net (aurora.gregv.net [192.111.144.138]) by mx1.freebsd.org (Postfix) with ESMTP id 49Dqhm5MTGz4C5W for ; Sat, 2 May 2020 13:29:12 +0000 (UTC) (envelope-from freebsd@gregv.net) Received: by aurora.gregv.net (Postfix, from userid 1001) id E5ABC721; Sat, 2 May 2020 09:29:05 -0400 (EDT) Date: Sat, 2 May 2020 09:29:05 -0400 From: Greg Veldman To: Christoph Kukulies Cc: freebsd-questions@freebsd.org Subject: Re: X11Forwarding yes ssh -X vs. ssh -Y Message-ID: <20200502132905.GG1068@aurora.gregv.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 49Dqhm5MTGz4C5W X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@gregv.net has no SPF policy when checking 192.111.144.138) smtp.mailfrom=freebsd@gregv.net X-Spamd-Result: default: False [3.70 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gregv.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.73)[0.730,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.97)[0.971,0]; R_SPF_NA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31863, ipnet:192.111.144.0/20, country:US]; IP_SCORE(1.09)[ipnet: 192.111.144.0/20(1.91), asn: 31863(3.61), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2020 13:29:13 -0000 On Sat, May 02, 2020 at 09:33:45AM +0200, Christoph Kukulies wrote: > When logging into my FreeBSD12.1 system using > > ssh -Y user@mybox > > and do echo $DISPLAY I get localhost:10.0 and can do X11Forwarding (which I enable in sshd_config) > Doing > > > ssh -X user@mybox > > doesn???t work. DISPLAY variable is not being set. > > Any clues? The -X option requires support of the X11 SECURITY extension in your server. You can check if that's enabled with: $ xdpyinfo -queryExtensions -- Greg Veldman freebsd@gregv.net