LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper
User Name
Password
Yoper This forum is for the discussion of Yoper Linux.

Notices


Reply
  Search this Thread
Old 11-29-2004, 07:14 AM   #1
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Ubuntu, Android phone
Posts: 119

Rep: Reputation: 15
Turn off the computer


I installed Yoper just 2 days ago and I've noticed that if I select "Turn of the computer"(or something like that) when logging out of KDE it actually reboots rather than switch off lsmod tells me that the apm module is loaded, so I am not sure why this happens. I normally use Slackware and use an alias via sudo to perform this task without any problems. Is this normal Yoper behaviour? What do I need to edit to make it do what it says on the tin?
 
Old 11-29-2004, 11:36 AM   #2
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
i odn't anything about Yoper.. but if that doesn't work... than just do a sudo halt...

or see if you can edit the menu for KDE and view/change the command that it issues??
 
Old 11-29-2004, 01:41 PM   #3
Cliekid
Member
 
Registered: May 2004
Location: New York
Distribution: Yoper v2 / Novell Linux Desktop 9
Posts: 71

Rep: Reputation: 15
Well..

It sounds like a KDE issue.

Try going into runlevel 3, and see if swapping to runlevel 6 (Shutdown), works. If it does, then it is definitely KDE. From there, you have 2 options. Attempt a re-install (Not always...fun =P), or you can attempt to find the error in the KDE source (Horrendously hard, I'd say =P), and recompile KDE.

Also, to enter runlevel 3 you will need to use the graphical Runlevel Editor tool if you don't want to use /sbin/init. Its fairly straightforward as well, so no worries. :-)

Cliekid
 
Old 11-29-2004, 02:39 PM   #4
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Ubuntu, Android phone
Posts: 119

Original Poster
Rep: Reputation: 15
So, does this happen to others? I can try the suggested fixes, no probs there. I just struck me as being a bit odd and was wondering whether this is a "feature" of either Yoper or KDE 3.3 - the first time I have used either
 
Old 11-29-2004, 02:41 PM   #5
Cliekid
Member
 
Registered: May 2004
Location: New York
Distribution: Yoper v2 / Novell Linux Desktop 9
Posts: 71

Rep: Reputation: 15
Well..

I personally have not had this issue...

It seems more of a specific hardware thing interacting with KDE. Ya never know these days :-)
 
Old 11-29-2004, 03:04 PM   #6
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
Hi,

I've never had anything like this before myself... I've had problems with the machine not turning off, but not this...

In adition to Cliekid's runlevel 6 suggestion, try doing a

Code:
shutdown -h now
as root from a console.

I'd also have a peek at the system logs to see if there's any clue there.

Cheers.
 
Old 11-30-2004, 01:37 AM   #7
steve_v
LQ Newbie
 
Registered: Aug 2004
Distribution: Gentoo
Posts: 28

Rep: Reputation: 16
Um guys... runlevel 6 is reboot, 0 is halt. 'telinit 0'

Steve.
 
Old 11-30-2004, 08:50 AM   #8
Cliekid
Member
 
Registered: May 2004
Location: New York
Distribution: Yoper v2 / Novell Linux Desktop 9
Posts: 71

Rep: Reputation: 15
I was always sure 6 was shutdown - and 0 didn't exist.

1 is..boot
2 is non-graphical, single user
3 is multiuser non-graphical
4 is...4
5 is X / Multiuser
6 is shutdown

Thats what I always thought it was..?

Cliekid
 
Old 11-30-2004, 05:58 PM   #9
jdh77
Member
 
Registered: Nov 2003
Location: Texas, where calls to Heaven are but local calls.
Distribution: RH7.1, 7.3, 9.0 Lindows4,5 OpenBSD3.4
Posts: 42

Rep: Reputation: 15
Looking in /etc//init.d we find in the header:
#
# rc.halt This file is executed by init when it goes into runlevel
# 0 (halt) or runlevel 6 (reboot). It kills all processes,
# unmounts file systems and then either halts or reboots.
#

-------

We have a similar thread going... I believe it may be the same problem.
http://www.linuxquestions.org/questi...hreadid=260562
if you'd care to have a looky-lou.

Suggest you look in /home/{user}/.xsession-errors for some clues as to what is not right at boot.
Also; /var/log/messages and /var/log/dmesg.

Please give a shout back as to what you find/don't-find.

Even with the few problems (BUGs?) with the various distros of Linux with which I've toyed, it is BY FAR easier to deal with than the days and months and YEARS I've WASTED trying to get a decent install of Brand-X Windows. At least linux is stable and will half-assed run even when severely wounded!

I'll get off my soapbox now!
 
Old 12-07-2004, 03:00 AM   #10
DrRider
LQ Newbie
 
Registered: Dec 2004
Location: AUS
Distribution: Yoper
Posts: 16

Rep: Reputation: 0
Quote:
Originally posted by Cliekid
I was always sure 6 was shutdown - and 0 didn't exist.

1 is..boot
2 is non-graphical, single user
3 is multiuser non-graphical
4 is...4
5 is X / Multiuser
6 is shutdown

Thats what I always thought it was..?

Cliekid
Hey guy, I think the correct one are
0 --> halt
1 --> maintenance mode (single user)
2 --> multiuser without networking (text)
3 --> multiuser with networking (text)
4 --> forget it!
5 --> multiuser, networking with X
6 --> reboot

You can find it in your /etc/inittab.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I turn off my computer? DDRfreak2 Mandriva 9 09-12-2005 07:41 PM
turn off computer spidna Slackware 2 08-12-2004 12:18 PM
How to turn off computer ginnytwo Linux - Software 10 07-27-2004 01:13 AM
computer won't turn off Marty McFly Linux - Newbie 2 10-28-2003 11:30 AM
Turn off the computer mtb Linux - Newbie 1 11-25-2002 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Yoper

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration