LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to turn off computer (https://www.linuxquestions.org/questions/linux-software-2/how-to-turn-off-computer-210066/)

ginnytwo 07-27-2004 12:14 AM

How to turn off computer
 
Am running Debian. When turned on, I am automatically taken to Gnome login.

I'd like to be able to choose to login to Gnome or to a command line. Once at the command line I'd like to know how best to turn the computer off.

I'd also like to go through a "how to use linux tutorial" and stop get to the point I no longer need to ask such stupid questions.

Thank you for your support,

Ginny

Joey.Dale 07-27-2004 12:22 AM

Quote:

I'd like to be able to choose to login to Gnome or to a command line.
edit /etc/inittab, change
Code:

id:5:initdefault:
to
Code:

id:3:initdefault:
to start gnome
Code:

startx
Quote:

Once at the command line I'd like to know how best to turn the computer off.
try
Code:

halt
-Joey

shanenin 07-27-2004 12:31 AM

I have always used the command
poweroff

Joey.Dale 07-27-2004 12:34 AM

shutdown -h now

should also work

ginnytwo 07-27-2004 12:39 AM

Joey.Dale and shanenin: Thanks for your amazingly quick replies.

Joey, love your post, the layout is amazing. Unfortunently I don't know how to edit any type of Linux "script". How do I edit /etc/inittab?

Thanks again,

Ginny

Cerbere 07-27-2004 12:41 AM

Re: How to turn off computer
 
Quote:

Originally posted by ginnytwo
I'd also like to go through a "how to use linux tutorial" and stop get to the point I no longer need to ask such stupid questions.
Go here.

Enjoy!
--- Cerbere

majeztik 07-27-2004 12:44 AM

use your editor that you installed when you setup the machine.

On redhat i used "vi" or "gedit" when i was lazy.

when i used gentoo i used "nano" so i would assume that debian would have something along those lines.

so essentially it looks like this:

"vi /etc/inittab"

or

"nano /etc/inittab"

shanenin 07-27-2004 12:45 AM

debian is a pretty tough install for a beginner, would I be right to assume you had help with it?

Cerbere 07-27-2004 12:46 AM

Quote:

Originally posted by ginnytwo
How do I edit /etc/inittab?
Go here ;-)

Enjoy!
--- Cerbere

ginnytwo 07-27-2004 01:06 AM

Cerbere, shanenin, majeztic and Joey.Dale,

Thanks all.

shanenin - yes I had help; MontgomeryALU had an install fest and it was a great experience.

Joey.Dale - nice screen shot and Blog. I bookmarked them both. How do I "affero" you?

Folks like y'all make stayin' up late a pleasure. Have downloaded Cerbere's suggested manuals and will try the suggested fixes tomorrow. Gnome has gedit so I can use that as a starting place.

Like Tiny Tim said "God bless us every one."

Thanks,

Ginny

Joey.Dale 07-27-2004 01:13 AM

Quote:

How do I "affero" you?
under this post, there is a few buttons "profile" "pm" "Email" etc one of them says affero.

also please feel free to e-mail me with any questions. My e-mail is joey.dale@elkenserver.net.

And welcome to the "real' os.
Speaking of saying up late, its 2:13AM hear and I'm having issues keeping my eyes open.

-Joey


All times are GMT -5. The time now is 12:32 AM.