Re: XDM / KDM problem... (also: xdm-not-on-boot hack)
On Sun, 2 Aug 1998, Alan Su wrote:
> Well, that is a bit extreme. don't worry about shutting down the X
> server. when the tty on which the X server is running is active, you
> can switch to other tty's by using Control-LeftAlt-Fx, where x is the
> number of a different tty (presumably a text console).
Heh... I would say very extreme. The same as you say, Ctrl-LAlt-Fx and
also Ctrl-r - that shuts down the server, but its still there... do a
`/etc/init.d/xdm stop` to kill it. I have xdm off by default, so I would
use startx, but I prefer xdm - here is my hack:
in the /etc/init.d/xdm script:
(added '|| [ "$2" = "--force" ]')
---------
run_xdm=0
if grep -q ^start-xdm /etc/X11/config || [ "$2" = "--force" ]
then
run_xdm=1
fi
---------
then two scripts in /usr/local/sbin :
-----------/usr/local/sbin/xdmon----------
#!/bin/sh
/etc/init.d/xdm start --force > /dev/null
----
-----------/usr/local/sbin/xdmoff---------
#!/bin/sh
/etc/init.d/xdm stop --force > /dev/null
----
Works great :) when finished in X, I end my session, wait for xdm, type
Ctrl-r which returns me to the VT xdm was started from, and type xdmoff.
> in response to the original question, if you still don't want xdm to
> start when the machine is booted, simply edit /etc/X11/config and
> change the line which says 'start-xdm' to 'no-start-xdm' (or just
> comment the darn thing out).
>
> finally, i have no idea how to do change to kdm. sorry.
The kdebase package has a shell script 'switchdm' which will do this for
you.
> -alan
>
> "Zaphod Beeblebrox" wrote (Sun, 02 Aug 1998 10:28:53 PDT ):
> |>
> |>This may be kind of extreme, but I can get out of XWindows (xdm)
> |>using the Ctr-Alt-BackSpace sequence that forces a reset. Then, at
> |>some critical point during the reset, you can use the LeftAlt-RightArrow
> |>sequence to switch to a different tty.
> |>
> |>Debian 1.3 user
> |>
> |>>Xwindow... is there a way to "get out" of Xwindow if XDM is "turned
> |>>on"?
Michael Beattie (mickyb@es.co.nz)
PGP Key available, reply with "pgpkey" as subject.
-----------------------------------------------------------------------------
Curiousity may kill the cat, but a 12 gauge is quicker!
-----------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: