From owner-freebsd-questions@freebsd.org Mon Sep 21 06:31:54 2015 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 2984FA063D7 for ; Mon, 21 Sep 2015 06:31:54 +0000 (UTC) (envelope-from reg@dwf.com) Received: from deneb.dwf.com (70-90-202-97-Albuquerque.hfc.comcastbusiness.net [70.90.202.97]) (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 061FD1967 for ; Mon, 21 Sep 2015 06:31:53 +0000 (UTC) (envelope-from reg@dwf.com) Received: from deneb.dwf.com (localhost [127.0.0.1]) by deneb.dwf.com (8.14.4/8.14.3) with ESMTP id t8L6Vqmd014047 for ; Mon, 21 Sep 2015 00:31:52 -0600 Message-Id: <201509210631.t8L6Vqmd014047@deneb.dwf.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: freebsd-questions@freebsd.org Subject: X server insecure (must use xauth-style authorization) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 21 Sep 2015 00:31:52 -0600 From: reg@dwf.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Sep 2015 06:31:54 -0000 I am getting the message in the Subject line when running exmh. Here is a more complete version of the messages: BgLostPid ps 2456: PID TT STAT TIME COMMAND child process exited abnormally BgRegister X server insecure (must use xauth-style authorization); command ignored BgRegister X server insecure (must use xauth-style authorization); command ignored BgRegister X server insecure (must use xauth-style authorization); command ignored BgRegister X server insecure (must use xauth-style authorization); command ignored BgRegister X server insecure (must use xauth-style authorization); command ignored exmh-bg cannot rendez-vous with UI - exiting. Usually this is because Tk send is not working. Check the notes under Frequently Asked Questions #4a and #4b. You can find this under the Help menu. --- I am not sure where this FAQ is that they are referring to. I vaguely remember this MIT-MAGIC-COOKIE-1 stuff from setting up a sun years ago, but don't remember the details. I added the following to my .login, on the assumption that it would fix the problem, but it doesn't; setenv cookie `date +%s%s%s%s | cut -c-32` xauth add unix:0.0 MIT-MAGIC-COOKIE-1 $cookie xauth add `hostname -f1` :0.0 MIT-MAGIC-COOKIE-1 $cookie /usr/local/bin/X -auth /home/reg/.Xauthority What should I be doing? -- Reg.Clemens reg@dwf.com