I have an older hp pavilion all in one pc and after upgrading to 15.04 whenever I tell the computer to shutdown while in unity (haven't tried other DEs) it goes to the login screen as if I'd only pressed logout. It will then shutdown if I select shutdown from the menu in lightdm. But why is it doing this?
Asked
Active
Viewed 5,943 times
1 Answers
2
If you have docky installed this fixed the problem for both of my machines.
Ubuntu 15.04 Unity + Docky, Cairo-Dock, or Plank
(DOCKY)
cd ~/.config/autostart
nano docky.desktop
add X-GNOME-Autostart-Delay=20
(IF YOU USE CAIRODOCK)
cd ~/.config/autostart
nano cairo-dock.desktop
add X-GNOME-Autostart-Delay=20
Or you can remove either one from autostart.
Example docky.desktop in ~/.config/autostart with 20 second delay
[Desktop Entry]
Type=Application
Exec=docky
Hidden=false
NoDisplay=false
X-GNOME-Autostart-Delay=20
X-GNOME-Autostart-enabled=true
Name[en_US]=Docky
Name=Docky
Comment[en_US]=
Comment=

Mad Man
- 396
/var/log/syslog
such as an error about unable to shutdown? – thomasrutter May 26 '15 at 00:46lightdm
might help you out. – TheWanderer May 26 '15 at 00:51sudo shutdown -P now
works make it a script or run manually till you resolve the issue. Personally that's what I do 99% of the time. I'm guessing there's an issue with dbus since that's what unity uses, if I'm not mistaken – Sergiy Kolodyazhnyy Aug 02 '15 at 05:05