From owner-freebsd-questions@freebsd.org Sat Mar 19 14:41:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 987CCAD4838 for ; Sat, 19 Mar 2016 14:41:53 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E931CE0 for ; Sat, 19 Mar 2016 14:41:52 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (user-24-214-48-39.knology.net [24.214.48.39]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id u2JEdrpw012523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 19 Mar 2016 09:39:54 -0500 To: FreeBSD Questions !!!! From: "William A. Mahaffey III" Subject: Problems w/ mgdiff across my LAN Message-ID: <56ED64B9.2000300@hiwaay.net> Date: Sat, 19 Mar 2016 09:45:23 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2016 14:41:53 -0000 I am trying to use mgdiff (from ports) to look for differences between 2 ASCII files (ANSI C, actually). I am logged into the box where the files reside from this box, running FreeBSD 9.3R, patched up: [wam@kabini1, ~, 9:40:46am] 488 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p33 FreeBSD 9.3-RELEASE-p33 #0: Wed Jan 13 17:55:39 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@kabini1, ~, 9:40:47am] 488 % On the other box (also FBSD 9.3R, I get: [wam@devbox, Vector, 9:36:54am] 734 % xdiff main.c Main.c Error: Can't open display: localhost:11.0 [wam@devbox, Vector, 9:37:04am] 735 % which xdiff xdiff: aliased to mgdiff -args -wB [wam@devbox, Vector, 9:37:17am] 736 % uname -a FreeBSD devbox 9.3-RELEASE-p33 FreeBSD 9.3-RELEASE-p33 #0: Wed Jan 13 17:55:39 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@devbox, Vector, 9:37:27am] 737 % I ssh-ed into the other box (devbox) from this box (kabini1) under tcsh in an rxvt shell. I have been having variations of this problem for a while, but worked around it by cd-ing to the remote dir from this box & then mgdiff-ing. I can do that here as well, but that is clumsy & I suspect that there is a simple bit of pilot error causing this issue, which I would like to fix :-). Any clues appreciated. TIA & have a good one. -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.