Installing mihomo-party with mihomo kernel on Ubuntu 20.04

mihomo is an upgraded version of clash meta
However, the commonly used software based on the mihomo core does not currently support Ubuntu 20.04, such as

If you are also using Ubuntu 20.04 and cannot upgrade, you can try mihomo-party, which also uses the mihomo core

Personally tested mihomo-party v1.8.5 is usable

Refer to the official documentation to download the deb package, install it with apt, and then start it in a graphical terminal with mihomo-party --no-sandbox as described here

Note

You must use mihomo-party --no-sandbox in a graphical terminal

Image

If you do not use --no-sandbox, the following error will occur

mihomo-party  
[0828/111726.576282:FATAL:electron/shell/app/electron_main_delegate.cc:290] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.  
Trace/breakpoint trap (core dumped)  

If you do not start it in a graphical terminal but directly via SSH terminal, the following error will occur

mihomo-party --no-sandbox  
[6073:0828/112011.188186:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:250] Missing X server or $DISPLAY  
[6073:0828/112011.188216:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.