I am installing hadoop in ubuntu 19 and I am trying to edit bashrc file in gedit but unable to edit gedit bashrc file please help me how to do. This my hduser dir:
when I am sitting the path to hadoop in gedit, It throughs an error.
hdusr@suri-VirtualBox:/home/suri/Desktop$ sudo gedit Unable to init server: Could not connect: Connection refused (org.gnome.gedit:26356): Gtk-WARNING **: 17:44:15.925: cannot open display:
after that i tried xhost + but didn't work for me please help me how to fix it.