On Thursday 21 May 2015 10:59:59 Mark Wendt wrote:
> On Thu, May 21, 2015 at 10:39 AM, Gene Heskett <[email protected]> 
wrote:
> > > > And I've fooled around and cannot get synaptic to run on either
> > > > of those machines when run from an ssh -Y login.
> > > > gene@shop:/var/cache/apt/archives$ sudo synaptic
> > > > X11 connection rejected because of wrong authentication.
> > > >
> > > > (synaptic:14317): Gtk-WARNING **: cannot open display:
> > > > localhost:11.0
> > > >
> > > > In /etc/ssh/sshd_conf (all machines)
> > > > ForwardX11 = yes
> > >
> > > On my machines, it's "X11Forwarding yes". Typo?
> >
> > Yeah.
> >
> > > Also, try deleting the .Xauthority file in your home directory,
> > > then trying the ssh connection again.
> >
> > killed this one, no change
> > kill shop/home/gene/.Xauthority, squawked but no change, cannot
> > "sudo synaptic", get:
> > X11 connection rejected because of wrong authentication.
> >
> > (synaptic:15610): Gtk-WARNING **: cannot open display:
> > localhost:10.0
> >
> > So in this, I'm standing on the same square I started on. :)
> >
> >
> >
> > Cheers, Gene Heskett
>
> Okay, missed the one little thing that's important - 'sudo synaptic'.
>
> Using sudo is what's giving you the problem. It sorta kinda su's you
> into the root user, which is not the account you ssh'd into, and the
> authentication fails.  Try this instead from the command line - #>
> /bin/sh /usr/bin/synaptic-pkexec
>
> That will bring up the authentication window so you can enter your
> password.  Running synaptic by itself in a non-root account will not
> let you do anything other than look at the packages, or search.
>
> Mark
Someone on the debian list, and we should remember this, said I should:

$>sudo -E synaptic

which works, the gui opens and I installed some ttf fonts from larabee 
without any problems on shop, went to the lathe and updated linuxcnc 
there.  No problems.

So we should maybe file this oone away in the helpfull hints category.

Thanks Mark.  Now, we've about got old pain saddled up for the trip 
north, later.  I even threw in my funeral suit on the hanger bar in the 
space thar claims to be a back seat, if you don't have any knees or 
lower legs.  Its a 3 door GMC, short box too, darn it.

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>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to