0

Based on what I've researched I've installed something which is causing this problem: Ubuntu 16.04 boots fine and goes to my desktop but I can't open a terminal session no matter what I try. When I Ctrl-Alt-F1 - F6 to log in, it loops back to login.

If I need a terminal to fix this I'm unsure how I can do that.

3
  • 2
    Can you hit Alt+F2 and type the command gnome-terminal -e sh there? That should open a terminal with the sh shell instead of bash. If that works, open the .bashrc file in your home directory and share its content here, otherwise check the .profile file.
    – Byte Commander
    Aug 27 '17 at 21:11
  • 1
    You can also see your .bashrc and .profile files in the file browser. Open it and press ctrl+H to see hidden files, then you can see if those files are responsible by renaming them eg .bashrc.bak .profile.bak, then navigating to the top level directory and going into etc, then skel, copying the clean versions of the files and pasting them into your home directory in place of the old ones. If this helps but you want to find the exact issue, open the broken file(s) and do as @ByteCommander suggested (add the content here by editing your question)
    – Zanna
    Aug 28 '17 at 9:43
  • @Byte Commander Here's my .bashrc paste.ubuntu.com/25429989 and here's the .profile paste.ubuntu.com/25430003
    – john
    Aug 30 '17 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.