将 17.10 升级到 18.04 时出错

将 17.10 升级到 18.04 时出错

运行命令时出现以下错误sudo update-manager -d。为什么会出现此错误?如何解决?

sudo update-manager -d
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused
Invalid MIT-MAGIC-COOKIE-1 keyUnable to init server: Could not connect: Connection refused

(update-manager:2298): Gtk-WARNING **: cannot open display: :0

相关内容