Cannot Shut Down Puppy

Using applications, configuring, problems
Post Reply
Message
Author
Jody Thornton
Posts: 54
Joined: Tue 01 Apr 2014, 20:06
Location: Richmond Hill, Ontario

Cannot Shut Down Puppy

#1 Post by Jody Thornton »

Since the last couple of days, I am unable to shutdown Puppy from the menu. The ONLY was I can shutdown the system is by exiting to a prompt (I can still end an X session), and then type in "poweroff" at the prompt.

What gives? I am running Precise v5.7.1 on a Dell D610 Notebook. It's a full install on an ext2 filesystem (I'm pretty sure it's ext2, but I'm at work right now...lol)
Cheers,
[b]Jody Thornton[/b]
(Richmond Hill, Ontario)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#2 Post by mikeb »

full installs had a quirk where if the system partition was mounted then it went into a loop.

running xwin from the command prompt instead of exec xwin will also cause it.

Otherwise someone else might have some insights

mike

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

#3 Post by Karl Godt »

The scripts are

/usr/bin/restartwm

/usr/bin/wmexit

/usr/bin/wmreboot

/usr/bin/wmpoweroff

.
They wait up to one minute , until pup_event_frontend_d has exited .

Perhaps this delay is confusing you .


So check the scripts and run them from terminal , instead from the menu .

If run from the menu , errors would log into /tmp/xerrs.log .
/tmp/xerrs.log will be written new , if you run xwin again from the prompt .
To view /tmp/xerrs.log at the prompt for hints :

Code: Select all

-sh # less /tmp/xerrs.log
Other than pup_event_frontend_d : Could be sudo'ers changes .

And for ext2 :

Code: Select all

tune2fs -j /dev/sda1
would turn it into ext3 with journal .

BTW : Does the scheduled filesystem checks in /sbin/init work for you in the full install ?

Jody Thornton
Posts: 54
Joined: Tue 01 Apr 2014, 20:06
Location: Richmond Hill, Ontario

#4 Post by Jody Thornton »

To check the filesystem I was inserting my Puppy install CD-ROM and running fsck from there on /dev/sda1. So I never knowingly utilized automatic volume checks.

I will check the scripts when I arrive home however. Thanks for your input.
:)
Cheers,
[b]Jody Thornton[/b]
(Richmond Hill, Ontario)

Jody Thornton
Posts: 54
Joined: Tue 01 Apr 2014, 20:06
Location: Richmond Hill, Ontario

#5 Post by Jody Thornton »

It turns out wmreboot and wmpoweroff are missing. Great! That's why the first two commands work.
Cheers,
[b]Jody Thornton[/b]
(Richmond Hill, Ontario)

Jody Thornton
Posts: 54
Joined: Tue 01 Apr 2014, 20:06
Location: Richmond Hill, Ontario

#6 Post by Jody Thornton »

Are these scripts available anywhere online, or can I copy and paste code into a text editor window and save a script?

I found some for Slacko, but they don't work on my Precise system.
Cheers,
[b]Jody Thornton[/b]
(Richmond Hill, Ontario)

Jody Thornton
Posts: 54
Joined: Tue 01 Apr 2014, 20:06
Location: Richmond Hill, Ontario

#7 Post by Jody Thornton »

Nevermind - all fixed now
Cheers,
[b]Jody Thornton[/b]
(Richmond Hill, Ontario)

Post Reply