Posts: 38
lmart
Joined: 28 Jul 2011
#16
plvera, thanks, will try your suggestion
rokytnji, as always thanks, if plvera's suggestion 'noworkee' will give yours a run
buttcoffee, thanks, will try this 1st
Posts: 609
dark-D
Joined: 02 Jun 2008
#17
you know when you dist-upgrade you have to say N to the maintainers versions of the files.
in a terminal try sudo halt to see if the computer turns off, or sudo reboot to see if it restarts. if that is the case maybe you screwed up the polikykit.conf file, if my memory serves me right exitantix.sh uses policykit commands. on further help maybe someone can give you the original policykit.conf file because i don't use it and i don't have it.
Posts: 38
lmart
Joined: 28 Jul 2011
#18
plvera, thanks, your suggestion 'noworkee'
dark-D, learned to say N the hard way ... will chase down the other things you recommend, ps feel like I'm in your location __{{emoticon}}__
buttcoffee, trying your next, meant to try it 1st
Posts: 38
lmart
Joined: 28 Jul 2011
#19
buttcoffee, my groups reads exactly as your ...
rokytnji, will give your suggestions a run next
Posts: 38
lmart
Joined: 28 Jul 2011
#20
#1 fresh install of antiX from cd
#2 exited; no problems
#3 apt-get update; apt-get upgrade; did not change sudoers!
#4 exited; same problem, can't exit
#5 kept a complete log of the upgrade should anyone want to review it

seems like the problem is something related to the upgrade
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#21
Dumb question from me since I don't run the i486 iso. Any reason you are using i486 vs i686 iso? Also. Is this a Full, Base. or Core iso install as I could not tell from your inxi report. Show repositories used in

Code: Select all

inxi -r


report also. Use code tags in advanced reply tool bar so I don't have to clean up your posts later also, Pleeeeeze. __{{emoticon}}__

Also. Did you md5sum check the i486 iso before burning cd?

Starting to sound like a bad download to me.
Posts: 38
lmart
Joined: 28 Jul 2011
#22
rokytnji,
thanks for your reply, no dumb questions ever!
downloaded antiX-M11 (full) in 2011-07; didn't know it was i486 iso, just wanted to see if it would work on my laptop
doubt if the iso is bad; md5sum checked & it boots successfully on my desktop, laptop & office box
don't know what code tabs are but will find out; not trying to make your life difficult

wiping the system and starting new is a minor PITA, you have my laptop environment earlier in this post, can start all over again with an i686 iso, just give me the url to fetch the iso/md5 and I'll give it another run

fyi; typically in 1 of 2 laptop modes, 75%/25%, Internet/NoInternet; antiX has almost everything I need, after stripping out the games and, installing Iron w/Adobe Flash, so I want this to work and will do what I can to make it work; would almost prefer starting from core and adding only what I need but just don't know how to do that, cut my eye teeth on Unix and CP/M, very rusty but slowing getting up to speed on cli and Linux; want to completely migrate off WinDOZE
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#23
AntiX 11 I686 full iso download


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://distro.ibiblio.org/mepis/released/antix/antiX-M11-686.iso"
linktext was:"http://distro.ibiblio.org/mepis/release ... 11-686.iso"
====================================


md5sum


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://distro.ibiblio.org/mepis/released/antix/antiX-M11-686.iso.md5sum"
linktext was:"http://distro.ibiblio.org/mepis/release ... iso.md5sum"
====================================


AntiX 11 Base i686 iso download


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://distro.ibiblio.org/mepis/released/antix/antiX-M11-base-686.iso"
linktext was:"http://distro.ibiblio.org/mepis/release ... se-686.iso"
====================================


md5sum


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://distro.ibiblio.org/mepis/released/antix/antiX-M11-base-686.iso.md5sum"
linktext was:"http://distro.ibiblio.org/mepis/release ... iso.md5sum"
====================================


Burn at slowest speed possible also on good quality cdr disk. Some of my older hardware won't boot cdrw right. Lately I have been using Unetbootin in conjunction with a PLOP floppy disk to boot usb pendrive on older hardware also, (just to see if I could, being a tinkerer).

Saw a post/thread at murga about a scanner. __{{emoticon}}__

If using the quick reply box. Use the the button (Full Editor) on bottom to get to advanced reply box. Code tag box is on tool bar .

Edit: I will be gone for a bit as it is the weekend and the wind is calling me. __{{emoticon}}__
Posts: 38
lmart
Joined: 28 Jul 2011
#24
rokytnji,

thanks, will download both and try
scanner; gave an old desktop/printer to a less-advantage youngster at the elementary school, it's the only OS that runs on the box, gets him to the net for (assignments, research) with simple tools for school work ...

"wind is calling me"; biker? sailor? pilot?
a good weekend to you, thanks for the continued help
Posts: 609
dark-D
Joined: 02 Jun 2008
#25
@anti and regulars: i think there is something wrong with the commands used in the scripts to shutdown and reboot they don't work for me either and neither the commands for consolekit
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/Allow_Users_to_Shutdown"
linktext was:"https://wiki.archlinux.org/index.php/Al ... o_Shutdown"
====================================


