Announcement

Collapse
No announcement yet.

kblankscrn.kss

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kblankscrn.kss

    When Kubuntu boots I get a bunch of windows open named "kblankscrn.kss". I researched this problem before and found how to kill them all with this terminal command:

    killall -9 kblankscrn.kss
    That works, but it would be nice if I could boot up my computer without having to bother with this. I keep thinking one of the updates will finally solve this glitch, but it persists.
    Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
    ================================

    #2
    After you have killed them.

    System Settings > Startup & Shutdown > Session Management > On Login > Start with an empty session
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      After you have killed them.

      System Settings > Startup & Shutdown > Session Management > On Login > Start with an empty session
      Thanks. I just put that in. I'll see what happens when I reboot.

      Edit: I'm back after the reboot. It worked! Thanks.
      Last edited by Tom_ZeCat; Aug 24, 2013, 02:18 PM.
      Kubuntu 22.04 (desktop & laptop), Windows 7 &2K (via VirtualBox on desktop PC)
      ================================

      Comment


        #4
        Noticed this bug since about ±5 days ago. Snowhog's tip works but is no satisfactory solution for me because I then need to re-add my superkaramba widget stuff to the desktop.
        So, until there is a fix, I will just continue to close the 2x kblankscrn windows after logging in.

        https://bugs.kde.org/show_bug.cgi?id=314859

        Comment


          #5
          Workarounds - not fixes

          Another Kubuntu forums topic: http://www.kubuntuforums.net/showthr...r-it-s-off-Bug



          Bug 314859 - Multiple windows with title "kblankscrn.kss" appears after login
          https://bugs.kde.org/show_bug.cgi?id=314859




          KDE System Settings > Startup and Shutdown > Session Management - exclude the screen savers from the restored.




          Bug 224200 - multiple kblankscrn.kss in memory
          https://bugs.kde.org/show_bug.cgi?id=224200

          Add a 'daemon' /1/ to clean the process list

          Simple infinite loop - kill the older '.kss' processes if there are more than 1.

          Code:
          #!/bin/sh
          
          while true; do
             howMany=`ps -ef | grep -v grep | grep '.kss' | wc -l`
          
             if [ $howMany -gt 1 ];  then 
                pkill -f -o '.kss'
             fi
             sleep 30 
          done
          Start the 'daemon' with the KDE System Settings > Startup and Shutdown > Autostart




          man pkill
          NAME
          pgrep, pkill - look up or signal processes based on name and other attributes

          SYNOPSIS
          pgrep [options] pattern
          pkill [options] pattern
          ...
          pkill will send the specified signal (by default SIGTERM) to each process instead of listing them
          on stdout.
          ...
          -f, --full
          The pattern is normally only matched against the process name. When -f is set, the full
          command line is used.
          ...
          -o, --oldest
          Select only the oldest (least recently started) of the matching processes.


          More

          1. http://en.wikipedia.org/wiki/Daemon_(computing)
          Last edited by Rog132; Oct 13, 2013, 11:23 AM.
          A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
          Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

          Comment

          Working...
          X