From owner-freebsd-questions Sun Jul 9 3:47: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.rdc3.on.home.com (ha1.rdc1.tn.home.com [24.2.7.66]) by hub.freebsd.org (Postfix) with ESMTP id 1A78F37B5D9 for ; Sun, 9 Jul 2000 03:47:03 -0700 (PDT) (envelope-from williamsl@home.com) Received: from RELIABLE ([24.4.115.31]) by mail1.rdc3.on.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000709104701.FFRE11295.mail1.rdc3.on.home.com@RELIABLE>; Sun, 9 Jul 2000 03:47:01 -0700 Date: Sun, 9 Jul 2000 06:46:51 -0400 From: Ben Williams X-Mailer: The Bat! (v1.39) Personal Organization: Williams Enterprises X-Priority: 3 (Normal) Message-ID: <11282.000709@home.com> To: j mckitrick Cc: Dan Nelson , questions@freebsd.org Subject: Re[2]: pop up notice for x In-reply-To: <20000706170053.A10074@dogma.freebsd-uk.eu.org> References: <20000706170053.A10074@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you're using /bin/sh you might need to separate your 'export...' line like this: DISPLAY=:0.0 export DISPLAY I seem to recall the export [=] is a bash enhancement that is not present in all shells. Also how are you running X? If by startx then you probably don't have any xauth issues but if you're running from xdm you may need to man xauth. HTH, --Ben Williams mailto:received@email dot com Quoting j mckitrick Sunday, July 09, 2000 > On Thu, Jul 06, 2000 at 10:42:03AM -0500, Dan Nelson wrote: >> "export DISPLAY=:0.0" should work. If you're running multiple X > so close... the script now works when i run it from a console- it pauses and > when i switch to the X display, the xmessage is there. but when the apm > event triggers it, it still doesn't show. yet the logger command works. > the echo command may not, i'm not sure. > anyway, i put "export DISPLAY=:0.0" in the script, and that has at least > taken me one step in the right direction. now if only it would work when > the system ran it.... > jm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message