Support Questions
Find answers, ask questions, and share your expertise

using gedit on Hortonworks Sandbox

Solved Go to solution
Highlighted

using gedit on Hortonworks Sandbox

Explorer

'gedit' does not seem to be available on the sandbox, so I installed it using 'yum install gedit'.

But then when I run gedit it says "Gtk-WARNING **: cannot open display".

I am using the webclient SSH shell on 127.0.0.1:4200

Any suggestions on how to resolve this? And/or is there another easy-to-use editor already installed (other than vi)?

thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: using gedit on Hortonworks Sandbox

Mentor
@David Andreae

gedit doesn't work Sandbox doesn't have a Window Manager like Gnome or KDE. You can follow tutorial from Ali Bajwa to add Gnome and then you can use GEDIT or any IDE you'd like.

View solution in original post

6 REPLIES 6
Highlighted

Re: using gedit on Hortonworks Sandbox

Highlighted

Re: using gedit on Hortonworks Sandbox

Explorer

thanks Neeraj. Do you have any ideas why the gedit won't run? And is there no other already-installed simple non-vi editor in the sandbox?

Highlighted

Re: using gedit on Hortonworks Sandbox

@David Andreae

emacs....you can try that. I found vi is easy to use

Highlighted

Re: using gedit on Hortonworks Sandbox

@David Andreae Just played with nano ...Easy to use

Highlighted

Re: using gedit on Hortonworks Sandbox

Mentor
@David Andreae

gedit doesn't work Sandbox doesn't have a Window Manager like Gnome or KDE. You can follow tutorial from Ali Bajwa to add Gnome and then you can use GEDIT or any IDE you'd like.

View solution in original post

Re: using gedit on Hortonworks Sandbox

Explorer

ah, thanks Artem, that's clarifying.