unable to 'shutdown' from x... need to shutdown using 'halt'
Linux - NewbieThis 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.
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.
unable to 'shutdown' from x... need to shutdown using 'halt'
i have a strange problem. i am unable to shutdown while i am in x-windows (kde). if i select 'logout' from the k-menu, i get a login screen without any shutdown options (restart, shutdown, etc). i don't see a list of users to select from either. so i have been shutting down by using the 'halt' command from a terminal window.
I had the exact same problem with my Mandrake 9.0 Linux. I found the cause of that to be how the system's security settings were set up during the install process. The fix was to go to Mandrake Control Center and select more agreeable security settings. Considering that you have Slackware, I don't know how much this will help you but it might give you some pointers.
interesting work-around. however, in a previous installation of slackware 9.1 (i recently did a fresh install), i used to get a prompt for shutdown or restart along with a list of users along the left side. further, i am only showing the username textbox instead of both the username and password textboxes.
i guess i am saying that this install is different from a previous install.
4 whitehat
both of the commands "shutdown" and "halt" need root login. How can other users shutdown my box.
currently it goes to the console after logout. Currently running slack 9.0 and kde 3.0
Well, that's quite easy.
Write a <Insert Programming Language> Script (I could do it in Python)
When you doube click the script it opens up terminal and su's in with password, then does a shutdown -h now or a shutdown -r now, whatever requested.
I could write it now.. //It seems I have spoken too soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.