Bug 1221168

Summary: gtk apps unable to open window with X11 forwarding over ssh
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: amit.shah, berrange, ccecchi, cfergeau, crobinso, dwmw2, itamar, mclasen, pbonzini, rjones, scottt.tw, virt-maint
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: 2015-05-27 18:59:02 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:
Attachments:
Description Flags
strace-qemu.log none

Description Richard W.M. Jones 2015-05-13 12:09:55 UTC
Description of problem:

Simply run the following command on a remote machine where you
have enabled X forwarding over SSH:

  $ qemu-system-x86_64 -no-user-config -nodefaults -display gtk -vga cirrus

Of course there is no OS so it'll just get stuck in the BIOS.

Question: Is it able to open a window?

For Rawhide, no.  The process just gets stuck with no activity
(strace shows no system calls being made).

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

Fails with:
qemu-2.3.0-3.fc23.x86_64
qemu-2.3.0-2.fc23.x86_64

Works with:
qemu compiled from source (968bb75c348a40)

How reproducible:

100%

Steps to Reproduce:
1. Run the command above on a remote machine.

Comment 1 Richard W.M. Jones 2015-05-13 12:14:03 UTC
Created attachment 1025038 [details]
strace-qemu.log

strace of process

Comment 2 Cole Robinson 2015-05-13 14:40:22 UTC
Does any gtk app work? Try bare 'virt-viewer' or something

Comment 3 Richard W.M. Jones 2015-05-13 15:06:26 UTC
Very good point.  I tested it with xterm, which of course isn't a gtk app.

virt-viewer *does* hang.  So it's something in gtk.  Reassigning ...

Comment 4 Richard W.M. Jones 2015-05-27 18:59:02 UTC
Turns out to be bug 1174257.  The workaround is to set
LIBGL_DRI3_DISABLE=1

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