Bug 12372 - Switching users a few times leaves empty gdm background
Summary: Switching users a few times leaves empty gdm background
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: GNOME maintainers
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 23:50 CET by Reinout van Schouwen
Modified: 2016-09-19 09:42 CEST (History)
3 users (show)

See Also:
Source RPM: gdm-3.10.0.1-3.mga4.src.rpm
CVE:
Status comment:


Attachments
journalctl log (251.33 KB, text/x-log)
2015-12-28 02:32 CET, Nic Baxter
Details

Description Reinout van Schouwen 2014-01-20 23:50:04 CET
Description of problem:
Switching users under Gnome with gdm can only be done once or twice, then only an empty gdm background is visible.

Version-Release number of selected component (if applicable):
3.10.0.1

How reproducible:
I have reproduced this a couple of times

Steps to Reproduce:
1. Log in as user A in Gnome
2. Switch to user B via 'Switch user' in the top right menu
3. Switch back to user A using the same method
4. Switch back to user B again

Expected results:
a lock screen where user B can enter her password

Actual results: 
empty gdm background.

Ctrl+Alt+F1 still allows me to go back to user A.


Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2014-01-21 00:39:54 CET
something for upstream no ?
Thierry Vignaud 2014-01-22 03:02:00 CET

CC: (none) => mageia
Assignee: bugsquad => olav

Comment 2 Colin Guthrie 2014-01-22 09:35:17 CET
Perhaps upstream but perhaps our background patch is causing problems so we'd need to revert it to test some more. Will see if I can reproduce first.
Comment 3 Nic Baxter 2015-12-24 09:24:39 CET
I've just tried this in Mageia 5 and I can reproduce it. Any hints on how to troubleshoot it.

Nic

CC: (none) => nic

Marja Van Waes 2015-12-24 12:15:58 CET

CC: (none) => marja11
Whiteboard: (none) => MGA5TOO

Comment 4 Olav Vitters 2015-12-24 16:48:13 CET
Nic:
1. Edit /etc/X11/gdm/custom.conf as root, put the following in that file:
  [debug]
  Enable=true

2. as root: service prefdm restart
3. Reproduce the issue
4. as root: journalctl -n 2000 >  /tmp/journalctl.log
5. Attach /tmp/journalctl.log to the bug or look at it. Hopefully there's some error message
Comment 5 Nic Baxter 2015-12-28 02:32:46 CET
Created attachment 7310 [details]
journalctl log
Comment 6 Nic Baxter 2015-12-28 02:50:47 CET
OK done. New install of Mageia 5 in Virtualbox. Logged in as user nic. Created new user test.
clicked on switch user
selected test from greeter screen
entered password 
logged in
clicked on switch user
selected nic from greeter screen
entered password
logged in
clicked on switch user
no greeter screen only blank wallpaper

I've checked the log and got a little lost. I think the following has relevance

Dec 28 12:25:23 localhost gdm-session-worker[3444]: <7>GdmSessionWorker: old-username='nic' new-username='nic'
Dec 28 12:25:23 localhost gdm-session-worker[3444]: <7>GdmSessionWorker: received pam message of type 1 with payload 'Password: '
Dec 28 12:25:37 localhost acpid[616]: client 760[0:0] has disconnected
Dec 28 12:25:37 localhost gdm-password][3444]: pam_tcb(gdm-password:auth): conversation failed
Dec 28 12:25:37 localhost gdm-password][3444]: pam_tcb(gdm-password:auth): Unable to obtain a password
Dec 28 12:25:37 localhost gdm-session-worker[3444]: <7>GdmSessionWorker: PAM conversation returning 19: Conversation error
Dec 28 12:25:37 localhost gdm-session-worker[3444]: <7>GdmSessionWorker: authentication returned 31: Application needs to call libpam again
Dec 28 12:25:37 localhost gdm-session-worker[3444]: <7>GdmSessionWorker: uninitializing PAM
Dec 28 12:25:37 localhost gdm-session-worker[3444]: <7>GdmSessionWorker: state NONE
Dec 28 12:25:37 localhost gdm-session-worker[3444]: <7>GdmSessionWorker: Unable to verify user
Dec 28 12:25:37 localhost gdm-session-worker[3444]: <7>Worker finished
Dec 28 12:26:33 localhost systemd-logind[608]: Removed session c8.
Dec 28 12:26:33 localhost gdm-session-worker[3241]: <7>AccountsService: Ignoring non-user session c7 (class greeter)

I did this using a ssh login and when I entered users the response was nic nic test
OK one nic was my ssh login. Who or what are the other nic & test. Doesn't switch user log people out?
Comment 7 Olav Vitters 2016-01-04 23:45:35 CET
Switch user doesn't log you out. It just changed the vt. You should be able to find your sessions with CTRL-ALT-F[number]  E.g. CTRL-ALT-F7 or up.

I don't see anything weird in the log, but could be missing something. Maybe this is yet another PAM problem. I need to try this on my own machine, ping me if I haven't done so within a few days.
Olav Vitters 2016-09-19 09:42:47 CEST

Assignee: olav => gnome


Note You need to log in before you can comment on or make changes to this bug.