Support Questions

Find answers, ask questions, and share your expertise

using gedit on Hortonworks Sandbox

avatar
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

avatar
Master 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

avatar
Master Mentor

avatar
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?

avatar
Master Mentor
@David Andreae

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

avatar
Master Mentor

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

avatar
Master 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.

avatar
Explorer

ah, thanks Artem, that's clarifying.