Fail to start KDE and Gnome

Jonathan Chen jonc at chen.org.nz
Tue Feb 27 08:28:54 UTC 2007


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 at chen.org.nz>
----------------------------------------------------------------------
                                       Do not take life too seriously.
                                   You will never get out of it alive.


More information about the freebsd-questions mailing list