When i try to use gnome-software to install something on ubuntu-mate-desktop , "authentication was required" occured.I used vncserver to to start mate-session, because my raspi 4b is headless(no displayer).
# environment :
# host : raspi 4B
# OS : ubuntu server 22.04 for raspi
sudo apt update && sudo apt upgrade -y && sudo apt install ubuntu-mate-desktop tigervnc-standalone-server -y
sudo apt install gnome-software -y
With these code, i can use vnc viewer to log in my desktop without any problem, but the default polkit not work well.
What's more: I like MATE, it is small , fast and low resource usage.So i want to use it on my raspi 4B.If i use the desktop OS directly, the uart not work with default , and it does not preinstall any sshd.So i choose to install MATE on server version.