This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma does not save session

Tags: None
(comma "," separated)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Plasma does not save session

Tue May 20, 2014 7:59 am
Please provide the output of "qdbus" and "ps aux | grep -i plasma"


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
binyo66
Registered Member
Posts
54
Karma
0
OS

Re: Plasma does not save session

Wed May 21, 2014 4:01 am
Code: Select all
[irfan@~]$ qdbus
:1.1
 org.kde.klauncher
:1.10
 org.freedesktop.ScreenSaver
 org.kde.ksmserver
 org.kde.ksmserver-3405
 org.kde.screensaver
:1.11
 org.kde.KWin
 org.kde.kwin
 org.kde.kwin-3406
 org.kde.kwin.Compositing
 org.kde.kwin.Effects
 org.kde.kwin.Screenshot
 org.kde.kwin.Scripting
:1.13
 org.freedesktop.Notifications
 org.kde.DeviceNotifications
 org.kde.StatusNotifierHost-3411
 org.kde.plasma-desktop
:1.15
 org.kde.KResourcesManager
 org.kde.krunner
:1.17
 org.kde.JobViewServer
 org.kde.kuiserver
:1.19
 org.freedesktop.Akonadi.Control
 org.freedesktop.Akonadi.Control.lock
:1.2
 org.freedesktop.PowerManagement
 org.freedesktop.PowerManagement.Inhibit
 org.kde.Solid.PowerManagement
 org.kde.Solid.PowerManagement.PolicyAgent
 org.kde.StatusNotifierWatcher
 org.kde.kded
 org.kde.keyboard
:1.20
 org.freedesktop.Akonadi
:1.23
 org.kde.NepomukServer
:1.24
 org.freedesktop.Akonadi.Janitor
:1.25
:1.26
 org.kde.NepomukStorage
 org.kde.nepomuk.services.nepomukontologyloader
 org.kde.nepomuk.services.nepomukqueryservice
 org.kde.nepomuk.services.nepomukstorage
 org.kde.nepomukstorage-3455
:1.28
 org.kde.kmix
:1.35
 org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_1
 org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_1
:1.36
 org.freedesktop.Akonadi.Agent.akonadi_ical_resource_1
 org.freedesktop.Akonadi.Resource.akonadi_ical_resource_1
:1.37
 org.freedesktop.Akonadi.Agent.akonadi_akonotes_resource_1
 org.freedesktop.Akonadi.Resource.akonadi_akonotes_resource_1
:1.38
 org.freedesktop.Akonadi.Agent.akonadi_akonotes_resource_0
 org.freedesktop.Akonadi.Resource.akonadi_akonotes_resource_0
:1.39
 org.freedesktop.Akonadi.Agent.akonadi_contacts_resource_0
 org.freedesktop.Akonadi.Resource.akonadi_contacts_resource_0
:1.40
 org.freedesktop.Akonadi.Agent.akonadi_kalarm_resource_1
 org.freedesktop.Akonadi.Resource.akonadi_kalarm_resource_1
:1.41
 org.freedesktop.Akonadi.Agent.akonadi_ical_resource_0
 org.freedesktop.Akonadi.Resource.akonadi_ical_resource_0
:1.42
 org.freedesktop.Akonadi.Agent.akonadi_kalarm_resource_2
 org.freedesktop.Akonadi.Resource.akonadi_kalarm_resource_2
:1.43
 org.freedesktop.Akonadi.Agent.akonadi_maildir_resource_0
 org.freedesktop.Akonadi.Resource.akonadi_maildir_resource_0
:1.44
 org.freedesktop.Akonadi.Agent.akonadi_kalarm_resource_0
 org.freedesktop.Akonadi.Resource.akonadi_kalarm_resource_0
:1.46
 org.freedesktop.Akonadi.Agent.akonadi_migration_agent
 org.kde.akonadi_migration_agent-3504
:1.48
 org.freedesktop.Akonadi.Agent.akonadi_nepomuk_feeder
 org.kde.akonadi_nepomuk_feeder-3505
:1.5
 org.kde.kglobalaccel
:1.50
 org.freedesktop.Akonadi.Agent.akonadi_maildispatcher_agent
 org.freedesktop.Akonadi.MailDispatcherAgent
 org.kde.akonadi_maildispatcher_agent-3501
:1.52
 org.freedesktop.Akonadi.Agent.akonadi_newmailnotifier_agent
 org.freedesktop.Akonadi.NewMailNotifierAgent
 org.kde.akonadi_newmailnotifier_agent-3506
:1.54
 org.kde.kalarm
:1.56
 org.kde.StatusNotifierItem-3523-1
