You are not logged in.

#1 2009-07-16 06:49:44

ariel
Member
Registered: 2009-03-30
Posts: 25

[solved] can't turn computer off

hello!

yesterday I wanted to turn compiz on so i typed:

# compiz --replace

then the display gone a bit bad: I didn't have windows titles and all windows was in a bunch so I couldnt get to them.
then I typed:

# metacity --replace

and then the desktop retuned to look normally. (then I did some things with metacity and I got some error messages, but I dont remember what they was).
now when I type "metacity --replace" I got another error message:

# metacity --replace
No protocol specified
Window manager error: Unable to open X display :0.0

what it means and what should i do with it? (the desktop environment looks normally)

however, and that is the real problem, I can't suspend/hibernate/restart/shut down the computer. when I try to, it shows me weird black screen so I have to force the computer to turn off by pressing on the power button, and when I go to the computer after some time I see that it completely turned on... (all that functions worked until yesterday)
what can I do?
I use arch with gnome on toshiba laptop.

10x anyway.
ariel.

Last edited by ariel (2009-08-24 14:11:11)

Offline

#2 2009-07-16 07:15:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] can't turn computer off

A hard reset, then power it up again, maybe some upgrade made things go haywire.

If that doesn't fix it Windows style, then check whether ACPI still works, and filter your logs for relevant info.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-07-16 20:24:23

ariel
Member
Registered: 2009-03-30
Posts: 25

Re: [solved] can't turn computer off

what do you mean by "hard reset"?

Offline

#4 2009-07-16 20:34:43

Motorhead
Member
Registered: 2009-07-16
Posts: 3

Re: [solved] can't turn computer off

I think he means to disconnect the computer from the power supply.

Offline

#5 2009-07-16 23:24:01

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] can't turn computer off

I was actually referring to pushing the reset button, but googling 'hard reset' seems to give mostly results about mobile phones... That's one of the bad things of not being a native speaker, I guess tongue.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2009-07-19 12:54:42

ariel
Member
Registered: 2009-03-30
Posts: 25

Re: [solved] can't turn computer off

well it is a laptop... so there is no reset button.
still dont know how to solve it.
maybe something in the pm-utils options?

Offline

#7 2009-07-19 15:45:12

narada
Member
Registered: 2009-07-12
Posts: 34

Re: [solved] can't turn computer off

Shutdown without X: sudo init 0
Reboot without X: sudo init 6

-edit-
For a hard reset on a laptop that lacks a reset button you simply have to hold the power button down until it shuts off. (Usually about 10 seconds) It's not really a 'hard reset' but it has the same effect, provided you then push the power button to turn it on again. tongue

Last edited by narada (2009-07-19 15:48:32)

Offline

#8 2009-07-19 20:15:18

alterecco
Member
Registered: 2009-07-13
Posts: 152

Re: [solved] can't turn computer off

Worst case, unplug the power, and pull out the battery. Holding down the power button should be enough in practically all cases.

Last edited by alterecco (2009-07-19 20:16:02)

Offline

#9 2009-07-20 14:48:05

ariel
Member
Registered: 2009-03-30
Posts: 25

Re: [solved] can't turn computer off

I keep trying to solve it, but the problem still exist... I can't turn my computer off or suspend/hibernate sad

I tried to turn it off and then take the battery out. but I don't think it could be called solution.
it maybe somewhere in the pm-utils settings. but i still dont know what to do...

still trying... 10x very much for help big_smile
ariel

Offline

#10 2009-07-21 00:29:08

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [solved] can't turn computer off

ariel wrote:

I keep trying to solve it, but the problem still exist... I can't turn my computer off or suspend/hibernate sad

I tried to turn it off and then take the battery out. but I don't think it could be called solution.
it maybe somewhere in the pm-utils settings. but i still dont know what to do...

still trying... 10x very much for help big_smile
ariel

Warranty


neutral

Offline

#11 2009-07-21 07:22:04

ariel
Member
Registered: 2009-03-30
Posts: 25

Re: [solved] can't turn computer off

what?

Offline

#12 2009-07-21 22:26:48

narada
Member
Registered: 2009-07-12
Posts: 34

Re: [solved] can't turn computer off

ariel wrote:

what?

If there is a hardware problem with your laptop you should cash in on the warranty. Send it back to the manufacturer and make them replace it. (Provided you have a warranty, that is.)

Offline

#13 2009-07-30 13:07:02

ariel
Member
Registered: 2009-03-30
Posts: 25

Re: [solved] can't turn computer off

well it seems that's not a hardware problem (feww.. big_smile)
because when I turn the computer off as narada wrote:

Shutdown without X: sudo init 0

it does not turn on

then it something in the definitions.

I want to find the problem by doing boot log. so I tried to do what T-Dawg wrote in http://bbs.archlinux.org/viewtopic.php? … 88#p113288:

T-Dawg wrote:

if your talking about the messages that appear after the Arch Wombat message but before the daemons load try renaming /etc/rc.sysinit to /etc/rc.sysinit2 and create a new /etc/rc.sysinit file with the same permissions as the original. In this file put:

#!/bin/bash
/etc/rc.sysinit2 2>somefile

that will echo standard error into somefile. If that doesn't give you the errors replace the 2 with & and both standard out and standard error will be logged into that file.
Make sure that new file is executable.

but I cant because it tells me that the filesystem is read-only.
how can I do a boot log?

is it ok to create /etc/rc.sysinit that will be look like:

#!/bin/bash
mount /dev/sda5 / -o rw 
/etc/rc.sysinit2 2>somefile

or it might cause problems?

Offline

#14 2009-08-06 00:04:47

ariel
Member
Registered: 2009-03-30
Posts: 25

Re: [solved] can't turn computer off

still looking for solution... I think the problem started when I installed omnibook and then I overwrote /etc/modprobe.d/options and maybe deleted some settings. I think so because when the computer boots there are a lot of error messages about that file. so I look for a way to restore the original file to solve my problem.

how can I do that? is there any package that can reset modprobe settings?
I think about installing another arch and to take from it the file I need, or to install it as virtualbox guest.

what do you suggest?

Offline

#15 2009-08-19 08:28:46

ariel
Member
Registered: 2009-03-30
Posts: 25

Re: [solved] can't turn computer off

[Solved]

quote from /var/log/pacman.log

[2009-06-23 10:42] warning: /etc/modprobe.d/framebuffer_blacklist saved as /etc/modprobe.d/framebuffer_blacklist.pacsave

the problem caused by the duplication of framebuffer_blacklist.conf and framebuffer_blacklist.pacnew. I moved the framebuffer_blacklist.pacnew to other directory.

now the shutdown and suspend work fine!!!

Offline

Board footer

Powered by FluxBB