From owner-freebsd-questions@FreeBSD.ORG Tue Feb 27 08:28:54 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 9843816A405 for ; Tue, 27 Feb 2007 08:28:54 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone3.qsi.net.nz (drone3-svc-skyt.qsi.net.nz [202.89.128.3]) by mx1.freebsd.org (Postfix) with ESMTP id 12E9D13C4AC for ; Tue, 27 Feb 2007 08:28:53 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: (qmail 1776 invoked by uid 0); 27 Feb 2007 08:28:52 -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:28:52 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id 38FC67E861; Tue, 27 Feb 2007 21:28:52 +1300 (NZDT) Date: Tue, 27 Feb 2007 21:28:52 +1300 From: Jonathan Chen To: Stephen Liu Message-ID: <20070227082852.GB14401@osiris.chen.org.nz> References: <45E3DE8C.7080300@inode.at> <355416.54750.qm@web35205.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <355416.54750.qm@web35205.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:28:54 -0000 On Tue, Feb 27, 2007 at 04:23:37PM +0800, Stephen Liu wrote: > Hi Armin, > > Tks for your advice. > > > 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 > > Done as per your advice. > > $ cat ~/.xsession > exec /usr/local/bin/startkde > exec /usr/local/bin/gnome-session You didn't follow his instructions. You only need *ONE* of the lines in there - either "startkde" or "gnome-session". > $ ls -al ~/.xsession > -rwxr-xr-x 1 satimis wheel 62 Feb 27 07:59 /home/satimis/.xsession > > $ startkde You will need to use "startx" instead. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive.