LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to 'shutdown' from x... need to shutdown using 'halt' (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-shutdown-from-x-need-to-shutdown-using-halt-119011/)

guitarnix 11-22-2003 07:30 PM

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.

help please.

xode 11-22-2003 10:42 PM

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.

Whitehat 11-23-2003 12:07 AM

How about creating an Icon that you double click on the desktop that runs in a terminal and executes this:

shutdown -h now

or just have the icon do "halt" :)

I don't have a shutdown button in Slackware. That's how I shut mine down :)

guitarnix 11-23-2003 01:50 AM

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.

dev8080 11-24-2003 12:09 AM

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

Chu 11-24-2003 01:00 AM

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.





All times are GMT -5. The time now is 05:24 PM.