Bug 841985

Summary: shutdown does not work from XFCE & lightdm
Product: [openSUSE] openSUSE Tumbleweed Reporter: peter czanik <peter>
Component: XfceAssignee: E-mail List <bnc-team-xfce>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description peter czanik 2013-09-24 07:41:04 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:23.0) Gecko/20100101 Firefox/23.0

When clicking the shutdown button in XFCE, it does not shut down the machine, just logs out (back to lightdm).
There is no way to shut down the machine from LightDM (AFAIR, it should work from a menu in the upper right corner, but the menu below the icon is empty).

Reproducible: Always

Steps to Reproduce:
1. shut down the machine from XFCE
or
1. try to shut down the machine from lightdm
Actual Results:  
The machine is not shut down.

Expected Results:  
The machine is shut down.

Tested in vmware.
Comment 1 Forgotten User cAXlJ_FoSf 2013-09-24 08:52:41 UTC
Known issue that started about a week ago, I'll look into it.
Comment 2 Forgotten User cAXlJ_FoSf 2013-09-24 09:51:48 UTC
I just did a fresh netinstall with the 13.1 repos and I cannot reproduce it any more, can you update and try again please?
Comment 3 peter czanik 2013-09-24 11:08:55 UTC
What do you mean by the 13.1 repos? I did a fresh netinstall of beta1, did a zypper dup, and the problem is still there.

linux-dtcf:~ # zypper lr -u
# | Alias                     | Name                               | Enabled | Refresh | URI                                                            
--+---------------------------+------------------------------------+---------+---------+----------------------------------------------------------------
1 | openSUSE-13.1-1.19        | openSUSE-13.1-1.19                 | Yes     | Yes     | http://download.opensuse.org/distribution/13.1/repo/oss/       
2 | repo-debug                | openSUSE-13.1-Debug                | No      | Yes     | http://download.opensuse.org/debug/distribution/13.1/repo/oss/ 
3 | repo-debug-update         | openSUSE-13.1-Update-Debug         | No      | Yes     | http://download.opensuse.org/debug/update/13.1/                
4 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No      | Yes     | http://download.opensuse.org/debug/update/13.1-non-oss/        
5 | repo-non-oss              | openSUSE-13.1-Non-Oss              | Yes     | Yes     | http://download.opensuse.org/distribution/13.1/repo/non-oss/   
6 | repo-source               | openSUSE-13.1-Source               | No      | Yes     | http://download.opensuse.org/source/distribution/13.1/repo/oss/
7 | repo-update               | openSUSE-13.1-Update               | Yes     | Yes     | http://download.opensuse.org/update/13.1/                      
8 | repo-update-non-oss       | openSUSE-13.1-Update-Non-Oss       | Yes     | Yes     | http://download.opensuse.org/update/13.1-non-oss/
Comment 4 Forgotten User cAXlJ_FoSf 2013-09-24 15:48:23 UTC
(In reply to comment #3)
> What do you mean by the 13.1 repos? I did a fresh netinstall of beta1, did a
> zypper dup, and the problem is still there.

That is what I meant. I did exactly the same this morning and cannot reproduce this so I am a bit baffled, it also shows up for older builds in openqa between build 704 and build 725 (see http://openqa.opensuse.org/results/openSUSE-Factory-NET-x86_64-Build0725-xfce ).
Comment 5 Forgotten User cAXlJ_FoSf 2013-10-10 13:50:27 UTC
Peter, can you try to install xorg-x11 and see if that fixes the problem?
Comment 6 peter czanik 2013-10-10 14:58:03 UTC
Just installed 13.1 RC1 on in a virtual machine. When I click "Logout" and then "Shutdown" in XFCE, the machine is not shut down, but continues as if nothing happened, except for one thing: if I click on "Logout" again, I get an error message saying "Received an error while trying to log out. Session manager needs to be in idle state when requesting a shutdown".
Comment 7 Forgotten User cAXlJ_FoSf 2013-10-10 15:16:59 UTC
Did you install xorg-x11 manually before trying that? Because it isn't installed by default any more post-Beta1.
Comment 8 peter czanik 2013-10-10 15:41:18 UTC
No, I did not. And installing it fixed the shutdown problem. Why is it not installed automagically?
Comment 9 Forgotten User cAXlJ_FoSf 2013-10-10 15:59:02 UTC
(In reply to comment #8)
> No, I did not. And installing it fixed the shutdown problem.

OK, thanks, it is the same as bug #845264 then.

> Why is it not
> installed automagically?

It was removed from the X11 pattern on Sep 27th (see https://bugzilla.novell.com/show_bug.cgi?id=845264#c4 ) apparently as to allow more minimal X11 installs, as to how this is to work with desktop patterns I don't know and am waiting for an answer. There are lots of undeclared dependencies on stuff like xset, iceauth, xsetroot etc. so I suppose xfce4-session isn't the only package affected.

*** This bug has been marked as a duplicate of bug 845264 ***