X11 does not work when I su to a different user.
From: DM (don.monk_at_genmills.com)
Date: 05/18/05
- Next message: Richard E. Silverman: "Re: X11 does not work when I su to a different user."
- Previous message: Sooner Al \(MVP\): "Re: Looking for program that emails me when dhcp addr changes"
- Next in thread: Richard E. Silverman: "Re: X11 does not work when I su to a different user."
- Reply: Richard E. Silverman: "Re: X11 does not work when I su to a different user."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 18 May 2005 07:56:11 -0500
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
- Next message: Richard E. Silverman: "Re: X11 does not work when I su to a different user."
- Previous message: Sooner Al \(MVP\): "Re: Looking for program that emails me when dhcp addr changes"
- Next in thread: Richard E. Silverman: "Re: X11 does not work when I su to a different user."
- Reply: Richard E. Silverman: "Re: X11 does not work when I su to a different user."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|