GTK Error

maelamrani

New Member
Credits
47
Hello,
I'm using RHEL minimal installation, i installed gvim / gedit btu when i use it :
gvim/gedit file
I got an error message :
gedit:1320: Gtk:Warning **: ....: cannot open display

or with gvim : E233: cannot open display

How can't i fix this issue
I installed developement tools = NOK

Kind regards
 


dos2unix

Well-Known Member
Credits
1,324
Which version of redhat? 6, 7 or 8?

Note that unless you have a redhat subscription, some packages will be blocked, and you cannot download them. If this is the case, you will probably want to install CentOS or Fedora.

You will need to do either

yum group install "Server with GUI"

or if using redhat 8

dnf group install "Server with GUI"

When this finishes you need to do this...

systemctl set-default graphical.target

then reboot.
 

dos2unix

Well-Known Member
Credits
1,324
gvim and gedit are graphical programs that require a graphical environment to run in.

If you just want to use CLI editing tools,
I would recommend vi, vim, pico, or emacs.

Some of these have a steep learning curve unless you are already familiar with them.
 


Members online


Latest posts

Top