Two of the programs were installed from the repositories, xeyes, and conky. Two of the programs I wrote myself. The ones that I wrote myself are not installed, I simply run the executables.
The session manager does not recognize the ones that I wrote, so I start them up with startup scripts installed using the System Settings=>Startup and Shutdown page. I have tried starting them up with Desktop Files and Script Files with the same results..... sometimes they do not start.
The programs that I installed from the repository are restarted by the Session Manager since that seems to restore them most of the time. If I put those into the System Settings => Startup and Shutdown page, they get started twice.... sometimes. So I just leave them running when I log out and the Session Manager starts them next time... usually.
Even though I am starting these four programs in two different ways, all of them suffer from random failures to start when I log in, which indicates that the problem is occurring in a generic part of the startup process.
Here is a brief description of my system:
After one of these failures ,when conky failed to run, I grabbed ~/.config/ksmserverrc to see what it thought it was supposed to run:
Code: Select all
System: Host: LinuxMain Kernel: 4.4.0-112-generic x86_64 (64 bit) Desktop: KDE Plasma 5.8.8 Distro: Linux Mint 18.1 Serena Machine: System: ASUS product: All Series Mobo: ASUSTeK model: Z97-A-USB31 v: Rev 1.xx Bios: American Megatrends v: 2501 date: 06/24/2015 Graphics: Card: NVIDIA GM107 [GeForce GTX 750 Ti] Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau) Resolution: email@example.com, firstname.lastname@example.org GLX Renderer: GeForce GTX 750 Ti/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.111
There is conky in the script along with xeyes. Yet xeyes ran, and conky did not.
Code: Select all
brian@LinuxMain ~/.config $ cat ksmserverrc [General] screenCount=1 [LegacySession: saved at previous logout] clientMachine1=localhost clientMachine2=localhost command1=xeyes,-geometry,150x100-30+30 command2=/usr/bin/conky count=2 [Session: saved at previous logout] clientId1=10132b6cfde000151569558600000017210005 clientId2=10132b6cfde000151820233900000247630005 clientId3=10132b6cfde000149894469700000199170015 clientId4=10132b6cfde000150050398700000032010011 clientId5=10132b6cfde000151820234000000247630011 count=5 discardCommand1[$e]=rm,$HOME/.config/session/kwin_10132b6cfde000151569558600000017210005_1518204210_351965 program1=kwin_x11 program2=/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd program3=/usr/bin/gkrellm program4=/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil program5=pulseaudio restartCommand1=kwin_x11,-session,10132b6cfde000151569558600000017210005_1518204210_351965 restartCommand2=/usr/lib/x86_64-linux-gnu/libexec/kdeconnectd,-session,10132b6cfde000151820233900000247630005_1518204210_326910 restartCommand3=/usr/bin/gkrellm,--sm-client-id,10132b6cfde000149894469700000199170015 restartCommand4=/usr/lib/x86_64-linux-gnu/libexec/org_kde_powerdevil,-session,10132b6cfde000150050398700000032010011_1518204210_327203 restartCommand5= restartStyleHint1=0 restartStyleHint2=0 restartStyleHint3=0 restartStyleHint4=0 restartStyleHint5=0 userId1=brian userId2=brian userId3=brian userId4=brian userId5=brian wasWm1=true wasWm2=false wasWm3=false wasWm4=false wasWm5=false
Can someone point me to a description about how all this works or a log that I can look at to see how to trouble shoot this?
This is not a big deal since I just start the programs manually when they fail, but I would like to understand what is going on.