Bug 1096806

Summary: tumbleweed 20180606 problem with running KDE programs over ssh -X
Product: [openSUSE] openSUSE Tumbleweed Reporter: Roger Whittaker <roger.whittaker>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: roger.whittaker, wbauer
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Roger Whittaker 2018-06-09 11:37:24 UTC
After updating to 20180606, it seems no longer possible to run konsole or kate (probably others) remotely over ssh -X.

ssh -X 192.168.1.2 konsole

An unresponsive window appears without contents.

If I do

ssh -X 192.168.1.2 xterm

that works fine.

If from that xterm I attempt to start konsole on the remote system, I
get the same kind of unresponsive window.

If I destroy that window I see the following error:

QXcbShmImage: xcb_shm_create_segment() failed for size 8716800

$ rpm -q konsole
konsole-18.04.1-1.1.x86_64

$ rpm -q kate
kate-18.04.1-1.1.x86_64
Comment 1 Roger Whittaker 2018-06-09 11:48:46 UTC
Mykola Krachkovsky kindly referred me to the following:

https://bugreports.qt.io/browse/QTBUG-68449

https://cgit.freedesktop.org/xorg/xserver/commit/?id=3c4cead499f10dabac20ab87728746ec41dae799
Comment 2 Wolfgang Bauer 2018-06-12 17:53:22 UTC
(In reply to Roger Whittaker from comment #1)
> https://bugreports.qt.io/browse/QTBUG-68449

According to this, a fix to avoid the problem (it's actually a bug in the X server) will be in Qt 5.11.1.  (it's actually caused by a bug in the X server though)

Please try the packages from here to test whether the fix works for you:
https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/openSUSE_Factory/

(I think libQt5Gui5 should suffice)
Comment 3 Roger Whittaker 2018-06-13 10:37:19 UTC
That URL seems unavailable, and

https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/

is empty.
Comment 4 Wolfgang Bauer 2018-06-13 10:54:31 UTC
(In reply to Roger Whittaker from comment #3)
> That URL seems unavailable, and
> 
> https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/
> Qt5/
> 
> is empty.

Yes, sorry.

I got positive feedback in bug#1097227 and submitted it to KDE:Qt5 already.
But I forgot to clear the "delete local package" checkbox in OBS, so it got removed automatically after the submit request was accepted.

I'll recreate the repo, it should be built in about half an hour I suppose.
OTOH the update is available in KDE:Qt5 meanwhile as well.
(the submission to Factory will have to wait for Plasma 5.13.0 final though to not disrupt the submission process)
Comment 5 Wolfgang Bauer 2018-06-13 11:52:06 UTC
(In reply to Wolfgang Bauer from comment #4)
> (In reply to Roger Whittaker from comment #3)
> > That URL seems unavailable, and
> > 
> > https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/
> > Qt5/
> I'll recreate the repo, it should be built in about half an hour I suppose.

https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/ is back now.

KDE:Qt5 OTOH will need some more time to be fully rebuilt.
Comment 6 Roger Whittaker 2018-06-13 11:59:49 UTC
I updated to the packages in 

https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt5/

and the problem is fixed.  Great!
Comment 7 Swamp Workflow Management 2018-06-13 15:50:06 UTC
This is an autogenerated message for OBS integration:
This bug (1096806) was mentioned in
https://build.opensuse.org/request/show/616568 Factory / libqt5-qtbase
Comment 8 Wolfgang Bauer 2018-06-13 18:42:55 UTC
As the libqt5-qtbase update has been forwarded to Factory now, I'll close this as fixed.
We still have bug#1097227 open for the X server issue anyway.

It will of course take a few days until it is actually available in the Tumbleweed repos.
Feel free to use my repo/packages for now, I'll keep that until the updated packages are released in a TW snapshot...