Cannot open Gnome-Terminal Ubuntu 17.10

After upgrading to Ubuntu 17.10 from 17.04, I have been unable to launch gnome-terminal.
Upon clicking terminal icon, the taskbar shows terminal loading bar but then disappears after a few seconds.

Terminal loading in the taskbar:

Image

I have tried the following:

  • Purged and Re-installed gnome-terminal
  • sudo apt-get autoremove and fix-missing
  • Changed locale to en_US in /etc/default/locale

I am able to access xterm and running gnome-terminal returns the following:

No protocol specified
Unable to init server: Could not connect:
Connection refused
Failed to parse arguments: Cannot open display:

Searching the error gives results solving terminal access issues over an ssh connection which is not my case.

How do I fix this and get gnome-terminal running?

7

2 Answers

I has the same problem but with file-roller and follow this solution.

You have to change this file /etc/ssh/sshd_config (with root permissions). Just add

X11Forwarding yes

After saving the file, initialize a new terminal or reboot the system.

1

If you have installed new python 3.5 env you are unable to open gnome-terminal. Use the following commands:

  1. sudo rm /usr/bin/python3
  2. sudo ln -s python3.5 /usr/bin/python3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like