3

I am using Ubuntu 14.04 LTS, and for installing Hadoop I created hadoop user as hduser. When I try to open ~/.bashrc using gedit am getting an error as follows,

hduser@arul-java ~ $ gedit ~/.bashrc

(gedit:9254): Gtk-WARNING **: cannot open display: 
hduser@arul-java ~ $ 

How to solve it ?

9
  • An X-Server is running?
    – A.B.
    Oct 6, 2015 at 9:05
  • 1
    Use nano ~/.bashrc
    – A.B.
    Oct 6, 2015 at 9:05
  • @A.B. how to solve it ?
    – A J
    Oct 6, 2015 at 9:05
  • Solve what? Start a X-Server?
    – A.B.
    Oct 6, 2015 at 9:06
  • @A.B. nano working thanks, but can you tell me how to open with gedit ?
    – A J
    Oct 6, 2015 at 9:07

1 Answer 1

2

Normally a server with Hadoop doesn't have a graphical environment and after a brief conversation in the chat turned out that it is not at all absolutely necessary to use gedit. It concerns only the processing of a configuration file and that's done quicker with nano or vi.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .