On 12/26/2016 5:45 AM, Floris wrote:
To run synaptic:
go to root as user pi - su
run synaptic - synaptic

It does not need pkexec to make it run from root.
screen scrape:
pi@raspberrypi:~/linuxcnc/configs/lathe $ su
Password:
root@raspberrypi:/home/pi/linuxcnc/configs/lathe# synaptic
X11 connection rejected because of wrong authentication.

** (synaptic:2792): WARNING **: Could not open X display
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
Unable to init server: Could not connect: Connection refused

(synaptic:2792): Gtk-WARNING **: cannot open display:
localhost:10.0

Next?

Cheers, Gene Heskett

Not recommended, but it will work
as the normal user:
xhost +
su and run synaptic
xhost -

Floris

Don't know if it solves Gene's problem, but reading the man page may have broken a mental logjam on networking.
Thanks.


Reply via email to