GTK Error

maelamrani

Member
Joined
Jan 3, 2020
Messages
77
Reaction score
7
Credits
450
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
 


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.
 
hello i use redhat 8, i cannot use it withotu gui i wanna work just with terminal
 
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.
 


Top