New answers tagged

13

When I reboot via the GUI I can do that without my sudo password. Only if you're the only one logged in. If there are any other users (including console users) you may have to enter a root password. This is the same on OS X and newer Windows versions. Why is that? What's happening internally of the ubuntu system there? The following command: ...


4

In a multi-user system, the last thing you want is your users logging in and being able to randomly reboot the server at any time, thus the command line version of Reboot is a superuser-only command, hence needing you to be root or have sudo rights. Ditto the Halt and PowerOff commands too.


0

The one reason for my shutdown to hang is because my nVidea video board driver will get blocked, although when that happens I do not see any messages. In any event, here it says that it has a problem with PCIe Port 0000:00:1c.6 so we would need to know what's connected on that port to get a better feel of what the kernel does not like. You can see what it ...


0

I have changed my hard disk, because of this annoying task. I am using SSD now and everything works out. Maybe this is not a solution to my problem, but I would say that this is a workaround. Also I have already posted in the comments above I have changed I have change inside BIOS from legacy to UEFI.


2

With the help of @Serg's answer, I crafted this set of three scripts (Python 3 and Bash) which listens for Unity Shutdown/Logout dialogs, checks for running VMs, blocks the Unity dialog, displays a nice progress bar, waits until all VMs are off or the timeout is reached, asks if remaining VMs should be forcibly killed and finally displays a custom ...


2

Below is a small script that should be run as autostart entry or manually (if user prefers so). The basic idea is this: keep polling dbus session bus, and if we get reboot, or shutdown, or logout, then we can check if QEMU is running; if it is, kill the shutdown dialog, run the command to shutdown the VMs, and then call dbus to shutdown, or even call ...


0

I found the problem. VDR has a feature which shutdowns the system after a configurable time of inactivity, default is 5 hours...


0

If the desktop in question is xfce, check the following thread: https://forum.xfce.org/viewtopic.php?id=6580 For me post 17 - delete the session file in $HOME/.cache/sessions/xfce4-session-* did the trick. The session file gets sometimes corrupted - once I was not able to login to XFCE - deleting the session file also solved that problem... Note: Don't ...


0

Try removing unity and then reinstalling unity via recovery mode. sudo apt-get remove unity sudo apt-get remove ubuntu-desktop sudo apt-get install unity sudo apt-get install ubuntu-desktop Then click dpkg in recovery mode Click on continue Now try shutting down


0

Hey everyone just an update on this problem, I was able to fixed it. I started to listen closely to the sounds the computer was making every time it would boot up. I noticed the fan would start and then stop completely and the computer started to get hot. What I did was, I opened up my laptop and moved the fan cables interrupting with the fan and it solved ...


3

I had the same issue, my setup is Ubuntu 14.04 and Cinnamon 2.8.6 Here is how I solved it: Install dconf-tools. Run in a terminal window: sudo apt-get install dconf-tools Open dconf-editor: dconf-editor Go to org > cinnamon > desktop > session Change session-manager-uses-logind to TRUE (checked) Logout and login Now you'll have different ...


0

I have a lenovo B50-10 just like you and after days of research and trying all solutions out there I finally managed to solve the shutdown/reboot on this specific model. Updating the bios under windows didn't do the trick, I installed the latest kernel 4.4 and now I can smile again when I shutdown or reboot my lenovo B50-10. In fact in linuxmint which i ...


-1

I have same problem after installing Ubuntu next to Windows 8, Ubuntu will start normally but won't shutdown, reboot or suspend, laptop : acer aspire e15 , Gone through all suggestions I could find, none of the shutdown commands worked, I think if Ubuntu will be installed with legacy mode it should work fine, unfortunately I need to keep bloody windows for ...


0

There was a feature that Intel motherboards came out with a while back called rapid start to automatically convert from suspend mode to hibernate mode after a timeout that I believe defaulted to two hours. Have a look around at your bios options and try to disable it.


1

For several people, this was an issue with NVIDIA drivers and was solved by installing the latest proprietary drivers. sudo add-apt-repository ppa:ubuntu-x-swat/x-updates sudo apt-get update sudo apt-get install nvidia-graphics-drivers (or sudo apt-get install nvidia-current) I hope it will work for you!


1

You have to log in first. Press Esc, then log in, following that shut down via the top right corner. I believe it's intended to keep unauthorized users from getting into the bios settings easily.


0

Sometimes opening a Terminal window and typing the following will help systems to shutdown and reboot again: sudo update-grub ...enter password when prompted then try to shutdown again. ..or.. Install apmd by going into terminal and typing: sudo apt-get install apmd then edit the following file: sudo gedit /etc/modules and add this line: apm ...


0

I had this very same problem and nothing suggested was working. I finally figured out that the system was set to boot in using LEGACY and not UEFI Secure. Once I changed it to UEFI it worked perfectly!


1

In my case these simple steps worked for me fine: Press Ctrl+Alt+T to go to a terminal and type: sudo gedit /etc/default/grub This will open the grub config file. Change the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" acpi=force apm=power_off Then save & close it. Type in the same terminal: ...


0

I found my solution in this answer here. In /etc/systemd/logind.conf, I edited the lines #HandlePowerKey=poweroff ... #HandleLidSwitch=hibernate to HandlePowerKey=ignore ... HandleLidSwitch=ignore The laptop shutting down overnight was actually something else. I used a power socket in a weird place for the server, to prevent the plug from being ...


2

I spent a weeks with solving this problem on the same ntb as your without any progress. Yesterday I finally found the thread. In the bios you have to disable xHCI support (USB 3.0). After that my Acer works perfectly (shutting down, restart, sleep mode). Here is the forum where I've found the help: https://bbs.archlinux.org/viewtopic.php?id=195407


2

As I already mentioned in comments, setting DefaultTimeoutStopSec in /etc/systemd/system.conf should solve this problem.


1

"Shutdown" should be understood from a system perspective (all users out, no more service running), not from a machine perspective (power-off). From man shutdown: If no option is specified, the default action is to bring the system down into single-user mode. If you want to actually power off the machine: -H Requests that the system be halted ...



Top 50 recent answers are included