Multipass launch failed

launch failed: cannot connect to the multipass socket
please ensure multipassd is running and ‘/var/snap/multipass/common/multipass_socket’ is accessible
求各位帮忙看看有没有遇到过类似的问题

你好,我想请教一个问题,运行multipass launch 提示错误,信息如下
launch failed : cannot connect to the multipass socket.
想问你一下,有没有碰到过这种错误?

Hi @huache, what’s your host OS? This suggests your user does not have administrator privileges, which are currently a requirement for Multipass.

你好,我的主机是麒麟的操作系统,也就是LINUX系统。
但是我用ROOT管理员权限执行multipass launch命令,也是这个错误提示啊。求解

Is the socket there at all?

$ ls -l /var/snap/multipass/common/multipass_socket 
srw-rw---- 1 root sudo 0 wrz 29 16:12 /var/snap/multipass/common/multipass_socket

What’s the status of the service?

$ snap services multipass
Service               Startup  Current  Notes
multipass.multipassd  enabled  active   -
$ systemctl status snap.multipass.multipassd.service
● snap.multipass.multipassd.service - Service for snap application multipass.multipassd
     Loaded: loaded (/etc/systemd/system/snap.multipass.multipassd.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2020-09-29 16:12:31 CEST; 5h 44min ago
   Main PID: 1011222 (multipassd)
      Tasks: 11 (limit: 9337)
     Memory: 25.8M
     CGroup: /system.slice/snap.multipass.multipassd.service
             └─1011222 /snap/multipass/2643/bin/multipassd --verbosity debug --logger platform