Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
May 18, 2005, 12:56 pm
rate this thread
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:
On host ServerB if I su - to user1 from user1 and export my DISPLAY it
However, on Server B, if I su - to user 2 it does not work. I get the
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!!!!
Re: X11 does not work when I su to a different user.
Something like this (simple example on local display, ssh not involved).
xauth extract /tmp/mxc :0
xauth merge /tmp/mxc :0
Elvis Notargiacomo master AT barefaced DOT cheek
Powergen write "Why not stay with us" - let me count the ways!
- » Building openssh4.0p1 on AIX 5.3 with openssl 0.9.7g and tcp_wrapper
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum