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
pkexec synapticfrom the terminal? – karel Jul 22 '18 at 09:39echo $XDG_SESSION_TYPEshould return eitherx11for Xorg orwayland. – karel Jul 22 '18 at 09:52man historyshows how to search your terminal history. – karel Jul 22 '18 at 09:56