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
------------------------------------------------------------------------------
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