When I choose shutdown option from the right top menu, Ubuntu is closing the session but coming back to the login screen. This is not a normal behaviour as Ubuntu should shutdown. But when I press the hardware shutdown button, I select shut-down on the screen and the laptop shuts down. that is fine.

Ubuntu 14.10


If any other remote user is logged in into your PC, or any software that runs using an another session, then Ubuntu will behave as you are telling its not an issue it actually prevents you to disconnect the remote user, but if you do shut down from power button then it will do force shut-down and disconnect the session from any other users.

before shutting down check whether any other session is still running.

by the following commands




and kill those session and try a normal shut-down.

  • I can see 2 users on the terminal, I don't understand as I'm the only one to have logged in, there are 2 users with my name. 1 = TTY :0 and 2 = TTY :Pts/4 – dupont Dec 22 '14 at 8:51
  • type ps -ft pts/4 and kill the process by kill <PID> and try a normal shut-down. – Ali786 Dec 22 '14 at 9:28
  • kill <PID> returns syntax error – dupont Dec 22 '14 at 11:42
  • terminal ask for processus login – dupont Dec 22 '14 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.