When I logout and select "Turnoff", system hangs

Asked by alpha1

When I instualled Kubuntu 7.04 I probably did something incorrectly. It created what it said would be a "Temporary" user -- oem.

It said that I should restart and oem would be deleted (I had added some users). At first, whenever I tried to restart, the screen would go grey and the system would hang. I had to press the reset button on the computer. It then had to go through all the disk checks before restarting as it had not "shut down properly". Well, I don't know just what I did, but now restart from the logout screen works, but if I select "Turn off", same thing as before -- grey screen. The mouse moves around it, but no other response or control. There must be something incorrectly set in some configuration or /etc file somewhere, but I don't know what or how to find and fix it.

Thanks for any help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
alpha1
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
alpha1 (wmstrome) said :
#2

THis error has not been resolved

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

I guess by "Turn off" you mean "Shut Down"?
Can you try to give this command from a terminal:

sudo shutdown -r now

Is the system shutting off and restarting?

Revision history for this message
alpha1 (wmstrome) said :
#4

Yes, I meant "Shut Down", and I can also do "sudo reboot". It is just when I try to use the logout part of the KDE start button that I have the problem. To me, it seems likely that there is something broken in the link between the KDE button> "Shut Down", or "Restart" (and probably also the other choices like "Hibernate") and the command, but I don't know how to figure that out.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#5

Would adding/changing /etc/kde3/kdm/kdmrc with the following lines:

in section [ShutDown]:
HaltCmd=/sbin/shutdown -h now
RebootCmd=/sbin/shutdown -r now

in section [X-:*-Core]:
TerminateServer=true

make it work?

Revision history for this message
alpha1 (wmstrome) said :
#6

No, this does not work.

Before I changed it, it had HaltCmd=sbin/shutdown -h now

TerminateServer=true was not in the section [X-:*-Core]:

Revision history for this message
alpha1 (wmstrome) said :
#7

OOPS -- it was HaltCmd=/sbin/poweroff

Revision history for this message
Cesare Tirabassi (norsetto) said :
#8

I don't understand it, but some users report that removing the splash screen works for them. Its worth a try I think; try adding nosplash as an option to the kernel boot line in menu.lst

Revision history for this message
alpha1 (wmstrome) said :
#9

I upgraded to 7,10. After doing so, the problem was fixed!