Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: kwin is unstable

  1. #1
    Join Date
    Feb 2018
    Location
    Αθήνα, Ελλάδα
    Posts
    31

    Question kwin is unstable

    Hi, I'm using openSUSE 15.0 with KDE.

    The application kget stopped responding, and I then gave the command
    Code:
    killall -9 kget
    which caused several problems to the KDE dekstop: For example, the KDE panel disappeared, and running programmes wouldn't terminate with [Ctrl] + Q. (Various crash messages appeared on the system tray, right before the panel disappeared.)

    Then I logged in as root and opened Dolphin, and the following message appeared:

    kwin is unstable.
    It seems to have crashed several times in a row. You can select another window manager to run.
    Any help with restoring kwin, and reverting the deleterious effects of the above command would be greatly appreciated. Thank you very much in advance!

  2. #2
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    445

    Default Re: kwin is unstable

    Code:
    killall -9 kget
    I haven't checked to verify, but shouldn't that be
    Code:
    killall kget
    or
    Code:
    kill -9 [PID]
    ?
    "Making rich people richer doesn't make the rest of us richer." Ha-Joon Chang
    openSUSE 15.1 4.12.14-lp151.28.16-default x64

  3. #3
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,265

    Default Re: kwin is unstable

    Quote Originally Posted by morera View Post
    Any help with restoring kwin, and reverting the deleterious effects of the above command would be greatly appreciated. Thank you very much in advance!
    There's no telling what processes you may have killed - have you tried a reboot?
    Last edited by hcvv; 29-Mar-2019 at 07:55. Reason: Repaired QUOTE tag
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: kwin is unstable

    Quote Originally Posted by kerijan2003 View Post
    Code:
    killall -9 kget
    I haven't checked to verify, but shouldn't that be
    Code:
    killall kget
    or
    Code:
    kill -9 [PID]
    ?
    I confirm the command shown is not what it should be. And .... never log in on a desktop as root.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Feb 2018
    Location
    Αθήνα, Ελλάδα
    Posts
    31

    Default Απ: kwin is unstable

    Thank you kerijan2003, tannington, Knurpht. I don't know what the difference is, with or without -9, but I had just seen this disastrous
    Code:
    killall -9
    somehwere, probably
    https://www.linux.com/learn/intro-to...s-command-line
    or https://www.booleanworld.com/kill-process-linux/
    So I just copied it thoughtlessly, having no idea it would somehow (how?) mess up kwin.

    I clicked on Shut Down while logged in as root, but a black screen appeared and it failed to switch off. The mouse pointer is still there. Should I try any keyboard shortucts on the black screen before pressing the power button on the machine? Thanks again!

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,623
    Blog Entries
    3

    Default Re: kwin is unstable

    Quote Originally Posted by kerijan2003 View Post
    I haven't checked to verify, but shouldn't that be
    Code:
    killall kget
    or
    Code:
    kill -9 [PID]
    ?
    The man page does mention "-SIGNAL" as an option to "killall".

    On the other hand, I would avoid "-9" with "killall".
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  7. #7
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,265

    Default Re: Απ: kwin is unstable

    Quote Originally Posted by morera View Post
    I clicked on Shut Down while logged in as root, but a black screen appeared and it failed to switch off. The mouse pointer is still there. Should I try any keyboard shortucts on the black screen before pressing the power button on the machine? Thanks again!
    Try to switch to a virtual terminal using CTRL-ALT-F2 then login as your normal user and execute:
    Code:
    sudo /sbin/shutdown -r now
    If that fails, or you are unable to switch to a virtual terminal then try to close down gracefully using the "Magic Sys Request", that is:

    Press and hold the ALT + PrtScr/SysRQ key, then whilst keeping those two keys depressed, press the following keys in sequence: R, E, I, S, U, and B. Allow a few seconds between each key press.

    If that fails, then you'll have to either power off, or use the reset key on the PC.
    Last edited by tannington; 29-Mar-2019 at 09:37. Reason: typo
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

  8. #8
    Join Date
    Feb 2018
    Location
    Αθήνα, Ελλάδα
    Posts
    31

    Default Απ: kwin is unstable

    Dear Tannington, thank you very much for your helpful answer! I fortunately didn't have to use the magic SysRq key, but thanks for sharing this cool combination! I typed Ctrl + Alt + F2, logged in normally, entered
    Code:
    sudo /sbin/shutdown -r now
    as you wrote, and then my computer restarted.

    The panel is still missing, and a konsole window was opened automatically. Basic key combinations involving the Alt key (used to invoke the menu of the active window) do not work, nor does Alt + Tab (to see if there are any other windows open), nor Ctrl + + (which I use to increase the font size within konsole). And the konsole window appears without its borders (but Alt + F3 does not work to bring them back).

    Now if only some venerable guru could spout a few lines that would magically troubleshoot and accordingly restore kwin to its pristinely functional state...

  9. #9
    Join Date
    Feb 2018
    Location
    Αθήνα, Ελλάδα
    Posts
    31

    Default Απ: kwin is unstable

    As a method of last resort, would booting from a snapshot, as described here,

    https://doc.opensuse.org/documentati....snapshot-boot

    undo the damage caused by
    Code:
    killall -9 kget
    ? Thanks

  10. #10
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    1,265

    Default Re: kwin is unstable

    Yes, I imagine that rolling back to (probably) the last snapshot would be the easiest option to restore a working machine. The desktop environment does appear to be rather broken at the moment.

    I don't have snapper enabled on any of my machines as I don't use btrfs, so I'm unable to offer any advice in that respect. The documentation you linked to looks to explain the workings quite well, if you're unsure of anything ask again and I'm sure others will offer assistance.
    Regards, Paul

    2x Tumbleweed (Snapshot: 20191012) KDE Plasma 5
    2x Leap 15.1 KDE Plasma 5

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •