From owner-freebsd-questions@FreeBSD.ORG Tue Feb 27 08:27:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6741116A405 for ; Tue, 27 Feb 2007 08:27:06 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone2.qsi.net.nz (drone2-svc-skyt.qsi.net.nz [202.89.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id D6F4513C4D3 for ; Tue, 27 Feb 2007 08:27:05 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 8145 invoked by uid 0); 27 Feb 2007 08:27:03 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 27 Feb 2007 08:27:03 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 168FD7E862; Tue, 27 Feb 2007 21:27:03 +1300 (NZDT) Date: Tue, 27 Feb 2007 21:27:03 +1300 From: Jonathan Chen To: Stephen Liu Message-ID: <20070227082702.GA14401@osiris.chen.org.nz> References: <224548.80276.qm@web35206.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <224548.80276.qm@web35206.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Fail to start KDE and Gnome 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: Tue, 27 Feb 2007 08:27:06 -0000 On Tue, Feb 27, 2007 at 01:26:41PM +0800, Stephen Liu wrote: > Hi folks, > > FreeBSD-6.2-amd64 > > This is a test, I insalled aprox >80% of the packages on Disc 2 > After installation completed PC rebooted to runlevel 3. Login as user > and run; > > $ startkde > warning: > Kpersonalizer : Cannot connect to Xserer > - repeated- > > $ gnome-session > (gnome-session 1968) gtk-Warning ** cannot open displayed > > $ startx > 3 xterm windows started. On xterm I can start KDE with a lot of > warning displayed on xterm windonw. But I can't start Gnome on xterm. > If you're going to use "startx" you will need a ${HOME}/.xinitrc with the following contents: #/bin/sh startkde Make sure the file is 755 permissions. This will start up X with KDE. I would suggest you configure /etc/ttys to start up KDM instead of using "startx" Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck" - Curly