Results 1 to 4 of 4
I know that init 3 is supposed to stop X windows, and init 5 brings X back up, but i can't seem to get those two to work. I type ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-11-2006 #1
Killing X windows
I know that init 3 is supposed to stop X windows, and init 5 brings X back up, but i can't seem to get those two to work.
I type Init 3/5 and the command init is not found. Does init stand for some other command or do i have to type a directory before init (for ifconfig, i have to do /sbin/ifconfig) or perhaps do i have to be logged in with root account? Thanks.
- 01-11-2006 #2
Use su to become root, then try the command.
- 01-11-2006 #3
Init usually is located at /sbin/init and if you have to execute /sbin/ifconfig to run ifconfig that means you don''t have /sbin in your path. So you can either execute the full path all the time, such as:
# /sbin/init 3
- 01-11-2006 #4
I tried su, and that didn't work. Now that i know that init 3 should be found in /sbin, then i will go ahead and try that out when i get back to my computer. And i might as well set the path too. Thanks for the help guys.