topic title: antiX won't shutdown
15 posts
• Page 1 of 1
-
Posts: 47
- Joined: 15 Aug 2009
#1
I'm running antiX 8.5 and when I go to shutdown it ends at a login prompt instead of shutting down. How do correct this ?
-
Posts: 516
- Site Admin
- Joined: 01 Oct 2007
#2
Can you run in terminal
inxi -F
and paste results so we can see your hardware,etc.
cheers,
ohh
inxi -F
and paste results so we can see your hardware,etc.
cheers,
ohh
-
vinomanvinomanPosts: 47
- Joined: 15 Aug 2009
#3
davek@antiX1:~$ inxi -F
System: Host antiX1 Kernel 2.6.32-1-mepis-smp i686 (32 bit) Distro antiX-M8.5 Marek Edelman 09 April 2010
CPU: Dual core AMD Athlon 64 X2 4600+ (SMP) cache 1024 KB flags (lm nx sse sse2 sse3 svm) bmips 9646.82
Clock Speeds: (1) 2410.759 MHz (2) 2410.759 MHz
Graphics: Card nVidia C61 [GeForce 6150SE nForce 430] X.Org 1.7.7 Res: 1280x1024@60.0hz
GLX Renderer Software Rasterizer GLX Version 2.1 Mesa 7.7.1 Direct Rendering Yes
Audio: Card nVidia MCP61 High Definition Audio driver HDA Intel BusID: 00:05.0
Sound: Advanced Linux Sound Architecture Version 1.0.21
Network: Card nVidia MCP61 Ethernet driver forcedeth at port e480 BusID: 00:07.0
Disks: HDD Total Size: 250.1GB (1.7% used) 1: /dev/sda WDC_WD2500AAJS 250.1GB
Partition: ID:/ size: 228G used: 3.9G (2%) fs: ext3 ID:swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 34.0C mobo: 26.0C
Fan Speeds (in rpm): cpu: 919 sys-1: 2402
Info: Processes 91 Uptime 5 min Memory 107.1/1897.7MB Runlevel 5 Client Shell inxi 1.4.8
davek@antiX1:~$
System: Host antiX1 Kernel 2.6.32-1-mepis-smp i686 (32 bit) Distro antiX-M8.5 Marek Edelman 09 April 2010
CPU: Dual core AMD Athlon 64 X2 4600+ (SMP) cache 1024 KB flags (lm nx sse sse2 sse3 svm) bmips 9646.82
Clock Speeds: (1) 2410.759 MHz (2) 2410.759 MHz
Graphics: Card nVidia C61 [GeForce 6150SE nForce 430] X.Org 1.7.7 Res: 1280x1024@60.0hz
GLX Renderer Software Rasterizer GLX Version 2.1 Mesa 7.7.1 Direct Rendering Yes
Audio: Card nVidia MCP61 High Definition Audio driver HDA Intel BusID: 00:05.0
Sound: Advanced Linux Sound Architecture Version 1.0.21
Network: Card nVidia MCP61 Ethernet driver forcedeth at port e480 BusID: 00:07.0
Disks: HDD Total Size: 250.1GB (1.7% used) 1: /dev/sda WDC_WD2500AAJS 250.1GB
Partition: ID:/ size: 228G used: 3.9G (2%) fs: ext3 ID:swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap
Sensors: System Temperatures: cpu: 34.0C mobo: 26.0C
Fan Speeds (in rpm): cpu: 919 sys-1: 2402
Info: Processes 91 Uptime 5 min Memory 107.1/1897.7MB Runlevel 5 Client Shell inxi 1.4.8
davek@antiX1:~$
-
Posts: 4,164
- Joined: 20 Feb 2009
#4
Just curious vinoman. Does it shut down as root user in terminal with the command
Code: Select all
shutdown -h now
-
Posts: 4,164
- Joined: 20 Feb 2009
#5
Searched for a post by secipolla while you checked.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post16537.html?hilit=%20shutdown#p16537"
linktext was:"antix.freeforu ms.org/post16537.h ... own#p16537"
====================================
From threadsecipolla
Joined: Sun Jun 15, 2008 7:56 am
Posts: 1050
Location: São Paulo / Brazil
Edit post Reply with quote
New post Re: new user can't reboot or shut down
You have to set in ~/.icewm/preferences
ShutdownCommand="sudo halt"
RebootCommand="sudo reboot"
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post16537.html?hilit=%20shutdown#p16537"
linktext was:"antix.freeforu ms.org/post16537.h ... own#p16537"
====================================
-
Posts: 47
- Joined: 15 Aug 2009
#6
ShutdownCommand="sudo halt"
RebootCommand="sudo reboot"
and # shutdown -h now
does not shut down. I get the welcome and antiX login:
and I can't type anything.
last spring I installed antiX 8.5 and didn't have this problem, maybe its the updates. who knows??
the preferences are as you have them above:rokytnji wrote:Searched for a post by secipolla while you checked.
From threadsecipolla
Joined: Sun Jun 15, 2008 7:56 am
Posts: 1050
Location: São Paulo / Brazil
Edit post Reply with quote
New post Re: new user can't reboot or shut down
You have to set in ~/.icewm/preferences
ShutdownCommand="sudo halt"
RebootCommand="sudo reboot"
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post16537.html?hilit=%20shutdown#p16537"
linktext was:"antix.freeforu ms.org/post16537.h ... own#p16537"
====================================
ShutdownCommand="sudo halt"
RebootCommand="sudo reboot"
and # shutdown -h now
does not shut down. I get the welcome and antiX login:
and I can't type anything.
last spring I installed antiX 8.5 and didn't have this problem, maybe its the updates. who knows??
-
Posts: 4,164
- Joined: 20 Feb 2009
#7
what does as root in terminal
give you also. It should reboot I think. Also. Do you have"acpi" and"acpi-tools" installed in synaptic. Maybe a upgrade removed them maybe. If"apm" is installed instead. Then acpi and acpi-tools should not be needed.
Edit: Just to test. I just rebooted with the command on my Asus 900 running 8.5 and no problems. At one time a while back. I had problems with shutting down and rebooting after a upgrade including logging out via the gui shutdown window (stop button etc...) I was able to shutdown though using the Menu>Logout>Shutdown option. Later either another upgrade or something fixed it automagically.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/viewtopic.php?f=40&t=2672"
linktext was:"antix.freeforu ms.org/viewtopic.php?f=40&t=2672"
====================================
and I thought I was the only one experiencing this also. __{{emoticon}}__
That is weird? That command works on all my distros. Does shutdown work in fluxbox?and # shutdown -h now
does not shut down. I get the welcome and antiX login:
and I can't type anything.
what does as root in terminal
Code: Select all
shutdown -r now
Edit: Just to test. I just rebooted with the
Code: Select all
shutdown -r now
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/viewtopic.php?f=40&t=2672"
linktext was:"antix.freeforu ms.org/viewtopic.php?f=40&t=2672"
====================================
and I thought I was the only one experiencing this also. __{{emoticon}}__
-
Posts: 516
- Site Admin
- Joined: 01 Oct 2007
#8
You might try to install the liquorix kernel via smxi and see how it handles the shutdown issue,
cheers,
ohh
cheers,
ohh
-
Posts: 3
- Joined: 15 Dec 2010
#9
I also encountered this problem. I installed antiX 8.5 onto an 8GB SD card on my EEE PC 900. After a full post-installation system update (using synaptics), I could not shutdown/logout from the Menu. Now I can only shutdown the EEE PC by issuing"sudo shutdown -h now" in a terminal.
-
Posts: 1,228
- Joined: 15 Jun 2008
#10
Try these commands in ~/.icewm/preferences
Restart icewm for them to take effect.
Code: Select all
# Command to shutdown the system
ShutdownCommand="dbus-send --system --print-reply --dest=\"org.freedesktop.ConsoleKit\" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop"
# Command to reboot the system
RebootCommand="dbus-send --system --print-reply --dest=\"org.freedesktop.ConsoleKit\" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart"
-
Posts: 609
- Joined: 02 Jun 2008
#11
from the top of my mind maybe you have the halevt bug.
halevt causes a very slow reboot/halt. Fix: Comment out halevt & from ~/.fluxbox/startup and ~/.icewm/startup files.
when i had halevt enabled the system will drop in to tty1 and not shutdown for a minute or two. HTH.
halevt causes a very slow reboot/halt. Fix: Comment out halevt & from ~/.fluxbox/startup and ~/.icewm/startup files.
when i had halevt enabled the system will drop in to tty1 and not shutdown for a minute or two. HTH.
-
Posts: 903
- Joined: 11 Oct 2008
#12
Ice,
This is a great suggestion since I've noticed that my 8.5 systems take a LONG time to shutdown. Maybe a minute or more (at first I also thought it was not shutting down and I would just kill it out of impatience). I'll try to comment out the halevt stuff and see if it improves.
thanks.
Pedro
This is a great suggestion since I've noticed that my 8.5 systems take a LONG time to shutdown. Maybe a minute or more (at first I also thought it was not shutting down and I would just kill it out of impatience). I'll try to comment out the halevt stuff and see if it improves.
thanks.
Pedro
-
Posts: 3
- Joined: 15 Dec 2010
#13
Secipolla's suggestion works for me. Many thanks!
But the Quit button on the Icewm menubar still doesn't do the work. Seem that something is wrong with the exitantix.sh file.
But the Quit button on the Icewm menubar still doesn't do the work. Seem that something is wrong with the exitantix.sh file.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#14
Did you upgrade the /etc/sudoers file?
Post its content here.
Post its content here.
-
Posts: 3
- Joined: 15 Dec 2010
#15
the /etc/sudoers file is as follows:
Code: Select all
# sudoers file.
#
# This file MUST be edited with the"visudo" command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
%users ALL=(root) NOPASSWD: /sbin/halt
%users ALL=(root) NOPASSWD: /sbin/reboot
%users ALL= /usr/sbin/pppoeconf
##%users ALL=(root) NOPASSWD: /usr/bin/rox
songzi ALL=(ALL) ALL