From owner-freebsd-questions@freebsd.org Fri May 11 06:40:07 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89703FB95C8 for ; Fri, 11 May 2018 06:40:07 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 269FB84782 for ; Fri, 11 May 2018 06:40:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1fH1il-0000YD-Gq; Fri, 11 May 2018 08:40:03 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1fH1il-000439-Bg; Fri, 11 May 2018 08:40:03 +0200 Date: Fri, 11 May 2018 08:40:03 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: ssh -X remote does not work due to problem with xauth Message-ID: <20180511064003.GA11062@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org References: <587e3b37-c5c7-4af2-80e2-f7c040a4d221@unixarea.de> <7edbad31-8ac8-9c27-2536-9a9a37a579b6@kicp.uchicago.edu> <20180510150154.GA2699@c720-r314251> <20180510194038.GE26824@dot.t41t.com> <20180510201731.GA31313@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180510201731.GA31313@sh4-5.1blu.de> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2018 06:40:07 -0000 I recompiled the port x11-servers/xorg-server with adding "--enable-xcsecurity" to the CONFIGURE_ARGS in the Makefile and now all is fine: $ ssh -X apitzm@s70devl Last login: Thu May 10 19:13:18 2018 from 10.49.94.187 /usr/bin/xauth: file /home/apitzm/.Xauthority does not exist apitzm@srap16dxr1:~> echo $DISPLAY localhost:10.0 apitzm@srap16dxr1:~> xclock There was already a PR filed about this issue in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221984 And, last word, as I suspected and proofed from the beginning: the problem was fully LOCAL in our beloved FreeBSD. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub