Bug 1597350

Summary: Switch User is missing in System Menu
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Koten <jkoten>
Component: accountsserviceAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 7.6CC: alexey.brodkin, tpelka
Target Milestone: alpha   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: accountsservice-0.6.50-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1653263 (view as bug list) Environment:
Last Closed: 2018-10-30 10:27:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1653263    

Description Jiri Koten 2018-07-02 17:23:43 UTC
Description of problem:
After user logs in, there is only Logout option in System Menu. The Switch User shows up only after the session is Locked.


Version-Release number of selected component (if applicable):
gnome-session-3.28.1-2.el7
gdm-3.28.2-5.el7
accountsservice-0.6.49-1.el7

How reproducible:
100%

Steps to Reproduce:
1. Have multiple users available
2. Login to user session
3. Go to System Menu -> Username submenu

Actual results:
'Switch User' is missing. 

Expected results:
'Switch User' is present right after the session starts.

Additional info:

Comment 2 Jiri Koten 2018-07-02 17:32:27 UTC
Could be related to rhbz#1597353.

Comment 3 Ray Strode [halfline] 2018-07-19 17:17:48 UTC
This should fix it.

Seems to be > and >= confusion:

@@ -2384,3 +2384,3 @@ maybe_set_is_loaded (ActUserManager *manager)
          */
-        if (manager->priv->seat.state >= ACT_USER_MANAGER_SEAT_STATE_GET_ID) {
+        if (manager->priv->seat.state > ACT_USER_MANAGER_SEAT_STATE_GET_ID) {
                 g_debug ("ActUserManager: Seat loaded, so now setting loaded property")

Comment 5 Jiri Koten 2018-07-20 13:48:35 UTC
accountsservice-0.6.50-2.el7.x86_64

Comment 7 errata-xmlrpc 2018-10-30 10:27:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:3140