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? |
The command for shutdown in linux is
"halt" w/o quotes. peace V |
shutdown -r now is the command line, I don't really know the answer to the other stuff sorry
|
Shutting down
You need to su to get root access to shutdown (at least on my pc running gentoo)....do the following
Code:
su then to reboot Code:
shutdown -r now Code:
shutdown -h now |
Thanks and to get it to work normally...?
|
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 ). |
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.
|
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. |
Still doesn't work.
|
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. |
All times are GMT -5. The time now is 04:19 PM. |