Discussion:
Preventing KDE from restarting
Oren Almog
2008-02-01 13:22:19 UTC
Permalink
Hi

I am looking for an easy way to shutdown kde. If I ctrl-alt-backspace, the
xserver and kdm restart automatically. Is there a way to make it quit
directly to console?

Thanks.
Alphons "Fonz" van Werven
2008-02-01 14:18:28 UTC
Permalink
Post by Oren Almog
I am looking for an easy way to shutdown kde. If I ctrl-alt-backspace, the
xserver and kdm restart automatically. Is there a way to make it quit
directly to console?
There's probably a line in /etc/ttys starting kdm. No need to delete it,
just turn it off.

HTH,

Alphons
--
VISTA - Viruses Intruders Spyware Trojans Adware
Oren Almog
2008-02-01 23:14:10 UTC
Permalink
I do have that line but it is disabled (off).

Looking at /usr/local/share/config/kdm/kdmrc does reveal a few options that
can immediately restart a session but they are all either commented out or
not set.
Post by Oren Almog
Hi
I am looking for an easy way to shutdown kde. If I ctrl-alt-backspace,
the
Post by Oren Almog
xserver and kdm restart automatically. Is there a way to make it quit
directly to console?
Thanks.
ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure
If so, turn it off and reboot. From that point. If not check rc.conf and
related
directories to see where xdm is being started.
Mel
2008-02-02 13:58:21 UTC
Permalink
Post by Oren Almog
I do have that line but it is disabled (off).
Looking at /usr/local/share/config/kdm/kdmrc does reveal a few options that
can immediately restart a session but they are all either commented out or
not set.
killall kdm-bin.
And next time, start kdm from command line as kdm -nodaemon if you plan on
disabling it at a future time.
--
Mel
doug
2008-02-02 23:22:27 UTC
Permalink
Post by Mel
Post by Oren Almog
I do have that line but it is disabled (off).
Looking at /usr/local/share/config/kdm/kdmrc does reveal a few options that
can immediately restart a session but they are all either commented out or
not set.
killall kdm-bin.
And next time, start kdm from command line as kdm -nodaemon if you plan on
disabling it at a future time.
--
Mel
This of course does nothing for the next boot.

I assume you are running one of the desktop distributions. Otherwise you have to
make a change to start an X server. We installed PCBSD just to see how they did
things. The version we installed starts kdm from /etc/ttys. The other way would
be to start it from /usr/local/etc/rc.d/.

Try: egrep -lr "[xk]dm" .

with pwd = /etc/ and /usr/local/etc/rc.d/

Continue reading on narkive:
Loading...