Sooo, that's the thing, for some reason now I cannot open graphical applications from the terminal, something that is curious to me is that I can launch gedit(for example) from my keyboard shortcut (i got it like Ctrl + Alt + G), but from the terminal, i got this error:
Unable to init server: Could not connect: Connection refused` (gedit:6690): Gtk-WARNING **: 22:38:15.851: cannot open display: 1
I tried something that I got from internet: xhost + this is for (if i understood it well) for allow all the applications to start a graphical server, but it outputs:
xhost: unable to open display "1"
I don't know why I'm getting this error because an hour ago I could launch graphic applications from the terminal. soo any help is appreciated :)
PS: this error happens with all the applications that I tried to launch from the terminal