Date: Tue, 27 Feb 2007 21:28:52 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Stephen Liu <satimis@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Fail to start KDE and Gnome Message-ID: <20070227082852.GB14401@osiris.chen.org.nz> In-Reply-To: <355416.54750.qm@web35205.mail.mud.yahoo.com> References: <45E3DE8C.7080300@inode.at> <355416.54750.qm@web35205.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <filename>) > > 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 <jonc@chen.org.nz> ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227082852.GB14401>