[Techtalk] ssh, sudo su, and X forwarding

Riccarda Cassini riccarda.cassini at gmx.de
Fri Jul 30 19:37:42 EST 2004


Hi all,

my local guru is temporarily unavailable, so I thought I'd ask here...

I need to ssh into some remote system to debug a problem a client has
reported.  As I cannot reproduce the problem under my own UID, the
remote admin has setup things such that I can do a "sudo su someuser".
However, when I try to start the application (which requires X) after
having done the "sudo su" I get:

X11 connection rejected because of wrong authentication.
X connection to somehost.somedomain.de:10.0 broken (explicit kill or server
shutdown).

What am I doing wrong?  I believe X forwarding is enabled for the ssh
connection.  I even tried "xhost +" on my local system, but to no
avail... (probably because there's a firewall in between).
(Yes, I know I'm not supposed to set "xhost +" ... I promise it was
just for testing, for 10 seconds only ;-)

TIA,
Riccarda



-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl



More information about the Techtalk mailing list