My gedit application is working as normal when I launch it from launch menu and I can do all the kind of things.
However when I go to terminal and issue the following command:
gedit text1
Then I get the following output:
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
(gedit:3825): Gtk-WARNING **: cannot open display:
However the application vim is working as normal.
This is very frustrating as I normally work in terminal and rarely use GUI except for gedit
It may be noted that today I have installed openssh server. And henceafter I am facing this problem. Why is this happening