[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Prevent X Windows Starting up



"captain kierkegaard" <ltyphair@perdido.mine.nu> writes:

> use the update-rc.d command, to stop the display managers from
> starting, i used the following command:
>     # update-rc.d -f ?dm remove stop 1 2 3 4 5 6
> where the question mark is g, k, or x depending on which is starting
> at boot.

This is a bad idea; the next time the display manager package gets
updated (say, for a security fix), update-rc.d will see a lack of
symlinks for the service and conclude that it's never been installed,
and handily start it for you.  The /etc/rc?.d symlinks are definitely
user-configurable; removing the appropriate start symlinks from
/etc/rc2.d, etc. is a better idea.  Or, if you don't want to use a
display manager at all, just remove the package.

(And since nobody else has suggested it, it might be possible to get
into the machine remotely, too, maybe with ssh.  A serial console is
useful for this sort of problem too, but requires some advance setup,
and the world contains comparatively few dumb terminals these days.  :-)

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: