pgadmin4-web – Provides the web interface accessible in a web browser
pgadmin4-desktop – Provides desktop application for Ubuntu system, which required Ubuntu Desktop system.
You can install both or one from them of your choice. If you have installed both or pgadmin4-web, run the below command to configure it. This will add a login screen to pgAdmin4 web dashboard.