From owner-freebsd-questions@freebsd.org Wed May 9 14:20:09 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 12615FBBF2A for ; Wed, 9 May 2018 14:20:09 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9EEB96EFFC for ; Wed, 9 May 2018 14:20:08 +0000 (UTC) (envelope-from news@mips.inka.de) Received: from localhost by mail.inka.de with local-rmail id 1fGPws-00046S-Gl; Wed, 09 May 2018 16:20:06 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id w49EIalk062788 for ; Wed, 9 May 2018 16:18:36 +0200 (CEST) (envelope-from news@lorvorc.mips.inka.de) Received: (from news@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id w49EIawc062787 for freebsd-questions@freebsd.org; Wed, 9 May 2018 16:18:36 +0200 (CEST) (envelope-from news) To: freebsd-questions@freebsd.org From: Christian Weisgerber Newsgroups: list.freebsd.questions Subject: Re: ssh -X remote does not work due to problem with xauth Date: Wed, 9 May 2018 14:18:36 -0000 (UTC) Message-ID: References: <20180509104700.GA3259@c720-r314251> User-Agent: slrn/1.0.3 (FreeBSD) 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: Wed, 09 May 2018 14:20:09 -0000 On 2018-05-09, Matthias Apitz wrote: > When I launch 'ssh -X remote host' to get X11 forwarded to my workstation > this does not work, i.e. does not produce a DISPLAY env on the remote > host and says: Is X11Forwarding enabled in /etc/ssh/sshd_config on the remote host? > $ ssh -X apitzm@srap16dxr1 > Warning: untrusted X11 forwarding setup failed: xauth key data not generated That's exactly the error you get if X11Forwarding is off on the remote host. -- Christian "naddy" Weisgerber naddy@mips.inka.de