From owner-freebsd-questions@FreeBSD.ORG Wed Aug 3 02:04:26 2005 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 182D116A41F for ; Wed, 3 Aug 2005 02:04:26 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F53843D46 for ; Wed, 3 Aug 2005 02:04:25 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j7324O7V093875; Tue, 2 Aug 2005 21:04:24 -0500 (CDT) (envelope-from dan) Date: Tue, 2 Aug 2005 21:04:24 -0500 From: Dan Nelson To: Kun Niu Message-ID: <20050803020424.GA93405@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: Problem about the $DISPLAY environment variable 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, 03 Aug 2005 02:04:26 -0000 In the last episode (Aug 03), Kun Niu said: > This problem occurs when I start to launch "startkde". First, it > mentioned $DISPLAY was not set. Then I use command "export > DISPLAY=:0.0" to set it. After that I typed the command startkde. The > error was "can't connect to :0.0" Can someone tell me how to solve > the problem? Any help would be appreciated. Thanks in advance.:) startkde is meant to be run after X has started. It doesn't start X itself. Try putting it in your ~/.xinitrc file, then run "startx". -- Dan Nelson dnelson@allantgroup.com