[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about aptitudetask-ldxe



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


Reply to: