Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-27-2005, 03:10 AM
|
#1
|
|
Member
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44
Rep:
|
No shutdown or restart option!
I installed Slackware 10.1 on my sister's computer the other day. She is slowly getting used to it (she's using the KDE), but she is troubled by the lack of a shutdown or reboot button. Actually I was very suprised myself. I think that Gnome has one, but how can I put that into KDE?
|
|
|
|
06-27-2005, 03:45 AM
|
#2
|
|
Member
Registered: Oct 2004
Location: ~/.au
Distribution: Mepis Kanotix SUSE
Posts: 189
Rep:
|
in KDE control center >.. KDE components >..session manager
check ---
confirm logout
offer shutdown options
defult shutdown option > end current sesion
|
|
|
|
06-27-2005, 06:52 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2005
Location: Chennai, India.
Distribution: Novell Linux Desktop 9
Posts: 13
Rep:
|
shutdown / Restart
hi
you can use the command " init 0 " in the terminal / konsole to shutdown ur linux box/machine and the command " init 6 " to reboot the linux machine.
Last edited by formohan; 06-27-2005 at 06:55 AM.
|
|
|
|
06-27-2005, 07:14 AM
|
#4
|
|
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528
Rep:
|
edit /etc/inittab . Now see that line that says:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
Change it to:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
it will now load the graphical login manger when you boot up , then ifs kdm then in kde there will be an option to shutdown or reboot when u choose to logoff
http://shilo.is-a-geek.com/slack/graphic11.html
|
|
|
|
06-27-2005, 07:47 AM
|
#5
|
|
Senior Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305
Rep:
|
This is probably because your sister is using slackware as some user and not root. Many distributions don't allow users to reboot/shut down.
|
|
|
|
06-27-2005, 03:25 PM
|
#6
|
|
Member
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44
Original Poster
Rep:
|
I set my sister up with KDE for it's ease of use and Windows likeness. Even when I login as root with the KDE, I can't find an option to shut down or reboot. But when I login with Gnome running as my X, there it is. Icons that say Reboot and Shutdown! What I was wondering is how can I get those in KDE?
|
|
|
|
07-19-2005, 02:41 AM
|
#7
|
|
Registered User
Registered: Jul 2005
Posts: 56
Rep:
|
in console
shutdown -h now
|
|
|
|
07-19-2005, 08:34 AM
|
#8
|
|
Member
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405
Rep:
|
If you want the buttons for this, simply edit the file /etc/sysconfig/desktop to look like this (you'll need to be root):
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
Now you'll have a nice little option when you choose to shutdown, letting you log off, shutdown, or reboot...
Good luck!
|
|
|
|
07-19-2005, 10:20 AM
|
#9
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally posted by jeffreybluml
If you want the buttons for this, simply edit the file /etc/sysconfig/desktop to look like this (you'll need to be root):
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
Now you'll have a nice little option when you choose to shutdown, letting you log off, shutdown, or reboot...
Good luck!
|
This method does not work with Slack, its fedora specific. heema's solution seems to be the best in my opinion.
|
|
|
|
07-20-2005, 06:28 AM
|
#10
|
|
Member
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418
Rep:
|
The reason you do not see the shutdown / reboot option is probably because you use GDM as your display manager, and KDE as your desktop...
You can change your LoginManager to KDM, or you can display the buttons in GDM.
For changing your loginmanager in slack, go to your /etc/rc.d and edit the rc.4
Comment out the lines that start GDM (something like, "lets see if gdm is installed")
If you want the buttons in the login screen, use gdmsetup and enable the buttons there.
Now, if you are in KDE, logout and when you get in the login screen, you can hit the "System" button and choose if you want to reboot or poweroff
|
|
|
|
07-20-2005, 09:21 AM
|
#11
|
|
LQ Newbie
Registered: Jun 2005
Posts: 9
Rep:
|
Maybe slackware is a little essoteric for a newbie. Ubuntu might make more sense. Especially since they maintain such a solid package application disti. Still run KDE. The package manager will make finding and installing apps much easier. 
|
|
|
|
07-20-2005, 12:13 PM
|
#12
|
|
Member
Registered: Jun 2005
Location: New Brunswick, Canada
Distribution: Slackware
Posts: 34
Rep:
|
Quote:
Originally posted by avenolpey
Maybe slackware is a little essoteric for a newbie. Ubuntu might make more sense. Especially since they maintain such a solid package application disti. Still run KDE. The package manager will make finding and installing apps much easier.
|
That's why we, Slackers have swaret 
|
|
|
|
07-20-2005, 03:21 PM
|
#13
|
|
Member
Registered: Apr 2004
Location: queens , nyc
Distribution: Slackware , Ubuntu
Posts: 349
Rep:
|
well what i do in slackware is kill x then type su then i type halt then boom system shut down
|
|
|
|
07-27-2005, 04:35 PM
|
#14
|
|
Member
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186
Rep:
|
Quote:
Abunsair wrote:
in console
shutdown -h now
|
Quote:
Formohan wrote:
you can use the command " init 0 " in the terminal / konsole to shutdown
|
Both are the options I use. The computer shuts down automatically.
Quote:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
it will now load the graphical login manger when you boot up , then ifs kdm then in kde there will be an option to shutdown or reboot when u choose to logoff
|
Very accurate as well.
Greetings,
Juan Javier.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:38 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|