@lmart this is my solution for you, until someone figures out what is wrong with the scripts after an dist-uprade.

open run and type

Code: Select all

gksu leafpad /etc/sudoers
then replace the text in the file with this

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.
#

Defaults   env_reset
Defaults   secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# 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=(root) NOPASSWD: /usr/sbin/pm-hibernate

%users ALL=(root) NOPASSWD: /usr/sbin/pm-suspend

%users ALL=(root) NOPASSWD: /usr/sbin/pppoeconf  

##%users ALL=(root) NOPASSWD: /usr/bin/rox
save and exit the file. then open run again and type

Code: Select all

gksu leafpad /usr/local/bin/exitantix.sh
and replace the text in the file with

Code: Select all

# File Name: exitantiX.sh
# Purpose: exit script from fluxbox and icewm
# Authors: OU812 and minor modifications by anticapitalista
# Latest Change: 20 August 2008
# Latest Change: 02 January 2009
######################################################################################################

#!/bin/sh

export Logout='

<window title="Log Out" window-position="1">

<vbox>
  <frame>
  <hbox>
   <vbox>
     <hbox>
      <button>
      <input file>"/usr/share/icons/gTangish-2.0a1/32x32/actions/gnome-lockscreen.png"</input>
      <action>xlock</action>
                <action>EXIT:close</action>
      </button>
      <text use-markup="true" width-chars="15"><label>"Lock Screen"</label></text>
      </hbox>
     <hbox>
      <button>
      <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-hibernate.png"</input>
      <action>sudo pm-hibernate</action>
                <action>EXIT:close</action>
      </button>
      <text use-markup="true" width-chars="15"><label>"Hibernate"</label></text>
     </hbox>
     <hbox>
      <button>
      <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-reboot.png"</input>
      <action>sudo reboot</action>
      </button>
      <text use-markup="true" width-chars="15"><label>"Reboot"</label></text>
     </hbox>
   </vbox>

   <vbox>
     <hbox>
      <button>
      <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-logout.png"</input>
      <action>logouthelper.sh</action>
      </button>
      <text use-markup="true" width-chars="15"><label>"Log Out"</label></text>
      </hbox>
     <hbox>
      <button>
      <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-suspend.png"</input>
      <action>sudo pm-suspend</action>
                <action>EXIT:close</action>
      </button>
      <text use-markup="true" width-chars="15"><label>"Suspend"</label></text>
     </hbox>
     <hbox>
      <button>
      <input file>"/usr/share/icons/gTangish-2.0a1/32x32/apps/gnome-session-halt.png"</input>
      <action>sudo halt</action>
      </button>
      <text use-markup="true" width-chars="15"><label>"Shutdown"</label></text>
     </hbox>
   </vbox>
  </hbox>
  </frame>
      
  <hbox>
   <button>
     <label>"Close"</label>
     <input file>"/usr/share/icons/gTangish-2.0a1/16x16/actions/dialog-cancel.png"</input>
     <action>EXIT:close</action>
   </button>
  </hbox>
</vbox>
 
</window>
'

gtkdialog -c --program=Logout
unset Logout
save and close. then try to shutdown or restart using the menu. hope it helps you and good luck.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#26
lmart/dark-D

can you post the contents of /usr/local/bin/reboot.sh
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#27
lmart, try this.

Edit (as root user) /usr/local/bin/reboot.sh to look like this:

Code: Select all

# Filename:      reboot.sh
# Purpose:       reboot from exit menu
# Authors:       anticapitalista for antiX
# Latest change: 05 December 2010
# Thanks to secipolla
################################################################################

#!/bin/sh

sudo reboot 
Posts: 38
lmart
Joined: 28 Jul 2011
#28
anticapitalista,

thanks for your input, contents of my reboot.sh follows, exactly same as yours

Code: Select all

# Purpose:       reboot from exit menu
# Authors:       anticapitalista for antiX
# Latest change: 05 December 2010
# Thanks to secipolla
################################################################################

#!/bin/sh

sudo reboot 
Posts: 38
lmart
Joined: 28 Jul 2011
#29
dark-D | thanks, will try your stuff next

rokytnji | downloaded base, still downloading i686, whew it is slow-like 3+ hours, will let you know outcome
Posts: 38
lmart
Joined: 28 Jul 2011
#30
wow ... multiple issues

downloaded, checked md5, burned iso on slowest speed both AntiX 11 I686 full iso and AntiX 11 Base i686 iso
both booted on my laptop, neither booted on the desktop
AntiX 11 Base i686, couldn't select fluxbox w/o icons, had to select the default when booting
AntiX 11 I686 full iso, accepted fluxbox w/o icons, wouldn't eject the LiveCD on shutdown

rokytnji; if AntiX 11 Base i686 will work on the kiddo's laptop, will change over, but may need help with 'simple-scan' and a couple other apps

will try dark-D's suggestions next, then put it to bed 'cause ...
Last edited by lmart on 22 Oct 2011, 02:28, edited 1 time in total.