From owner-freebsd-questions@FreeBSD.ORG Wed Feb 28 01:20:50 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 1D69516C00D for ; Wed, 28 Feb 2007 01:20:50 +0000 (UTC) (envelope-from a.pirko@inode.at) Received: from mailbackup.inode.at (mailbackup.inode.at [213.229.60.24]) by mx1.freebsd.org (Postfix) with ESMTP id CCF2B13C46B for ; Wed, 28 Feb 2007 01:20:49 +0000 (UTC) (envelope-from a.pirko@inode.at) Received: from [62.99.145.14] (port=42764 helo=mx.inode.at) by mailbackup.inode.at with esmtp (Exim 4.62) (envelope-from ) id 1HLwqM-0007h2-QY for freebsd-questions@freebsd.org; Tue, 27 Feb 2007 08:33:50 +0100 Received: from [85.124.26.15] (port=3088 helo=[192.168.1.11]) by smartmx-12.inode.at with esmtp (Exim 4.50) id 1HLwp4-0007TR-8L; Tue, 27 Feb 2007 08:32:30 +0100 Message-ID: <45E3DE8C.7080300@inode.at> Date: Tue, 27 Feb 2007 08:32:28 +0100 From: Armin Pirkovitsch User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Stephen Liu References: <224548.80276.qm@web35206.mail.mud.yahoo.com> In-Reply-To: <224548.80276.qm@web35206.mail.mud.yahoo.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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: Wed, 28 Feb 2007 01:20:50 -0000 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. > > I can start "firefox" on xterm. Now I'm posting on "firefox" browser. > > Please advise where I have to check fixing the problems. TIA There are two files that control which windowsmanager shall be used (depending on whether you use a login manager or just startx) One is called .xinitrc the other one .xsession - they are both in your home directory - create them (you can create one of them and symlink the other one) and add the start command to the file (full path) - and make sure they are set executable (chmod 755 ) eg. for kde: exec /usr/local/bin/startkde eg for gnome: exec /usr/local/bin/gnome-session -- Armin Pirkovitsch a.pirko@inode.at