Fail to start KDE and Gnome

Stephen Liu satimis at
Tue Feb 27 08:23:38 UTC 2007

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

$ ls -al ~/.xsession
-rwxr-xr-x  1 satimis  wheel  62 Feb 27 07:59 /home/satimis/.xsession

$ startkde
ksplash: cannot connect to X server
kdeinit: Aborting, $DISPLAY is not set
Warning: Connect() failed: No such file or directory
ksmserver: Cannot connect to Xserver !
startkde: shutting down ...
Warning: Connect() failed: No such file or directory
Error: Can't contact kdeinit !
startkde running shutdown script
startkde : Done

Still failed.


Send instant messages to your online friends 

More information about the freebsd-questions mailing list