:1.57
 org.freedesktop.Akonadi.Agent.akonadi_sendlater_agent
 org.freedesktop.Akonadi.SendLaterAgent
 org.kde.akonadi_sendlater_agent-3515
:1.58
 org.freedesktop.Akonadi.Agent.akonadi_folderarchive_agent
 org.freedesktop.Akonadi.FolderArchiveAgent
 org.kde.akonadi_folderarchive_agent-3494
:1.59
 org.freedesktop.Akonadi.Agent.akonadi_archivemail_agent
 org.freedesktop.Akonadi.ArchiveMailAgent
 org.kde.akonadi_archivemail_agent-3491
:1.60
 org.freedesktop.Akonadi.Agent.akonadi_mailfilter_agent
 org.freedesktop.Akonadi.MailFilterAgent
 org.kde.akonadi_mailfilter_agent-3502
:1.61
 org.kde.StatusNotifierItem-3479-1
:1.62
 org.kde.gwenview-3533
:1.67
 org.kde.Polkit1AuthAgent
:1.71
 org.gnome.GConf
:1.72
 org.kde.korgac
:1.74
 org.kde.klipper
:1.78
 org.pulseaudio.Server
:1.79
 org.kde.kwalletd
:1.8
 org.kde.ActivityManager
 org.kde.kactivitymanagerd
:1.81
 org.kde.knotify
:1.84
 org.kde.StatusNotifierItem-3558-1
:1.85
 org.kde.StatusNotifierItem-3554-1
:1.86
 org.kde.nepomuk.services.nepomukfilewatch
 org.kde.nepomukfilewatch-3579
:1.87
 org.kde.nepomuk.services.nepomukfileindexer
 org.kde.nepomukfileindexer-3577
:1.88
 net.sf.roxterm.term
:1.89
 org.ktorrent.ktorrent
:1.91
 org.kde.StatusNotifierItem-3639-1
:1.93
:1.94
 org.kde.kwalletmanager
:1.96
 org.kde.StatusNotifierItem-3981-1
:1.98
org.freedesktop.DBus
[irfan@~]$ ps aux | grep -i plasma
[irfan@~]$

ps aux | grep -i plasma shows no output
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Plasma does not save session

Wed May 21, 2014 9:17 am
That is rather unusual - as plasma-desktop is most certainly running, as the following is present in your qdbus output.
Code: Select all
org.kde.plasma-desktop

Can you please try running the kquitapp command again please?
If it fails, please also post the output of the following command:
Code: Select all
qdbus org.kde.plasma-desktop


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
binyo66
Registered Member
Posts
54
Karma
0
OS

Re: Plasma does not save session

Wed May 21, 2014 2:34 pm
I reboot my computer, and strange... now kquitapp plasma-desktop run ok. it quitted plasma-desktop. Now I dont have any plasma run. How to relaunch it without relogin?
I tried qdbus org.kde.plasma-desktop shows doesn't exist
Code: Select all
[irfan@~/scripts]$ qdbus org.kde.plasma-desktop
Service 'org.kde.plasma-desktop' does not exist.
[irfan@~/scripts]$

I run by typing plasma-desktop and bunch of output in the terminal (but at least I got plasma)
Code: Select all

edit...

[irfan@~/scripts]$ plasma
bash: plasma: command not found
[irfan@~/scripts]$ plasma-desktop
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusObjectPath: invalid path ""
QDBusObjectPath: invalid path ""
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
QGridLayoutEngine::addItem: Cell (0, 0) already taken
plasma-desktop(15655)/libplasma Plasma::PackagePrivate::isValid: Could not find required file mainscript
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
plasma-desktop(15655)/libplasma Plasma::isPluginVersionCompatible: unversioned plugin detected, may result in instability
[irfan@~/scripts]$ ========================>  7 0
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower.
plasma-desktop(15655)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
plasma-desktop(15655)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
file:///usr/local/lib/kde4/imports/org/kde/plasma/components/SectionScroller.qml:103: TypeError: Result of expression 'listView' [null] is not an object.
file:///usr/local/lib/kde4/imports/org/kde/plasma/components/SectionScroller.qml:175: ReferenceError: Can't find variable: sectionsRepeater
file:///usr/local/lib/kde4/imports/org/kde/plasma/components/SectionScroller.qml:103: Error: Cannot assign [undefined] to QString
file:///home/local/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:224:13: QML QDeclarativeListView_QML_63: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:224:13: QML QDeclarativeListView_QML_63: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:224:13: QML QDeclarativeListView_QML_63: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:224:13: QML QDeclarativeListView_QML_63: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:224:13: QML QDeclarativeListView_QML_63: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:224:13: QML QDeclarativeListView_QML_63: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/plasmoids/notifier/contents/ui/devicenotifier.qml:224:13: QML QDeclarativeListView_QML_63: Possible anchor loop detected on fill.
plasma-desktop(15655)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
plasma-desktop(15655)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
plasma-desktop(15655)/plasma StatusNotifierItemSource::refreshCallback: DBusMenu disabled for this application
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/IconsList.qml:53:9: QML MouseRedirectArea: Binding loop detected for property "width"
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/StatusNotifierItem.qml:127:13: QML IconItem_QML_27: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/StatusNotifierItem.qml:127:13: QML IconItem_QML_27: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/StatusNotifierItem.qml:127:13: QML IconItem_QML_27: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/StatusNotifierItem.qml:127:13: QML IconItem_QML_27: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/StatusNotifierItem.qml:127:13: QML IconItem_QML_27: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/StatusNotifierItem.qml:127:13: QML IconItem_QML_27: Possible anchor loop detected on fill.
file:///home/local/share/apps/plasma/packages/org.kde.systemtray/contents/ui/StatusNotifierItem.qml:127:13: QML IconItem_QML_27: Possible anchor loop detected on fill.
plasma-desktop(15655)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
plasma-desktop(15655)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
plasma-desktop(15655)/plasma StatusNotifierItemSource::refreshCallback: DBusMenu disabled for this application
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No action defined for data from source cpu/system/TotalLoad
No
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Plasma does not save session

