ssh -X for synaptic on KDE computer

Eberhard Roloff tuxebi at gmx.de
Tue Apr 21 14:23:53 UTC 2009


Hi,

I frequently use ssh -X (X forwarding) to use the openoffice from my 
tiny old laptop (Xubuntu 8.10) on my larger screen desktop (Kubuntu 8.10).

This works greatly.

Now I wanted to use synaptic remotely on the notebook because I screwed 
up the nvidia configuration and had no obvious solution to repair this.

This is what I did:
ssh -X user at desktop

works ok!

then:
sudo synaptic
X11 connection rejected becuase of wrong authentication
/synaptic:18117): Gtk-Warning **: cannot open display: localhost:10.0

the same happens when I try to do
kdesu synaptic

I searched a lot on google but just found people having the same 
problem, just no solution.

Now something very funny:
When I use synaptic from the xfce notebook on my desktop, it works as 
intented. So I can do the package management of my xfce notebook from my 
kde desktop, but not vice versa.

Also, if I use KDE's adept remotely on the Xfce notebook, this works 
greatly on both sides (for this to work, I had to install it on the xfce 
notebook). Btw.: This is how I solved the problem. I used the ugly adept 
instead of synaptics glory.

So did anyone manage to use synaptic on KDE remotely via ssh?
If so, how did you do it?

Thanks for any help
Eberhard

Eberhard





More information about the kubuntu-users mailing list