Bug 1198516

Summary: Black screen after log out from Gnome (both from wayland or X11 Gnome sessions) on VM
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: agk, antmak.pub, fedora, kem, mfabian, ofourdan, petersen, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 12:55:22 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:

Description Mike FABIAN 2015-03-04 10:24:54 UTC
I installed Fedora 22 TC8 in qemu-kvm using these options:

nice ionice -c 3 qemu-kvm -machine pc-1.3 -enable-kvm -global qxl.ram_size=1x1024 -m 2048M -smp 2 -drive file=./Fedora-Live-Workstation-x86_64-22_Alpha-TC8.iso.qcow2,index=0,media=disk,cache=unsafe -localtime -serial file:/tmp/qemu-Fedora-Live-Workstation-x86_64-22_Alpha-TC8.iso.qcow2-output.log -name Fedora-Live-Workstation-x86_64-22_Alpha-TC8.iso.qcow2 -cdrom /local/mfabian/iso/f22-TC8/Fedora-Live-Workstation-x86_64-22_Alpha-TC8.iso -boot c -spice port=6000,disable-ticketing,streaming-video=off -vga qxl -display vnc=:4 -net nic -net user,hostname=Fedora-Live-Workstation-x86_64-22_Alpha-TC8.iso.qcow2,hostfwd=tcp::5560-:22 -monitor stdio -usb

- Installation done in Japanese

- In gdm, log in to Gnome session (Wayland or X11, doesn’t matter,
  the problem occurs in both cases.

- log out of Gnome

→ black screen, no gdm anymore, I cannot log in again.

Comment 1 Mike FABIAN 2015-03-04 10:49:28 UTC
While logged in to the Gnome session:

    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ ps aux |grep X
    gdm       1188  0.0  1.1 207804 24200 tty1     Sl+  12:59   0:00 /usr/bin/Xwayland :0 -rootless -noreset -listen 30 -listen 31 -displayfd 32
    root      1529  0.8  1.7 238648 34964 ?        Sl   13:03   0:05 /usr/libexec/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
    mfabian   3675  0.0  0.1 114352  2284 pts/1    S+   13:15   0:00 grep --color=auto X
    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$

After logging out:

    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ ps aux |grep X
    gdm       1188  0.0  1.1 207804 24200 tty1     Sl+  12:59   0:00 /usr/bin/Xwayland :0 -rootless -noreset -listen 30 -listen 31 -displayfd 32
    mfabian   3814  0.0  0.1 114352  2260 pts/1    R+   13:15   0:00 grep --color=auto X
    [mfabian@Fedora-Live-Workstation-x86_64-2 ~]$ 

So gdm is still running, but it shows a black screen only.

Comment 2 Mike FABIAN 2015-03-04 11:20:45 UTC
By logging in remotely via ssh and restarting gdm:

    sudo systemctl restart gdm.service 

gdm becomes visible again and I can login again.

Comment 3 Olivier Fourdan 2015-03-06 12:48:35 UTC
I suspect it's a problem with VT switching, I've been able to recover the login screen w/out restarting gdm by switching to VT2 and then back to VT1.

Comment 6 Mike FABIAN 2015-03-09 15:37:42 UTC
The problem remains on Fedora-Live-Workstation-x86_64-22_Alpha-3.iso
(Fedora 22 Alpha).

Comment 8 Mike FABIAN 2015-04-20 14:14:52 UTC
It seems to work in Fedora-Live-Workstation-x86_64-22_Beta-3.iso

Comment 9 Anton Maklakov 2015-07-17 17:30:19 UTC
I confirm this bug. Or, i see logscreen background without login availability, some time.

$ sudo dnf update
Last metadata expiration check performed 0:33:40 ago on Fri Jul 17 19:50:42 2015.
Dependencies resolved.
Nothing to do.
Complete!

$ rpm -q gnome-shell gdm
gnome-shell-3.16.3-1.fc22.x86_64
gdm-3.16.2-1.fc22.x86_64

On thinkpad t450s (intel broadwell gpu only)

Comment 10 Christian Stadelmann 2016-01-14 08:27:53 UTC
This issue still happens sometimes on Fedora 23, especially after logging out from a plasma session.
Intel Core i5 (1st Generation) iGPU here.

Comment 11 Fedora End Of Life 2016-07-19 12:55:22 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 12 Christian Stadelmann 2016-07-24 18:31:51 UTC
This issue is still present on Fedora 24 when logging out from plasma sessions or when any GUI user session crashes. Please reopen this bug and change version to 24.

Workaround: Sysrq "K" to kill current TTY (gdm). When gdm restarts, it works fine.