minikube dashboard启动失败,Failed to open connection to "session" message bus: Unable to autolaunch a db

Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Running without a11y support!
Error: no DISPLAY environment variable specified
xdg-open: no method available for opening 'http://192.168.99.100:31700'
百度了白天没有解决,有人说是镜像下载失败了,被墙了,按着操作一遍不行。有人说是dashboard服务没有打开,打开命令看了下,服务打开了!结果发现是当前系统登录的用户是普通用户,而终端操作登录的用户是root,这时root是以命令行方式登录的,没有图形化界面,所以无法打开浏览器。

你可能感兴趣的:(minikube dashboard启动失败,Failed to open connection to "session" message bus: Unable to autolaunch a db)