The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 16,647β€…    Votes:  3β€…    βœ… Solution
Tags: command-line   17.10   shutdown  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/1010161
Title: Ubuntu 17.10 - Poweroff operation is inhibited by myself
ID: /2018/02/27/Ubuntu-17.10-Poweroff-operation-is-inhibited-by-myself
Created: February 27, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Similar messages can appear when you type reboot in the command line. The solution is to use sudo reboot instead. In your case it would be sudo poweroff or sudo shutdown which does the same thing. Always make sure you have saved all your work and closed down Libre Office, etc.

The other solution for me is to pick Reboot from the system menu. In this case the sudo isn’t necessary. In you case you would pick Shutdown from the system menu.

Lastly, you can do as the message suggests and use:

systemctl poweroff -i
⇧ Find an identical file with a different name Nautilus gives a warning when opened in the current directory from the terminal  β‡©