Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175945

Re: question about aptitudetask-ldxe

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: question about aptitudetask-ldxe
Date 2016-12-26 16:10 +0100
Message-ID <sSF4t-6lc-5@gated-at.bofh.it> (permalink)
References <sStZn-7hc-3@gated-at.bofh.it> <sSwNz-VP-5@gated-at.bofh.it> <sSBWW-4gI-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday 26 December 2016 06:45:31 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
I am logged into it from this machine ATM, and part of opening a terminal 
here is an xhost +. So it is in effect at both ends of the cable.

Another screen scrape:

pi@raspberrypi:~/linuxcnc/configs/sheldon-lathe $ xhost +
access control disabled, clients can connect from any host
pi@raspberrypi:~/linuxcnc/configs/sheldon-lathe $ su
Password: 
root@raspberrypi:/home/pi/linuxcnc/configs/sheldon-lathe# synaptic
X11 connection rejected because of wrong authentication.

** (synaptic:24533): 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:24533): Gtk-WARNING **: cannot open display: localhost:10.0

Thanks Floris.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

question about aptitudetask-ldxe Gene Heskett <gheskett@shentel.net> - 2016-12-26 04:20 +0100
  Re: question about aptitudetask-ldxe David Wright <deblis@lionunicorn.co.uk> - 2016-12-26 05:20 +0100
    Re: question about aptitudetask-ldxe Gene Heskett <gheskett@shentel.net> - 2016-12-26 06:00 +0100
      Re: question about aptitudetask-ldxe Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-12-26 06:50 +0100
        Re: question about aptitudetask-ldxe Gene Heskett <gheskett@shentel.net> - 2016-12-26 07:20 +0100
          Re: question about aptitudetask-ldxe Floris <jkfloris@dds.nl> - 2016-12-26 12:50 +0100
            Re: question about aptitudetask-ldxe Richard Owlett <rowlett@cloud85.net> - 2016-12-26 13:40 +0100
              Re: question about aptitudetask-ldxe rhkramer@gmail.com - 2016-12-26 15:20 +0100
            Re: question about aptitudetask-ldxe Gene Heskett <gheskett@shentel.net> - 2016-12-26 16:10 +0100
            Re: question about aptitudetask-ldxe Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-27 14:20 +0100
          Re: question about aptitudetask-ldxe kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-12-26 18:10 +0100
      Re: question about aptitudetask-ldxe Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2016-12-26 12:40 +0100

csiph-web