Re: KDE not starting. Cannot start kdeinit

2005-04-17 Thread Jan Grant
On Sat, 16 Apr 2005, Danny Pansters wrote:

 IIRC exec used to be needed for some reason, but that's been a while, merely 
 startkde (which is just a shell script) will do.

The reasoning is in the man page for startx(1):

[[
The .xinitrc is typically a shell script which starts many clients 
according to the user's preference.  When this shell script exits, 
startx kills the server and performs any other session shutdown needed. 
Most of the clients started by .xinitrc should be run in the back- 
ground.  The last client should run in the foreground; when it exits, 
the session will exit.  People often choose a session manager, window
manager, or xterm as the ''magic'' client.
]]

Since the session stops when the .xinitrc process dies, you can either 
launch startkde from within the shell script (in which case the .xinitrc 
script waits until startkde exits, then exits), or you can use exec 
startkde to replace the .xinitrc process with the startkde one. In 
either case the only difference is that leaving out the exec means 
you've got one additional shell process hanging around until you quit X.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44 (0)117 9287088 (with luck)   http://ioctl.org/jan/
I like oranges more than apples!? - that's like comparing apples and oranges!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


KDE not starting. Cannot start kdeinit

2005-04-16 Thread Edward Lichtner
Hi all,
I just installed FreeBSD (using a CD burned from the
5.3-RELEASE-i386-miniinst.iso image) on a NEC machine with a Celeron D335. I
have xorg 6.8.2 (upgraded via portupgrade) and KDE 3.3.0 (installed via
Internet as binaries, with pkg_add, after upgrading xorg).
I then created an .xinitrc file by copying from /usr/X11R6/lib/X11/xinit
into my home directory and adding exec startkde at the beginning of the
file, after the first few lines.
When I type startx, xorg starts OK, but I then get Could not start kdeinit.
Check your installation.
Kdeinit is in /usr/local/bin and the kdelibs package is installed and
recognised by pkg_info.
Any idea what went wrong ?
Thanks,
Edward


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE not starting. Cannot start kdeinit

2005-04-16 Thread Danny Pansters
On Saturday 16 April 2005 19:06, Edward Lichtner wrote:
 Hi all,
 I just installed FreeBSD (using a CD burned from the
 5.3-RELEASE-i386-miniinst.iso image) on a NEC machine with a Celeron D335.
 I have xorg 6.8.2 (upgraded via portupgrade) and KDE 3.3.0 (installed via
 Internet as binaries, with pkg_add, after upgrading xorg).
 I then created an .xinitrc file by copying from /usr/X11R6/lib/X11/xinit
 into my home directory and adding exec startkde at the beginning of the
 file, after the first few lines.
 When I type startx, xorg starts OK, but I then get Could not start
 kdeinit. Check your installation.
 Kdeinit is in /usr/local/bin and the kdelibs package is installed and
 recognised by pkg_info.
 Any idea what went wrong ?

You shouldn't copy xinit and you shouldn't use 'exec' to run startkde. Just 
put only 'startkde' (without the quotes) in your ~/.xinitrc instead.

HTH,

Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE not starting. Cannot start kdeinit

2005-04-16 Thread Joshua Tinnin
On Sat 16 Apr 05 10:44, Danny Pansters [EMAIL PROTECTED] wrote:
 On Saturday 16 April 2005 19:06, Edward Lichtner wrote:
  Hi all,
  I just installed FreeBSD (using a CD burned from the
  5.3-RELEASE-i386-miniinst.iso image) on a NEC machine with a
  Celeron D335. I have xorg 6.8.2 (upgraded via portupgrade) and KDE
  3.3.0 (installed via Internet as binaries, with pkg_add, after
  upgrading xorg). I then created an .xinitrc file by copying from
  /usr/X11R6/lib/X11/xinit into my home directory and adding exec
  startkde at the beginning of the file, after the first few lines.
  When I type startx, xorg starts OK, but I then get Could not start
  kdeinit. Check your installation.
  Kdeinit is in /usr/local/bin and the kdelibs package is installed
  and recognised by pkg_info.
  Any idea what went wrong ?

 You shouldn't copy xinit and you shouldn't use 'exec' to run
 startkde. Just put only 'startkde' (without the quotes) in your
 ~/.xinitrc instead.

I don't use KDE as a desktop a lot (though I do use KMail and some other 
apps), but I've always had exec startkde in my .xinitrc when I want to 
use the whole KDE, and I've never run into any problems like the OP 
described. In fact, I've never heard anyone advise what you did. Not to 
doubt you, but I don't see the connection, as it's never been an issue 
for me. Do you have a reference for this?

- jt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE not starting. Cannot start kdeinit

2005-04-16 Thread Danny Pansters
snip

  You shouldn't copy xinit and you shouldn't use 'exec' to run
  startkde. Just put only 'startkde' (without the quotes) in your
  ~/.xinitrc instead.

 I don't use KDE as a desktop a lot (though I do use KMail and some other
 apps), but I've always had exec startkde in my .xinitrc when I want to
 use the whole KDE, and I've never run into any problems like the OP
 described. In fact, I've never heard anyone advise what you did. Not to
 doubt you, but I don't see the connection, as it's never been an issue
 for me. Do you have a reference for this?


IIRC exec used to be needed for some reason, but that's been a while, merely 
startkde (which is just a shell script) will do. I agree that this doesn't 
explain OP's problem, but copying over xinit to .xinitrc and editing is not a 
great way to get started. 

Anyway, there must be a reason why kdeinit returns non-zero in startkde, and 
my first thought would be to run /usr/local/etc/rc.d/kdelibs.sh to make sure 
it can find the libraries it needs. (or reboot)

HTH,

Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE not starting. Cannot start kdeinit

2005-04-16 Thread Michael C. Shultz
On Saturday 16 April 2005 10:06 am, Edward Lichtner wrote:
 Hi all,
 I just installed FreeBSD (using a CD burned from the
 5.3-RELEASE-i386-miniinst.iso image) on a NEC machine with a Celeron D335.
 I have xorg 6.8.2 (upgraded via portupgrade) and KDE 3.3.0 (installed via
 Internet as binaries, with pkg_add, after upgrading xorg).
 I then created an .xinitrc file by copying from /usr/X11R6/lib/X11/xinit
 into my home directory and adding exec startkde at the beginning of the
 file, after the first few lines.
 When I type startx, xorg starts OK, but I then get Could not start
 kdeinit. Check your installation.
 Kdeinit is in /usr/local/bin and the kdelibs package is installed and
 recognised by pkg_info.
 Any idea what went wrong ?
 Thanks,
 Edward

Do you have kdebase installed? Do you have /usr/local/bin/startkde?

-Mike


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]