Ubuntu20.04 cannot open the terminal

Ubuntu20.04 cannot open the terminal

Download xterm and enter gnome-terminal to display:

Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

insert image description here

Enter gnome-terminal display using command mode

Please add a picture description
Unable to init server :could not connect : connection refused
#failed to parse arguments : Cannot open display

Solution:

1. Install gnome-session
sudo apt-get install gnome-session
2, run gnome-session
gnome-session
3, ctrl + alt + t shortcut key or right click open in terminal to test whether it is successful

success

Guess you like

Origin blog.csdn.net/qq_52201641/article/details/128589886