Sat May 24, 2014 11:24 am
Okay, that was the desired behaviour. If you make some changes to your Plasma Desktop now, then run the kquitapp command and start Plasma Desktop back up again (as you did above) then do the changes persist?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
binyo66
Registered Member
Posts
54
Karma
0
OS

Re: Plasma does not save session

Sat May 24, 2014 4:04 pm
I added folder view widget and kquit-app plasma-desktop, then run plasma-desktop
The widget still there. I am trying to log off now, to see if the widget is there
edit
nope... the widget is gone after logoff and login again :(
Can I put it in the start up script ?
Code: Select all
kquit-app plasma-desktop
plasma-desktop
luebking
Karma
0

Re: Plasma does not save session

Sat May 24, 2014 4:44 pm
So plasma-desktop is reading the correct inside the session, but apparently not when starting up (since even setting the file immutable apparently doen't help)

Smells activity related, you probably do not loose your setting, but plasma just creates a new activity (w/ default setup) on each login.

-> try to delay the plasma-desktop start

copy /usr/share/autostart/plasma-desktop.desktop to ~/.kde[4]/share/autostart and edit the copy:
- Exec=plasma-desktop
+ Exec=sleep 5; plasma-desktop
If that helps, what's the output of
Code: Select all
qdbus org.kde.kactivitymanagerd /ActivityManager/Activities ListActivities
binyo66
Registered Member
Posts
54
Karma
0
OS

Re: Plasma does not save session

Sun May 25, 2014 6:17 am
it is not help. widget still gone after login
Code: Select all
[irfan@ ~/scripts]$ qdbus org.kde.kactivitymanagerd /ActivityManager/Activities ListActivities
240ef564-e2df-40f8-a884-1188591a421d
b46226c5-0722-41e1-8b86-c044b0bc20aa
[irfan@ ~/scripts]$
luebking
Karma
0

Re: Plasma does not save session

Sun May 25, 2014 9:18 am
Is there actually a notable delay in starting plasma? (if unsure, try "sleep 30")

If not, does adjusting /usr/share/autostart/plasma-desktop.desktop (and removing the local copy)
a) cause the delay
b) in that case "help"?
binyo66
Registered Member
Posts
54
Karma
0
OS

Re: Plasma does not save session

Sun May 25, 2014 10:21 am
Changing to sleep 30 has no effect, the widget is gone.
But I found that, if I "lock widget" logoff and login widget is there. If I "unlock widget" the widget is gone (after logoff and login). At least solve widget problem.
Change background image is OK, no problem login and logoff.
Application that I forgot to quit, remain there when I login.
So, looks like, the solution is to "lock widget"
So I changed the sleep to 5.
Code: Select all
[irfan@ ~/.kde4/share/autostart]$ cat plasma-desktop.desktop
[Desktop Entry]
Exec=sleep 5;plasma-desktop
Name=Plasma Desktop Workspace
OnlyShowIn=KDE;
Type=Service
X-DBUS-StartupType=wait
X-KDE-StartupNotify=false
X-KDE-autostart-phase=BaseDesktop
[irfan@ ~/.kde4/share/autostart]$

Note: About the delay, After I press enter key in login dialog, the icon no 5 (K icon) in the splash screen takes a long time (compare to previous version).

Anyway, I think I can close this thread. Because the solution has been found :D


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar