Please ignore this thread.
Please ignore this thread. I was trying to reply to another thread and hit new thread instead of reply.... Guess I should have zoomed in more on my phone :S
From one new Linux user to another I would just say find any disrto, dive right in and don't be afriad to mess things up, make back ups of every file you edit just incase you screw it up. Give yourself a project and jus go with it, don't stop until it's complete. The more you play with it Linux, the easier it becomes. force yourself to use terminal not GUI. If you have to use it there are ways to toggle between the two.
Personally I love ubuntu server because it forces you to use terminal. it's ugly but after awhile the blinking dot starts to become atractive :P You should add me we can learn with each other
I don't think this penguin is very friendly, it keeps bashing me...:woohoo:
Comments
:laugh:
Ok say someone were to set up an ubuntu server, which is GUI'less(i know thats not a word, but it is now). Then they go and install ubuntu's desktop because they would like to toggle between GUI and Terminal.
Well by doing this it now defaults to GUI every time you reboot your server. How would you get it to boot into terminal instead of GUI? Ubuntu doesnt have an inittab to change the default run level's, so how would you accomplish this?
If you look at /etc/event.d, inside that directory is a file called "rc-default"
The code inside says:
That is telling Ubuntu to enter into runlevel 2 at start up. Sweet...so we now know what runlevel it will boot up to at start, but now how do we kill off the GUI?
Inside the /etc/rc2.d directory (the directory that init will read and start up all scripts listed inside) you'll see the display manager call...usually looks like:
If you check the README file in that directory it says to change the "S" to a "K"
So the quickest way is to issue the command:
mv /etc/rc2.d/S30gdm /etc/rc2.d/K30gdm
I know that answer is a little longer than probably needed, but it gives a good background
I found this thread earlier on how to change it :
Now the guy gives the answer on how to change it without using a "fancy" tool, but unlike yours he doesn't go into detail on why you do it this way.
In other words very well answered.
So... to carry things on, how do you toggle between GUI and Terminal after you have set the default run level to boot into terminal?:cheer:
Say I want to jump into the GUI mode (on most Linux distros):
telinit 5
Remember on Ubuntu they do it a little differently. You'd have to check where the SXXgdm script was sitting. Since the default is usually runlevel 2, and runlevel 3 probably starts the SXXgdm scritp you'd tell Ubuntu : telinit 3
To jump back to the regular non GUI:
telinit 3
(or in Ubuntu with your script that has already been controlled from the previous examples of this post): telinit 2
I also reboot the box in this manner or shut it down too:
telinit 6 = reboot
telinit 0 = shutdown
thanks to you Mr. Travon..
i inspire to experiment with DSL..
remember this thread?
http://www.linux.com/community/forums?func=view&catid=3&id=2605
i dont care if my terminal would completely destroyed..
Hehe! :laugh:
Noob Here... Sorry..
Go into the inittab and set the default run level to 6
shutdown -h now!!!!
sit back and watch them wonder what the hell is going on...would it work???? would this do infinite loops of reboots?
Ok I know I'm evil but it would be funny...LOL
We had a "know it all" about everything. You know the type. No matter what your story is they have something better about the same thing....anyways, this particular person got very annoying, and they didn't lock down their box they were training on. So I just slipped in and added "shutdown now -r" as the last script to run in the init.d runlevel directories. As soon as the box got full up and running, the first thing it did was restart itself. Haha.
I like a good prank as much as the next person, but that guy just needed to be taken down a notch. It took him and the instructor a while to figure out what was going on.