5

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?

abu_bua
  • 11,313

2 Answers2

1

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.

abu_bua
  • 11,313
Santoja
  • 11
0

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
pomsky
  • 70,557