When I try to open synaptic via the command line, I got this:
user@hostname ~ $ sudo synaptic
[sudo] password for user:
No protocol specified
** (synaptic:4516): WARNING **: Could not open X display
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
(synaptic:4516): Gtk-WARNING **: cannot open display: :0
What should I do?