I cant' run " $ gedit " from the shell

Asked by Federico on 2010-03-29

Hi everybody,

I always have run gedit, the text editor from the shell, but since some days ago I can't! This is the error message reported:

" Gtk-WARNING **: cannot open display "

I didn't change no configurations or similar things, I really don't know the reason! Could you help me?

Thanks in advance for your usefulness!

Federico

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
2010-03-29
Last reply:
2010-03-29

Federico,

When you say "shell" do you mean on of the virtual consoles (ctrl+alt+F1, the all black text screen)?

" Gtk-WARNING **: cannot open display " sounds like you aren't in Xorg - which gedit requires to run.

An editor you can use in a text console would be nano.

Good luck,
George

Can you help with this problem?

Provide an answer of your own, or ask Federico for more information if necessary.

To post a message you must log in.