How to fix the problem with synaptic is launched?

Does not start synaptic from the label, so is the standard package Manager. When you try to run asks password I insert it the window disappears, and nothing is going on. When trying to run via console with the command "sudo synaptic" writes an error:
No protocol specified
Unable to init server: could Not connect: connection refused

(synaptic:5089): Gtk-WARNING **: cannot open display: :0
June 8th 19 at 17:25
1 answer
June 8th 19 at 17:27
And must not run. To do this, gksudo is.
I tried using gksudo, there was a message:
Failed to run synaptic as root.

You cannot copy a custom file X-authorization.


And in the terminal:
gksudo synaptic
Error copying '/home/oleg/.Xauthority' to '/tmp/libgksu-lSJx1M': No such file or directory
- Vivienne_Lang commented on June 8th 19 at 17:30
Apparently the edit on the tmp folder app, folder or flew))
Or no Xauthority file in your root - Izabella commented on June 8th 19 at 17:33
looked no Xauthority file and how to restore it? - Vivienne_Lang commented on June 8th 19 at 17:36
, help.ubuntu.ru/wiki/%D0%BF%D1%80%D0%BE%D0%B1%D0%BB... - Izabella commented on June 8th 19 at 17:39

Find more questions by tags Ubuntu