Bug 359152 - No application can be run after some uptime
Summary: No application can be run after some uptime
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-08 22:27 UTC by Jiri Slaby
Modified: 2016-09-22 15:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Slaby 2016-02-08 22:27:36 UTC
After some activity, maybe suspend/resume cycle is needed to reproduce, I cannot run anything. .xsession-errors-:0 says:
No protocol specified
Error: couldn't open display :0

I can switch to text console 1 and run:
DISPLAY=:0 xterm 

It execs the xterm properly.

drkonqi does not trigger. So if anything crashes in the background, I don't know what. Dmesg only reports segfaults in kactivitymanager like this:
kactivitymanage[929]: segfault at 7fc6daef5d10 ip 00007fc6db13c69a sp 00007ffec5560d38 error 4 in libQt5Sql.so.5.5.1[7fc6db127000+3f000]
But this looks like it happens on terminating the session.

Any ideas how to debug this?

$ rpm -q `rpmqpack |grep plasma|sort`
patterns-openSUSE-kde_plasma-20150918-12.1.x86_64
plasma-framework-5.16.0-3.1.x86_64
plasma-framework-components-5.16.0-3.1.x86_64
plasma-framework-lang-5.16.0-3.1.noarch
plasma-framework-private-5.16.0-3.1.x86_64
plasma-nm5-5.4.3-3.2.x86_64
plasma-nm5-lang-5.4.3-3.2.noarch
plasma-nm5-openvpn-5.4.3-3.2.x86_64
plasma-nm5-pptp-5.4.3-3.2.x86_64
plasma-nm5-vpnc-5.4.3-3.2.x86_64
plasma5-addons-5.4.3-3.1.x86_64
plasma5-addons-kimpanel-5.4.3-3.1.x86_64
plasma5-addons-lang-5.4.3-3.1.noarch
plasma5-desktop-5.4.3-6.2.x86_64
plasma5-desktop-branding-openSUSE-13.2-26.1.x86_64
plasma5-desktop-lang-5.4.3-6.2.noarch
plasma5-pa-5.4.3-3.1.x86_64
plasma5-pa-lang-5.4.3-3.1.noarch
plasma5-pk-updates-0.2-3.2.x86_64
plasma5-session-5.4.3-3.1.noarch
plasma5-workspace-5.4.3-6.1.x86_64
plasma5-workspace-branding-openSUSE-13.2-26.1.x86_64
plasma5-workspace-lang-5.4.3-6.1.noarch
plasma5-workspace-libs-5.4.3-6.1.x86_64
python-kde4-plasma-4.14.3-2.11.x86_64


Reproducible: Sometimes

Steps to Reproduce:
I don't know how to actually reproduce.
Comment 1 Jiri Slaby 2016-02-10 20:43:07 UTC
Happened again. .xsession-errors says:

kdeinit5: Got EXEC_NEW '/usr/bin/firefox' from launcher.
kdeinit5: preparing to launch '/usr/bin/firefox'
No protocol specified
Error: cannot open display: :0
kdeinit5: PID 3839 terminated.

The first "No protocol specified" is this:
UnmapNotify: 41943074
Unknown toplevel for MapNotify
UnmapNotify: 39907572
UnmapNotify: 18874378
UnmapNotify: 18874378
CreateNotify: 18874392
QXcbConnection: XCB error: 3 (BadWindow), sequence: 45553, resource id: 18874392, major code: 18 (ChangeProperty), minor code: 0
Grab Released
Transaction status changed: "finished" "(100%)"
Transaction "/1_adacdeda" finished with status "success" in 20 seconds
Cache transaction finished successfully
Updates changed, getting updates!
Transaction status changed: "wait" "(101%)"
Transaction status changed: "setup" "(101%)"
Transaction status changed: "query" "(101%)"
Transaction status changed: "refresh-cache" "(0%)"
Got update package: "kernel-default;4.4.1-3.1.g2b16688;x86_64;k:s" , summary: "The Standard Kernel" , type: "enhancement"
Got update package: "youtube-dl;2016.02.09.1-302.1;noarch;packman" , summary: "A tool for downloading from Youtube" , type: "enhancement"
Got update package: "libgstreamer-1_0-0;1.6.3-65.2;x86_64;packman" , summary: "Streaming-Media Framework Runtime" , type: "enhancement"
Got update package: "gstreamer;1.6.3-65.2;x86_64;packman" , summary: "Streaming-Media Framework Runtime" , type: "enhancement"
Got update package: "gstreamer-lang;1.6.3-65.2;noarch;packman" , summary: "Languages for package gstreamer" , type: "enhancement"
Got update package: "openSUSE-2016-177;1;noarch;repo-update" , summary: "Recommended update for libqt5-qtdeclarative" , type: "bugfix"
Got update package: "openSUSE-2016-178;1;noarch;repo-update" , summary: "Recommended update for libqt5-qtbase" , type: "bugfix"
Got update package: "openSUSE-2016-174;1;noarch;repo-update" , summary: "Recommended update for poppler, poppler-qt, poppler-qt5, kdepim" , type: "bugfix"
Transaction "/2_cadccdbb" finished with status "success" in 1 seconds
Check updates transaction finished successfully
Total number of updates:  8
Transaction status changed: "finished" "(100%)"
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
Comment 2 David Edmundson 2016-09-11 23:16:20 UTC
>kdeinit5: Got EXEC_NEW '/usr/bin/firefox' from launcher. kdeinit5: preparing to launch '/usr/bin/firefox' No protocol specified Error: cannot open display: :0 kdeinit5: PID 3839 terminated

If that happens, you must be breaking your xauthority files.

What display manager do you use?
Comment 3 Jiri Slaby 2016-09-12 06:43:59 UTC
(In reply to David Edmundson from comment #2)
> If that happens, you must be breaking your xauthority files.

Yes, $XAUTHORITY which is /tmp/xauth-500-_0 disappears when this happens. I have to both
$ cp .Xauthority /tmp/xauth-500-_0
and
$ xhost +
to have it fixed.

> What display manager do you use?

sddm
Comment 4 David Edmundson 2016-09-15 00:19:58 UTC
So you have the file when you log in, then at some point it disappears?
Comment 5 Jiri Slaby 2016-09-20 17:22:20 UTC
(In reply to David Edmundson from comment #4)
> So you have the file when you log in, then at some point it disappears?

Exactly.
Comment 6 David Edmundson 2016-09-22 15:29:35 UTC
Then you have some rogue process on your system deleting it.
It's not plasma.

Sorry, I can't help you any further. Good luck