On May 12, 2005, at 2:19 PM, JT Moree wrote:
Ed Howland wrote:
| But can somebody explain how to get a graphical mode (RL 5) vs a shell
| only mode (RL 3?) type configuration. On my box at home, I just stopped
| all X services and explicitly start them via startx.
I do this
cd /etc/rc3.d/ rm S99xdm S99kdm S99gdm cp -a ../rc6.d/K01xdm ../rc6.d/K01kdm ../rc6.d/K01gdm
You probably want a target folder on that. For example:
cp -a ../rc6.d/K01xdm ../rc6.d/K01kdm ../rc6.d/K01gdm .
there is probably a way to do it with update-rc.d but it's only two
commands in the proper directory and you get run level 3 similar to RedHat.
I like your way better than update-rc.d. I understand your way. I don't understand update-rc.d. For example, I tried this:
update-rc.d apache stop 20 2
hoping that apache will stop whenever init enters runlevel 2. But all I get is an error:
update-rc.d: error: expected runlevel [0-9S] (did you forget "." ?)
I got tired of troubleshooting the problem and did a variation of what you did:
cd /etc/rc2.d rm *apache* cp -a ../rc6.d/*apache* .
Works great.
Runlevel 5 is pretty much the same as 2 out of the box.
Under Debian, yes, except for X11. Just like under RedHat, runlevel 3 is the same as 5, except for X11.
Under Debian, are the runlevels distinct or sequential? That is, by sequential runlevels I mean that entering runlevel 4 involves starting all daemons in runlevel 1, followed by runlevel 2, followed by runlevel 3, and finally runlevel 4.
Regards, - Robert http://www.cwelug.org/downloads Help others get OpenSource software. Distribute FLOSS for Windows, Linux, *BSD, and MacOS X with BitTorrent
_______________________________________________ CWE-LUG mailing list [email protected] http://www.cwelug.org/ http://www.cwelug.org/archives/ http://www.cwelug.org/mailinglist/
