Issue with gnome terminal in Fedora 30

Hello friends,

Recently I installed Anaconda on my machine and since then my terminal has been working inappropriately. I downloaded the anaconda file from their website and issued the command in my terminal: sudo sh anaconda.sh. Since then, whenever I start my terminal I get a blank screen until and unless I press the enter key.


Only after I press the enter key do I get the option to enter any command.

I want to know how can I fix this. Note, after installing anaconda, I did upgrade my workstation to kernel 5.2.13. I may also be a cause to the issue. I dont know. Could any of you please help me out? Here is my system information.

Thanks in advance!

1 Like

Check this:

sudo rpm --rebuilddb
sudo rpm --verify --all

https://paste.fedoraproject.org/

Hey @vgaetera, I tried the above commands but it didn’t help. Any idea what should I do now? Also, I wanted to know what could be the reason for the malfunctioning of the terminal.

1 Like

Please, post the output, so we can isolate the cause of the issue.

I would also check ~/.bash_profile and ~/.bashrc, I think modifications to these can produce effect @c2ycharlie describes.

Default *.bash_profile should look similar to:

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH

and default .bashrc

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# User specific aliases and functions
2 Likes

Here are the outputs @vgaetera. Note: These commands did not help to correct the problem.

missing     /run/gluster/metrics
.M....G..  g /var/log/lastlog
.M.......  c /etc/fstab
.M....G..  g /var/log/lastlog
.M.......  g /var/lock/iscsi
.M.......  g /var/lock/iscsi/lock
........P    /usr/bin/gnome-shell
.......T.    /boot/efi/EFI/fedora/grubx64.efi
.......T.    /boot/efi/EFI/fedora/gcdia32.efi
....L....  c /etc/pam.d/fingerprint-auth
....L....  c /etc/pam.d/password-auth
....L....  c /etc/pam.d/postlogin
....L....  c /etc/pam.d/smartcard-auth
....L....  c /etc/pam.d/system-auth
.M.......  g /run/lock/ppp
.M.......  g /run/ppp
.......T.    /boot/efi/EFI/BOOT/BOOTX64.EFI
.......T.    /boot/efi/EFI/BOOT/fbx64.efi
.......T.    /boot/efi/EFI/fedora/BOOTX64.CSV
.......T.    /boot/efi/EFI/fedora/mmx64.efi
.......T.    /boot/efi/EFI/fedora/shim.efi
.......T.    /boot/efi/EFI/fedora/shimx64-fedora.efi
.......T.    /boot/efi/EFI/fedora/shimx64.efi
.M.......  g /usr/share/fonts/liberation/.uuid
S.5....T.  c /etc/dnf/dnf.conf
.M.......  g /var/lib/dnf
....L....  c /etc/nsswitch.conf
.M.......  g /usr/share/fonts/liberation/.uuid
.M.......  g /usr/share/fonts/liberation/.uuid
.M.......  g /boot/System.map-5.2.13-200.fc30.x86_64
.M.......  g /boot/initramfs-5.2.13-200.fc30.x86_64.img
.M.......  g /run/cryptsetup
.M.......  g /usr/share/fonts/opensymbol/.uuid
.M.......  g /usr/share/fonts/smc-meera/.uuid
.M.......  c /etc/hostname
.M.......  c /etc/locale.conf
.M.......  c /etc/machine-id
.M.......  g /var/log/btmp
.M....G..  g /var/log/journal
S.5....T.  c /etc/plymouth/plymouthd.conf
.M.......  g /var/lib/plymouth/boot-duration
.M.......  g /usr/share/fonts/thai-scalable/.uuid
.M.......  g /usr/share/fonts/.uuid
.M.......  g /usr/share/fonts/google-noto-emoji/.uuid
.......T.  c /etc/openldap/ldap.conf
S.5....T.  c /etc/yum.repos.d/google-chrome.repo
..5....T.  c /etc/yum.repos.d/rpmfusion-nonfree-steam.repo
.M.......  g /var/run/libvirt/qemu
.M.......  g /usr/share/fonts/lohit-devanagari/.uuid
.M.......  g /usr/share/fonts/dejavu/.uuid
S.5....T.  c /etc/selinux/targeted/contexts/files/file_contexts.subs
..5....T.    /var/lib/selinux/targeted/active/commit_num
S.5....T.    /var/lib/selinux/targeted/active/file_contexts
.......T.    /var/lib/selinux/targeted/active/homedir_template
S.5....T.    /var/lib/selinux/targeted/active/policy.kern
.......T.    /var/lib/selinux/targeted/active/seusers
.......T.    /var/lib/selinux/targeted/active/users_extra
.M....G..    /var/log/gdm
.M.......  g /var/lib/PackageKit/transactions.db
..5....T.  c /etc/yum.repos.d/fedora-cisco-openh264.repo
.M.......  c /etc/default/grub
.M.......    /boot/efi/System
.M.......    /boot/efi/System/Library
.M.......    /boot/efi/System/Library/CoreServices
.M.....T.    /boot/efi/System/Library/CoreServices/SystemVersion.plist
.M.....T.    /boot/efi/mach_kernel
S.5....T.    /usr/share/fonts/msttcore/andalemo.ttf
S.5....T.    /usr/share/fonts/msttcore/arial.ttf
S.5....T.    /usr/share/fonts/msttcore/arialbd.ttf
S.5....T.    /usr/share/fonts/msttcore/arialbi.ttf
S.5....T.    /usr/share/fonts/msttcore/ariali.ttf
S.5....T.    /usr/share/fonts/msttcore/ariblk.ttf
SM5....T.    /usr/share/fonts/msttcore/calibri.ttf
SM5....T.    /usr/share/fonts/msttcore/calibrib.ttf
SM5....T.    /usr/share/fonts/msttcore/calibrii.ttf
SM5....T.    /usr/share/fonts/msttcore/calibriz.ttf
SM5....T.    /usr/share/fonts/msttcore/cambriab.ttf
SM5....T.    /usr/share/fonts/msttcore/cambriai.ttf
SM5....T.    /usr/share/fonts/msttcore/cambriaz.ttf
SM5....T.    /usr/share/fonts/msttcore/candara.ttf
SM5....T.    /usr/share/fonts/msttcore/candarab.ttf
SM5....T.    /usr/share/fonts/msttcore/candarai.ttf
SM5....T.    /usr/share/fonts/msttcore/candaraz.ttf
S.5....T.    /usr/share/fonts/msttcore/comic.ttf
S.5....T.    /usr/share/fonts/msttcore/comicbd.ttf
SM5....T.    /usr/share/fonts/msttcore/consola.ttf
SM5....T.    /usr/share/fonts/msttcore/consolab.ttf
SM5....T.    /usr/share/fonts/msttcore/consolai.ttf
SM5....T.    /usr/share/fonts/msttcore/consolaz.ttf
SM5....T.    /usr/share/fonts/msttcore/constan.ttf
SM5....T.    /usr/share/fonts/msttcore/constanb.ttf
SM5....T.    /usr/share/fonts/msttcore/constani.ttf
SM5....T.    /usr/share/fonts/msttcore/constanz.ttf
SM5....T.    /usr/share/fonts/msttcore/corbel.ttf
SM5....T.    /usr/share/fonts/msttcore/corbelb.ttf
SM5....T.    /usr/share/fonts/msttcore/corbeli.ttf
SM5....T.    /usr/share/fonts/msttcore/corbelz.ttf
S.5....T.    /usr/share/fonts/msttcore/cour.ttf
S.5....T.    /usr/share/fonts/msttcore/courbd.ttf
S.5....T.    /usr/share/fonts/msttcore/courbi.ttf
S.5....T.    /usr/share/fonts/msttcore/couri.ttf
S.5....T.    /usr/share/fonts/msttcore/fonts.dir
S.5....T.    /usr/share/fonts/msttcore/fonts.scale
S.5....T.    /usr/share/fonts/msttcore/georgia.ttf
S.5....T.    /usr/share/fonts/msttcore/georgiab.ttf
S.5....T.    /usr/share/fonts/msttcore/georgiai.ttf
S.5....T.    /usr/share/fonts/msttcore/georgiaz.ttf
S.5....T.    /usr/share/fonts/msttcore/impact.ttf
S.5....T.    /usr/share/fonts/msttcore/times.ttf
S.5....T.    /usr/share/fonts/msttcore/timesbd.ttf
S.5....T.    /usr/share/fonts/msttcore/timesbi.ttf
S.5....T.    /usr/share/fonts/msttcore/timesi.ttf
S.5....T.    /usr/share/fonts/msttcore/trebuc.ttf
S.5....T.    /usr/share/fonts/msttcore/trebucbd.ttf
S.5....T.    /usr/share/fonts/msttcore/trebucbi.ttf
S.5....T.    /usr/share/fonts/msttcore/trebucit.ttf
S.5....T.    /usr/share/fonts/msttcore/verdana.ttf
S.5....T.    /usr/share/fonts/msttcore/verdanab.ttf
S.5....T.    /usr/share/fonts/msttcore/verdanai.ttf
S.5....T.    /usr/share/fonts/msttcore/verdanaz.ttf
S.5....T.    /usr/share/fonts/msttcore/webdings.ttf
.M....G..  g /etc/brlapi.key
.M.......  g /boot/System.map-5.2.14-200.fc30.x86_64
.M.......  g /boot/initramfs-5.2.14-200.fc30.x86_64.img
S.5....T.  c /root/.bashrc
.M.......  g /usr/share/fonts/dejavu/.uuid
.M.......  g /run/dbus
S.5....T.    /usr/bin/conda
S.5....T.    /usr/bin/conda-env
.M.......    /boot/efi/EFI
.M.......  g /etc/udev/hwdb.bin
.M.......  c /etc/vconsole.conf
.M.......  g /var/lib/systemd/random-seed
.......T.    /boot/efi/EFI/fedora/grubia32.efi
.M.......  g /etc/crypto-policies/back-ends/nss.config
.M.......  g /usr/share/fonts/google-noto-cjk/.uuid
.M.......  d /usr/share/info/dir.old
....L....  c /etc/nsswitch.conf
.M.......  g /usr/share/fonts/dejavu/.uuid
S.5....T.  c /etc/cups/cups-browsed.conf
.M.......  g /usr/share/fonts/lohit-telugu/.uuid
.......T.    /boot/efi/EFI/BOOT/BOOTIA32.EFI
.......T.    /boot/efi/EFI/BOOT/fbia32.efi
.......T.    /boot/efi/EFI/fedora/BOOTIA32.CSV
.......T.    /boot/efi/EFI/fedora/mmia32.efi
.......T.    /boot/efi/EFI/fedora/shimia32-fedora.efi
.......T.    /boot/efi/EFI/fedora/shimia32.efi
.......T.    /boot/efi/EFI/fedora/gcdx64.efi
.M.......  g /var/cache/dnf/packages.db
.....UG..  g /var/run/avahi-daemon
.M.......  g /usr/share/fonts/google-noto-cjk/.uuid
S.5....T.  c /var/lib/unbound/root.key
.M.......    /var/log/audit

What should I do next?

1 Like

Hello, I did check the bashrc and it appears somewhat like this:

What changes should I make in this?

1 Like

The Bash configuration seems to be modified.
You can restore the default settings this way:

cp -f /etc/skel/{.bash_logout,.bash_profile,.bashrc} ~
3 Likes

Thanks @vgaetera. This saved me a ton!

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.