LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-11-2005, 06:27 PM   #1
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Rep: Reputation: 15
How do I turn off my computer?


I reinstalled Mandriva linux.

When I had it on origionally it would autolog me in. I enabled it to auto log in and I told it to put that data in the MBR. This time I got a command line. So I typed my accout name then it gave me the normal command line without the loging thing. So I typed in kde. So it started KDE. Then I check to make sure auto login was enabled and it was to KDE with my account. Then I thought I would shut it down. Well it isn't that easy. I went ot log off like I normally do then it normally gives me a choise of what to do. But it took me to the command line. I typed shutdown and nothing happened.

1. How do I shut down my computer (Not using the buttons on the comp)?
2. How do I get it back ot normal?
 
Old 09-11-2005, 06:32 PM   #2
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
The command for shutdown in linux is
"halt" w/o quotes.



peace V
 
Old 09-11-2005, 06:32 PM   #3
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 479

Rep: Reputation: 30
shutdown -r now is the command line, I don't really know the answer to the other stuff sorry
 
Old 09-11-2005, 06:36 PM   #4
europe
LQ Newbie
 
Registered: Nov 2004
Location: Devon, England
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
Shutting down

You need to su to get root access to shutdown (at least on my pc running gentoo)....do the following

Code:
su
enter your root password

then to reboot
Code:
shutdown -r now
or to shutdown totally (I haven't tried this but it should work)

Code:
shutdown -h now
Hope this helps

Last edited by europe; 09-11-2005 at 06:40 PM.
 
Old 09-11-2005, 06:59 PM   #5
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks and to get it to work normally...?
 
Old 09-11-2005, 07:15 PM   #6
europe
LQ Newbie
 
Registered: Nov 2004
Location: Devon, England
Distribution: Gentoo
Posts: 10

Rep: Reputation: 0
If I understand correctly you want to turn your pc on go straight into kde without having to type your username and password.

I'm not too sure about that. The way my pc usually starts up, it first asks for a login at a command-line, which I quite like anyway as it adds a bit of extra security. Once I've typed my username and password, I type startx to get me into kde (with the line XSESSION="kde-3.4" in my /etc/rc.conf ).
 
Old 09-11-2005, 07:37 PM   #7
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Original Poster
Rep: Reputation: 15
Well just so it doesn't go into the command line ot shut it on anf off. I do want it to auto log in normallly but I also want the to be able to do it in the GUI.
 
Old 09-12-2005, 04:22 PM   #8
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Here how you can get it back to normal.
When asked to log in log into root.
type in startx.
Open a shell and type in "XFdrake" as shown but without the quotes.
In the dialog box that open selete options
select yes
select quit
that shoud be it.

Last edited by courtrrb; 09-12-2005 at 04:23 PM.
 
Old 09-12-2005, 07:16 PM   #9
DDRfreak2
Member
 
Registered: Dec 2004
Posts: 61

Original Poster
Rep: Reputation: 15
Still doesn't work.
 
Old 09-12-2005, 07:41 PM   #10
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
to get back to booting into your "user gui" automatically, you first must:

open your "/etc/inittab" file in an editor and change the line that reads "id:3:initdefault" to read "id:5:initdefault".

you can then open "Boot" in the "Mandrakelinux Control Center" and under "Enable autologin and select the user to automatically log in" tab, set up your auto login.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Turn off the computer Alan Lakin Yoper 9 12-07-2004 03:00 AM
turn off computer spidna Slackware 2 08-12-2004 12:18 PM
How to turn off computer ginnytwo Linux - Software 10 07-27-2004 01:13 AM
computer won't turn off Marty McFly Linux - Newbie 2 10-28-2003 11:30 AM
Turn off the computer mtb Linux - Newbie 1 11-25-2002 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration