🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.hp-ux
Article #4128

X11 and su with SSH

#4128
From: DM
Date: Wed, 18 May 2005 13:03
29 lines
1349 bytes
Here is the scenario:

 From Server A (HP-UX 11.11) I ssh to Server B (HP-UX 11.23)

ssh -X -l user1 ServerB

 From user1 I can get X11 to work:

xclock

On host ServerB if I su - to user1 from user1 and export my DISPLAY it 
still works.

However, on Server B, if I su - to user 2 it does not work.  I get the 
error:
X11 connection rejected because of wrong authentication


We have X11 fowarding enabled in sshd_config.

I have tried playing with xhosts etc.

It seems this "cross" user pipe does not work.

Any help is greatly appreciated!!!!


thanks,
DM
Technical Details
Message-ID: <U2Hie.7$lK.3722@news.uswest.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.glorb.com!mpls-transit-01.news.qwest.net!207.225.159.1.MISMATCH!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!newsfeed.pionier.net.pl!news.glorb.com!mpls-transit-01.news.qwest.net!207.225.159.1.MISMATCH!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
From: DM <don.monk@genmills.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: pl.comp.os.hp-ux
Subject: X11 and su with SSH
Lines: 29
Message-ID: <U2Hie.7$lK.3722@news.uswest.net>
Date: Wed, 18 May 2005 08:03:48 -0500
NNTP-Posting-Host: 146.217.200.214
X-Trace: news.uswest.net 1116421428 146.217.200.214 (Wed, 18 May 2005 08:03:48 CDT)
NNTP-Posting-Date: Wed, 18 May 2005 08:03:48 CDT
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit