wary 5.1.1 Cant shutdown?

Booting, installing, newbie
Message
Author
Bruce B

#16 Post by Bruce B »

Mattrix,

A person who only knows Windows will have some kind of cultural adjustment to
make.

A person who knew Unix will feel right at home.

Our desktops are highly configurable and replaceable. They can be what we want
them to be.

I downloaded Puppy 215CE and booted it. A friend saw the desktop and marveled at
how beautiful and striking it was.

Try it for the price of a CD

Keyboard shortcuts:

To kill X server: leftAlt+leftCtrl+Backspace

The 'three finger salute' for rebooting: leftAlt+leftCtrl+Delete
And to hit the kill switch to shut off the power supply.
If you mean what I think you mean, you will damage things. Not hardware, rather
software.

You need to be able to shut it off with proper commands, or at least get it to
the BIOS reboot level before using the Off Button.

Until then, you have a problem which needs to remain open and debugged.

Bruce

~

mattrix
Posts: 10
Joined: Mon 21 Mar 2011, 10:47

#17 Post by mattrix »

If you mean what I think you mean, you will damage things.
No I dont! Poweroff shuts down puppy but doesnt shut down the ATX power supply.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#18 Post by CatDude »

Hello mattrix
mattrix wrote:Poweroff shuts down puppy but doesnt shut down the ATX power supply.
Have you tried adding "acpi=force" (without the quotes) to your GRUB entry for Wary ?

I am not familiar with Grub2, so i cannot give you specific instructions myself,
but hopefully the information in this link may help you

If you are unsure about anything, i suggest that you post in that thread and ask for help.

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

phdzaps
Posts: 7
Joined: Sun 29 Nov 2009, 13:56

Re: wary 5.1.1 Cant shutdown?

#19 Post by phdzaps »

menu/shutdown/power-off computer
menu/shutdown/Exit to prompt
menu/shutdown/Reboot computer

What do I do now?


My solution:
I had a similar problem with wary 5.1.2 today.
What worked for me to fix it was to make the file
/etc/windowmanager contain jwm

After that all those work just fine. Something I did must have changed it. The shutdown programs in
/usr/bin sort-of look for the window manager so that they know what process to kill.
Hope this helps. It helped me.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#20 Post by Karl Godt »

The scripts to leave X are "wmexit" , "wmreboot" , "wmpoweroff" and "restartwm" . "which" command shows the location of executables .

Take a look into /tmp/xerrs.log for error messages .

User avatar
e_mattis
Posts: 114
Joined: Fri 21 Dec 2012, 02:24
Location: Williamston, SC
Contact:

rc.shutdown written to

#21 Post by e_mattis »

Hopefully this is the best place to pose this question (if not, I am sorry :( ) -

Using Lucid 5.2.8 on AMD Duron with 750 MB ram system

I've added a line to the rc.shutdown script at line 47 (just before "clear" and "exec 1> /dev/null 2>&1" lines) to shutdown xampp. it seems to work well, the problem is now when I reboot or poweroff the machine the system performs a filesystem check on boot. :?

To clarify, system shuts down (shutting down xampp first) with no noticable changes/differences. Upon boot, the system performs a filesystem check (every time).

It's not much more than a hinderance :roll: at this point, but it does ssllloooowwwww the boot process as it also performs a filesystem check on the personal storage file.

Question is, does the line need to be placed somewhere else in the script? Should I place the line in each of the wm scripts? Is there a better way of doing this I have not found yet?

All help is appreciated :D

Thanks!

User avatar
nubc
Posts: 2062
Joined: Tue 23 Jan 2007, 18:41
Location: USA

#22 Post by nubc »

You have an older computer that may have power management issues. Navigate to /boot/grub/menu.lst in ROX. Open the text file menu.lst, and add 'acpi=force' to the kernel boot parameters. Be sure to Save the edit before exiting.

Code: Select all

kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal acpi=force 
http://www.murga-linux.com/puppy/viewto ... 314#671314
EDIT: Sorry, CatDude, didn't see your post above, suggesting same.
Last edited by nubc on Mon 21 Jan 2013, 06:07, edited 1 time in total.

User avatar
e_mattis
Posts: 114
Joined: Fri 21 Dec 2012, 02:24
Location: Williamston, SC
Contact:

#23 Post by e_mattis »

Thanks nubc,

I tried the code, but it didn't fix the problem; still does filesystem check at boot. Went back into rc.shutdown and moved the 'exec' line to after the "clear" and other code lines, got same result - filesystem check at boot. Commented out the 'exec' stopping xampp manually and rebooted - no filesystem check.

I am going to try "walking" the exec file down in rc.shutdown to see if I can find a place where it doesn't effect boot. after that, i guess i will try it in each of the wm scripts and see what happens.

Meantime, any more ideas/solutions are welcomed :D

[update] So, placed the 'exec' line down to about line 93, just before the ". /etc/rc.d/functions4puppy" line and it seems to have helped. No more filesystem check. unless I find something different, i would say this one is solved. thanks for the assist!

E

Post Reply