From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 16:25:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36A2216A422 for ; Wed, 22 Feb 2006 16:25:39 +0000 (GMT) (envelope-from heliocentric@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC95F43D49 for ; Wed, 22 Feb 2006 16:25:31 +0000 (GMT) (envelope-from heliocentric@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so160210wri for ; Wed, 22 Feb 2006 08:25:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Qu6XQCcP3I7mjyKiBuHCHSkhoPBElfC0rwPk5zPbBQYTiDXuu0xHtJCVQ6mfA9HKgAwXeIa8HOw7t/crqjWH8JePpWbYgc4eL0p+HeepGcNV8vKH6AMkn0CM0PHYToub+8I1lFn8KXJcoMrQwHNwpXiQYPvNsYZw/iZ7Y5WXH3s= Received: by 10.65.188.15 with SMTP id q15mr2250472qbp; Wed, 22 Feb 2006 08:25:29 -0800 (PST) Received: by 10.65.206.18 with HTTP; Wed, 22 Feb 2006 08:25:29 -0800 (PST) Message-ID: Date: Wed, 22 Feb 2006 11:25:29 -0500 From: Heliocentric To: freebsd-questions@freebsd.org In-Reply-To: <47d0403c0602202053w751133eeta6c5210e0ab62cd2@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <47d0403c0602202053w751133eeta6c5210e0ab62cd2@mail.gmail.com> Subject: Re: 6.0-release remote x application failure to open display 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: Wed, 22 Feb 2006 16:25:39 -0000 > I recently have performed a clean install of 6.0-release on this > machine, on a new hard drive, and then copied over the data and some > configuration files (ssh keys, etc.) from the old hard drive (it is a > slow machine, so I didn't want to build current). Having done so, I > then tried to login remotely to this machine and run xmms (it is > mostly used as my "music server"), which failed with this error: > ** CRITICAL **: Unable to open display > I have tried with passing the -X flag, and with passing the -Y flag to > ssh, but there is no change in behaviour. > Is there something that I have forgotten to enable, or is this unexpected= ? first, always use the -X or -Y option for X11 forwarding. regardless of whether you think it needs to be specified, good habit in case the environment changes unexpectedly. next, check the environment after login (setenv in tcsh), make sure that the DISPLAY variable is being set. should be somwhere along the lines of localhost:10.0 or higher.. then, whereis xauth and make sure it's installed. ssh uses this to set up said X display, and isn't installed when X applications are compiled or installed from binaries (it's in xorg-clients iirc.) These are fairly general, but are a good start.