kwin crashed ! wtf i can’t move windows how to solve the problem without restarting


ok let’s face it , when you are eating a lots of ram or maybe ,like me, when you are using the computer without a restart since …. 4 weeks well … kwin could even crash but i mean … i don’t want restart wtf it’s linux after all. But many times you can’t write or launch a terminal so easily like in this screenshot .. i was not able to write …( there is  a way btw  to write in the konsole  and it’s this => by double-clickin the window of the konsole where you can read the session name at the bottom RIGHT… where you can read sem ~bash but this way could be more usefull in some situations.

montorioadf 3

let’s see what you can do …

CRTL ALT F7 It’s your current session , so you need to restart another one with

    • CRTL ALT F6 for example or f5 etc etc                                                                                 now you have the fuckin terminal login
    • make your silly login
    • now you should do this
    • export DISPLAY=:0 ; kwin --replace
    • now if kwin doesn’t crash you can go back in your session with CRTL ALT F7

 

Now seriously …. you have to do that everytime? no of course i suggest to paste in your bashrc (LOCATED IN $HOME/.bashrc)

this nasty code : D NB MAKE SURE TO COPY WELL POSSIBILE ERRORS COPYING FROM WORDPRESS COULD OCCUR

kwinrestarter(){
export $(dbus-session)
export DISPLAY=:0
kwin --replace 
}

Now you can do

source ~/.bashrc          #or  source $HOME/.bashrc

and so … magically  :)

kwinrestarter

ERRORS YOU COULD SEE ….

you could see this error that i solved in a root way😀

kwin crashing saying that  you need to do do this

export $(dbus-session)

but of course i did it but it did not work😀 because i had this silly error

unable to create .dbus/session-bus

why ? because for some reasons i had a fucking permission problem well removed the silly folder with

sudo rm -R ~/.dbus

then again

kwin --replace

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: