From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 01:28:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52EB616A421 for ; Mon, 9 Jul 2007 01:28:25 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2FC3E13C455 for ; Mon, 9 Jul 2007 01:28:25 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from slider.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 2FB237FB6 for ; Sun, 8 Jul 2007 21:04:07 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by slider.shadypond.com (postoffice) with ESMTP id A8CC9B65E8 for ; Mon, 9 Jul 2007 01:03:50 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Mon, 9 Jul 2007 01:03:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707090103.49950.lists-fbsd@shadypond.com> Subject: X11 forwarding problems in FreeBSD 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 01:28:25 -0000 I am having some problems with X11 forwarding. I can do X11 forwarding via ssh between two machines running Linux, but if I try to do this from FreeBSD (KDE) to either of the Linux machines, it only works if I use startx to start KDE on the fbsd machine (a laptop). If I start KDE from kdm, I get errors that go like this when I start the KDE app on the remote host running Linux: pollywog@slider:~$ kate Xlib: connection to "localhost:11.0" refused by server Xlib: Invalid MIT-MAGIC-COOKIE-1 key kate: cannot connect to X server localhost:11.0 My configurations for ssh are similar on all hosts: sshd_conf has AllowTcpForwarding yes X11DisplayOffset 10 X11UseLocalHost yes XAuthLocation /usr/local/bin/xauth ssh_conf has Host slider HostName 192.168.0.1 ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes PubkeyAuthentication yes Protocol 2