apps won't open and I tried to open dolphin from terminal, this is error I got:
Invalid MIT-MAGIC-COOKIE-1 keyqt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted
UPDATE:
now I got this error when I updated my .bashrc
Invalid MIT-MAGIC-COOKIE-1 keyxprop: unable to open display ':0'
just added this lines
source /etc/profile.d/undistract-me.sh
dj-source()
{
wd=$(pwd)
if test -d $wd/venv ; then
FILE=$wd/venv/bin/activate
source $FILE
elif test -d $wd/../venv ; then
FILE=$wd/../venv/bin/activate
source $FILE
fi
}