Cannot turn of Mandriva 2010.2 Topic is solved

Need help with your Linux distro? All questions are good - not all answers are -but we try

Moderator: jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Cannot turn of Mandriva 2010.2

Postby viking60 » 07 Oct 2011, 14:20

Lately I seem to be unable to shut down or reboot Mandriva. Even a

Code: Select all

sudo reboot
just hangs there without the desired result?
In tty1 it just says The system is going down for reboot now - a lie in this case - it never moves on.
Gurus?
Edit:
Sorry I forgot that I have activated Expressgate in Bios that is probably it sorry :oops:
I owe you an explaination: Expressgate is that small 10sec boot stuff that lets you surf read mail and use skype and that is about it. It came with the box and disturbes the Linux installation.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Cannot turn of Mandriva 2010.2

Postby rolf » 07 Oct 2011, 15:03

I seem to have found that, as root user,

Code: Select all

init 6

to reboot or

Code: Select all

init 0

to power off are the most direct and likely to succeed commands.

Code: Select all

reboot

might be equivalent or a link, even; I just don't have the habit to use that.

As a last resort, if the kernel can hear the keyboard and respond, holding down the Alt and PrtScn/SysRq keys while pressing, in slow sequence:
r(aising) s(kinny) e(lephants) i(s) u(tterly) b(oring) for reboot or

r(aising) s(kinny) e(lephants) i(s) u(tterly) o(off) for power off is what I try before using the reset/power buttons.

I've got the Express Gate on my Asus P5Q Deluxe, too, but did not see that is was useful for how I am accustomed to operate. :berserk2

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Cannot turn of Mandriva 2010.2 [SOLVED]

Postby viking60 » 07 Oct 2011, 15:43

Yes Express gate is useless for me too.
Thanks for those brilliant tips.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
R_Head
Berserk
Posts: 2827
Joined: 17 Mar 2010, 15:40

Re: Cannot turn of Mandriva 2010.2 [SOLVED]

Postby R_Head » 07 Oct 2011, 20:07

My computer with Dual Xeons does that. It will shutdown, so if needs a reboot, I shutdown and manually push the ON button.

The chances of doing that is if I have to Dual Boot or very slim if some chokes up.

If I was in MS all the time and have to do that which is quiet common and frequently I would be very pissed. :lol:

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Cannot turn of Mandriva 2010.2

Postby dedanna1029 » 07 Oct 2011, 22:49

rolf wrote:As a last resort, if the kernel can hear the keyboard and respond, holding down the Alt and PrtScn/SysRq keys while pressing, in slow sequence:
r(aising) s(kinny) e(lephants) i(s) u(tterly) o(off) for power off is what I try before using the reset/power buttons.

I never seem to be able to remember this when it's needed. By the time I'm frozen up, I can't get to it to use it. I have it in gnotes, but can't ever get to it or remember it when it's needed. :(
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Cannot turn of Mandriva 2010.2 [SOLVED]

Postby viking60 » 14 Oct 2011, 12:40

I ask this here because it is related:
Do you have a guru CLI command for logout? Is killing myself the only solution?

Code: Select all

sudo pkill -KILL -u viking
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Cannot turn of Mandriva 2010.2 [SOLVED]  Topic is solved

Postby rolf » 14 Oct 2011, 15:06

I don't. :( There is some keystroke I use that might accomplish quickly getting to the login screen.

I use KDE, you seem to prefer GNOME, so there might be some differences. If you can get the ear of Medo/Ahmad Samir, he seems to have a good idea of CL ways of managing the desktop, albeit I've only noticed his KDE magic.

Ctrl-Alt-BckSpc-BckSpc 'kills' the X-server, which might bring some extra not-so-good configuration but I use it quite a lot, usually when the desktop is frozen or really, really unresponsive because of some program or other going nuts.

Here, I have autologin and Ctrl-Alt-BckSpc-BckSpc restarts the desktop, bringing me to a brand-new KDE plasma, just like after re-boot, afaict.

On GF/nephew's computer, also KDE, Ctrl-Alt-BckSpc-BckSpc brings them to the login screen, as auto-login is not enabled. So, maybe this keystroke combination would do what you want, maybe not. :confused I think Ctrl-Alt-BckSpc-BckSpc is enabled by default, configurable in the X-server setup, iianm.

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Cannot turn of Mandriva 2010.2 [SOLVED]

Postby viking60 » 14 Oct 2011, 17:07

Thanks!
Yes it is in Mandriva I believe. Arch is another story, but I think I can find a way to set it up! I'll report!
Often when stuff freezes up I can still acess the CLI via another computer and there the keystroke combination does work - but on the wrong computer :-D
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Cannot turn of Mandriva 2010.2 [SOLVED]

Postby viking60 » 14 Oct 2011, 17:20

I found it! I had to change
/etc/X11/xorg.conf.d/10-evdev.conf
And add this entire section:

Code: Select all

Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard   "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection


It works :dance1 ( with only one backspace)
It is all in that fantastic Arch Wiki +1

From the CLI it looks like using pkill is the best solution so far.
PS
(This is kind of relevant because the Arch box could log into the Mandriva box :-D )
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Cannot turn of Mandriva 2010.2 [SOLVED]

Postby dedanna1029 » 17 Oct 2011, 22:57

Linux Desktop How to shutdown, restart or logoff gnome via command / Launcher (Old, but still true)

How can you logout via the terminal?

Code: Select all

dbus-send --session --type=method_call --print-reply --dest=org.gnome.SessionManager /org/gnome/SessionManager org.gnome.SessionManager.Logout uint32:1


Or:

Code: Select all

gnome-session-save --force-logout
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Help”