Date: Tue, 27 Feb 2007 16:23:37 +0800 (CST) From: Stephen Liu <satimis@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Fail to start KDE and Gnome Message-ID: <355416.54750.qm@web35205.mail.mud.yahoo.com> In-Reply-To: <45E3DE8C.7080300@inode.at>
next in thread | previous in thread | raw e-mail | index | archive | help
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. B.R. satimis Send instant messages to your online friends http://uk.messenger.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?355416.54750.qm>