[SOLVED] Can't open terminal

Issues related to applications and software problems
Post Reply
Atik
Posts: 4
Joined: 2018/04/11 07:57:46

[SOLVED] Can't open terminal

Post by Atik » 2018/04/11 08:13:25

Hi all,

I have installed a CentOS 7 VM with VMWare few weeks ago (the host machine is (sadly) running with Windows 7 Pro). All was working all right until yesterday : i can't open terminal anymore. When i click on the icon, i have a error message : "there was an error launching the application" (which doesn't tell a lot about it...).
However, i still can access it with ctrl+alt+f4.

It is the first time i have this kind of problem and i didn't find anything about it on internet. Also i'm new with centOS, so i don't really know where i should start to solve this.

Any clues ?
Last edited by Atik on 2018/04/12 15:11:05, edited 1 time in total.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Can't open terminal

Post by tunk » 2018/04/12 10:57:50

KDE or Gnome?
Which icon, desktop or menu?
Try to right-click the icon and select properties.

Atik
Posts: 4
Joined: 2018/04/11 07:57:46

Re: Can't open terminal

Post by Atik » 2018/04/12 11:17:55

Hi,

I'm using Gnome. I tried with the desktop icon, i cannot find it with the menu (even with the research tool).
I also tried with an other user, it didn't open neither.
What can i do once i know the properties ? I've attached screenshot if needed (the hidden text is my username - sorry it's all in french...).
Attachments
terminal2.png
terminal2.png (44.09 KiB) Viewed 13390 times
terminal1.png
terminal1.png (63.35 KiB) Viewed 13390 times

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Can't open terminal

Post by tunk » 2018/04/12 14:36:28

Go back to the terminal and write this: which gnome-terminal
On my system it shows /bin/gnome-terminal

Atik
Posts: 4
Joined: 2018/04/11 07:57:46

Re: Can't open terminal

Post by Atik » 2018/04/12 14:44:00

Ok, on mine it writes :
Attachments
which_command.png
which_command.png (4.7 KiB) Viewed 13359 times

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Can't open terminal

Post by tunk » 2018/04/12 14:52:35

I guess you could try this as root: yum install gnome-terminal
But really it should be installed - I have no idea why it stopped working.

Atik
Posts: 4
Joined: 2018/04/11 07:57:46

Re: Can't open terminal

Post by Atik » 2018/04/12 15:06:15

I don't know why, but it worked.
Thanks for your help !

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't open terminal

Post by TrevorH » 2018/04/12 15:08:24

You've either mucked up your PATH or you've deleted the executable or removed the gnome-terminal package. Your screenshot of the which command shows that /bin is still listed in your PATH so that leaves the last two options. If rpm -q gnome-terminal says it's installed then run rpm -V gnome-terminal and if it lists /bin/gnome-terminal as missing then yum reinstall gnome-terminal. If it's not installed at all then yum install gnome-terminal
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply