Bug 369350 - Some applications (choqok) fail to autostart in 5.8 beta
Summary: Some applications (choqok) fail to autostart in 5.8 beta
Status: RESOLVED NOT A BUG
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.95
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-25 19:38 UTC by Antonio Rojas
Modified: 2016-12-13 08:37 UTC (History)
2 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 Antonio Rojas 2016-09-25 19:38:19 UTC
After upgrading to Plasma 5.8 beta, some applications fail to autostart: in my case it's choqok. Other applications seem to autostart fine. Downgrading to 5.7 (while keeping the same version of all other packages) makes it work again, so this is definitely caused by the Plasma upgrade.

Related logs:

> journalctl -b /usr/bin/ksmserver
-- Logs begin at mar 2016-07-19 11:16:49 CEST, end at dom 2016-09-25 21:32:46 CEST. --
sep 25 21:27:47 arl-portatil ksmserver[704]: Qt: Session management error: networkIdsList argument is NULL
sep 25 21:27:47 arl-portatil ksmserver[704]: Configuring Lock Action
sep 25 21:27:47 arl-portatil ksmserver[704]: XSync seems available and ready
sep 25 21:27:47 arl-portatil ksmserver[704]: XSync Inited
sep 25 21:27:47 arl-portatil ksmserver[704]: Supported, init completed
sep 25 21:27:47 arl-portatil ksmserver[704]: Created alarm 20971521
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: "/run/user/1000/KSMserver"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: KSMServer: SetAProc_loc: conn  0 , prot= local , file= @/tmp/.ICE-unix/704
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: KSMServer: SetAProc_loc: conn  1 , prot= unix , file= /tmp/.ICE-unix/704
sep 25 21:27:47 arl-portatil ksmserver[704]: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.14'
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/baloo_file.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/kdeconnectd.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/krunner.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/pam_kwallet_init.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/plasmashell.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Autostart 0 done
sep 25 21:27:47 arl-portatil ksmserver[704]: kcminit not running? If we are running with mobile profile or in another platform other than X11 this is norm
sep 25 21:27:47 arl-portatil ksmserver[704]: detected kglobalaccel restarting, re-registering all shortcut keys
sep 25 21:27:47 arl-portatil ksmserver[704]: Session path: "/org/freedesktop/login1/session/c2"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Kcminit phase 1 done
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: autostart service "/usr/lib/pam_kwallet_init" finished with exit code  0
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop"
sep 25 21:27:47 arl-portatil ksmserver[704]: ksmserver: Autostart 1 done
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting notification thread
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/home/antonio/.config/autostart/choqok.desktop"
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/home/antonio/.config/autostart/dropbox.desktop"
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/home/antonio/.config/autostart/ownCloud.desktop"
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/home/antonio/.config/autostart/yakuake.desktop"
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/org.kde.korgac.desktop"
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/powerdevil.desktop"
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/etc/xdg/autostart/kup-daemon.desktop"
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Autostart 2 done
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Kcminit phase 2 done
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: autostart service "start-pulseaudio-x11" finished with exit code  0
sep 25 21:27:49 arl-portatil ksmserver[704]: ksmserver: autostart service "choqok" finished with exit code  254
sep 25 21:27:49 arl-portatil ksmserver[704]: completeShutdownOrCheckpoint called

 > journalctl -b | grep choqok
sep 25 21:27:48 arl-portatil ksmserver[704]: ksmserver: Starting autostart service  "/home/antonio/.config/autostart/choqok.desktop"
sep 25 21:27:49 arl-portatil ksmserver[704]: ksmserver: autostart service "choqok" finished with exit code  254


Reproducible: Always
Comment 1 Antonio Rojas 2016-09-26 06:30:49 UTC
It's the infamous konsole regression again
Comment 2 AJSlye 2016-12-06 20:12:06 UTC
If this is not a bug then what caused it?
There is a user running Maui reporting a similar issue with dropbox and pidgin.
https://forums.mauilinux.org/showthread.php?tid=24149
Comment 3 roman.dinga 2016-12-12 11:20:11 UTC
I have finally found the rootcause of this. It was the modesetting driver. When I reverted back to the intel driver, the xembedsniproxy starts OK at startup again. So I guess modesetting is not ready for prime time yet. I've also noticed various glitches with modesetting in plasma, especially with turned on Informational tips, with window thumbnails on taskbar - they are sometimes corrupt.
Comment 4 roman.dinga 2016-12-13 08:37:50 UTC
Unfortunately modesetting was not the rootcause - it was just a "lucky reboot", since it doesn't happen all the time - just around 80%. It seems that there is something xembedsniproxy needs to have running in order to start up correctly. I've tried pushing the startup phase in the desktop file in /etc/xdg/autostart to phase 2 and even to 4, but no luck. At the end I made a workaround that does this:

> sleep 10 && bash -c "xembedsniproxy &"

10 seconds after logging in it always starts up correctly.