I installed Synaptic in Ubuntu 18.04 without any error. It appears between applications. but when I try to open it I enter the password and do not open.
Results of running pkexec synaptic from the terminal:
Unable to init server:
Could not connect: Connection refused (synaptic:3345):
Gtk-WARNING **: 12:41:48.105: cannot open display: :0