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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-27-2005, 04: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, 04: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, 07: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 07:55 AM.
|
|
|
06-27-2005, 08: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, 08: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, 04: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, 03:41 AM
|
#7
|
Registered User
Registered: Jul 2005
Posts: 56
Rep:
|
in console
shutdown -h now
|
|
|
07-19-2005, 09: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, 11:20 AM
|
#9
|
LQ 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, 07: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, 10: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, 01: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, 04:21 PM
|
#13
|
Member
Registered: Apr 2004
Posts: 354
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, 05: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.
|
|
|
All times are GMT -5. The time now is 03:17 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
|
|