[SOLVED] Can not shut down or reboot in GNOME 3.8.4/Jessie
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This started a few weeks back with an update but I'm just getting to posting now, so unfortunately I don't remember exactly what was updated.
I'm running GNOME 3.8.4 with Jessie. A few things broke (like not being able to run Terminal because of a non-UTF8 locale issue not being handled graciously by the terminal devs and GNOME 3 not honoring system wide locales), but I can't fix this one.
If I select Power Off from the user menu, the hard drive will flash for a second or two, then do nothing. I can still run programs normally, except on some applications (mostly GTK+ 2, and some GTK+ 3 programs), themes are broken.
If I select Power Off from the user menu, or run the following in a terminal:
Code:
$ gnome-session-quit --power-off
Any applications besides that terminal (if I use the terminal) will quit. The hard drive will run a second, and I can't do anything in that terminal window. Shortly after, I regain control, and can use the shell as normal.
Now, I'll try again (or if I selected Power Off the first time, I now open a terminal),
Code:
$ gnome-session-quit --power-off
** (gnome-session-quit:5784): WARNING **: Failed to call Shutdown: Shutdown interface is only available during the Running phase
Of course,
Code:
$ sudo halt
will always work, but it's annoying to do it every time.
The current version for gnome in Jessie is 3.8+6 and not 3.8+4. You might try updating gnome to the current version and see if that sorts out your problem. Be sure you run apt-get or aptitude update before installing the package to make sure you have the most recent version. Watch carefully for any error messages or any news of broken pages.
jdk
I did, last night, and no GNOME packages were updated, and nothing in GNOME being held back. Tried again now, as well.
I guess I'll have to start there as to why I'm not getting the latest packages. All I'e got in sources.list are the US debian repos for jessie/testing, with no third party repos to cause conflicts. Hmmm...
Code:
deb ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ testing main contrib non-free
Edit:
Well, silly me, I got my version information from the GNOME Settings tools under "details" as it was the laziest way to do it. Using apt-cache and checking version numbers shows the package gnome and gnome-core are 3.8+6. gnome-desktop3-data is 3.8.4-2, and apt-cache policy indicates that is the newest candidate available. gnome-shell is 3.8.4-8+b1 (newest candidate).
I don't know if this is of any use but you have version 3.8+6 (same as mine) installed and not 3.8.4. You could try reinstalling gnome using the command
Code:
sudo aptitude reinstall gnome
That could either (a) fix the problem or (b) at least throw up some useful error messages so that you know what the problem is (e.g. missing dependencies, broken packages).
jdk
I have 2 system Jessie & Sid neither of them shutdown without running command from terminal. Also I've been complaining about GTK bug, which affects changes to main menu, for a while.
I ran across 1 supposed solution that told me to delete the /home/user/.config/menus file, which I did & it hasn't changed anything.
I don't know if this is of any use but you have version 3.8+6 (same as mine) installed and not 3.8.4. You could try reinstalling gnome using the command
Code:
sudo aptitude reinstall gnome
That could either (a) fix the problem or (b) at least throw up some useful error messages so that you know what the problem is (e.g. missing dependencies, broken packages).
jdk
Thank you jdk,
I stated in my previous post, the package itself is in fact 3.8+6, but something else is amiss here as GNOME itself (System Settings -> Details) shows 3.8.4.
I tried your suggestion, the only package reinstalled was gnome, with version 3.8+6 and no errors.
Code:
$ sudo aptitude reinstall gnome
The following packages will be REINSTALLED:
gnome
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 54 not upgraded.
Need to get 0 B/22.0 kB of archives. After unpacking 0 B will be used.
(Reading database ... 351858 files and directories currently installed.)
Preparing to unpack .../gnome_1%3a3.8+6_amd64.deb ...
Unpacking gnome (1:3.8+6) over (1:3.8+6) ...
Setting up gnome (1:3.8+6) ...
$
I see EDDY1 has the same issue, so I'm not alone. If I can't rectify this in the next day, I'll submit a report, as I can find none on this issue in the bug tracker.
$ ps aux | grep systemd
root 3847 0.0 0.0 37148 1772 ? S 07:37 0:00 /lib/systemd/systemd-logind
anthony 7331 0.0 0.0 10468 880 pts/0 S+ 10:10 0:00 grep systemd
After clicking Power Off from the user menu, and waiting a little:
Code:
~ $ ps aux | grep systemd
root 3847 0.0 0.0 37148 1772 ? S 07:37 0:00 /lib/systemd/systemd-logind
anthony 7350 0.0 0.0 10468 876 pts/0 S+ 10:11 0:00 grep systemd
Code:
$ aptitude show systemd
Package: systemd
State: installed
Automatically installed: yes
Version: 204-8
Priority: optional
Section: admin
Maintainer: Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 5,054 k
Depends: libacl1 (>= 2.2.51-8), libaudit1 (>= 1:2.2.1), libc6 (>= 2.17), libcap2
(>= 2.10), libcryptsetup4 (>= 2:1.4.3), libdbus-1-3 (>= 1.1.1),
libgcrypt11 (>= 1.5.1), libkmod2 (>= 5~), liblzma5 (>=
5.1.1alpha+20120614), libpam0g (>= 0.99.7.1), libselinux1 (>= 2.1.9),
libsystemd-daemon0 (= 204-8), libsystemd-journal0 (= 204-8), libudev1
(>= 189), libwrap0 (>= 7.6-4~), libsystemd-login0 (= 204-8), util-linux
(>= 2.19.1-2), initscripts (>= 2.88dsf-17), sysv-rc, udev, acl,
adduser, libcap2-bin
Recommends: libpam-systemd
Suggests: systemd-ui
Conflicts: klogd, klogd, systemd
Breaks: lsb-base (< 4.1+Debian4), lsb-base (< 4.1+Debian4), lvm2 (< 2.02.84-1),
lvm2 (< 2.02.84-1)
Description: system and service manager
systemd is a replacement for sysvinit. It is dependency-based and able to read
the LSB init script headers in addition to parsing rcN.d links as hints.
It also provides process supervision using cgroups and the ability to not only
depend on other init script being started, but also availability of a given
mount point or dbus service.
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Well systemd is installed and enabled on your system so one would think that gnome should be shutting down and rebooting normally. Ensure your system is completely up to date and consider reporting a bug.
Hello
exactly the same problem over here.
No way to reboot unless a reboot command from a root terminal, no way to shutdown or logout either.
It is a new install done with netinst cd jessie.
Another laptop installed a few weeks ago is performing fine so I have no idea what happened this time.
XFCE was installed by default but I completely removed it (and lightdm)
I put on a bug for gnome-shell (750058) as I was unsure which package was affected...
Last edited by assasukasse; 06-01-2014 at 03:43 AM.
To install systemd run:
# apt-get update
# apt-get install systemd
This will install the systemd packages but will not configure systemd as your init system.
Configuring for testing
To test systemd before switching to it by default, you can add the following boot parameter to the kernel:
init=/bin/systemd
I've tried the init=/bin/systemd trick. It solves the logout/reboot/poweroff problem.
But...... all kinds of other system irregularities spring up. Your mileage may vary.
If you're lucky and you like what you see, you can switch over to systemd full on.
If you would like an icon available to use that will shutdown with the 'halt' command,
1. Create a file as root, e.g. nano halt.desktop. Point to whichever icon you want.
Code:
[Desktop Entry]
Name=Halt
Comment=Power Down
Exec=gksu halt
Icon=/usr/share/icons/stop-hand.svg
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;
Keywords=shutdown;halt;power down;
2. Move halt.desktop to /usr/share/applications/
$ mv halt.deskop /usr/share/applications
3. Logout, Login
4. Use your new halt by adding it to the favorites gnome-shell dock. Poweroff garaunteed.
I believe your troubles are related to Debian Testing not completely
switching to systemd yet.
Installing systemd-sysv will remove everything sysv (conflicts with its core package) and add all needed links for /sbin/init (it also includes the needed docs to convert ancient init scripts).
Installing systemd-sysv will remove everything sysv (conflicts with its core package) and add all needed links for /sbin/init (it also includes the needed docs to convert ancient init scripts).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.