不同的版本报错不一样, 有的显示了文件名,有的不显示,是文件找不到的错误。归根结底是找不到这个文件:gnome-terminal-server
解决方案如下:
It was because on 20.04,
gnome-terminal-server had moved from /usr/lib/gnome-terminal/ to /usr/libexec/
fix:
cd /usr/lib
sudo mkdir gnome-terminal
cd gnome-terminal
sudo ln -s /usr/libexec/gnome-terminal-server