Thanks again Stuart. You are responsible of a greate improvement of my understanding on that. Just a last question :-) If i SSH from [EMAIL PROTECTED] to [EMAIL PROTECTED], and then `su user2` inside B, the X forwarding is broken, even if i setenv DISPLAY localhost:10 or wharever number. This is the message: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown).
Is it possible to be fixed? Like if user2 is root, i cannot log in directy to it from SSH. All the best ...
If it's DISPLAY=A:0 it would be a (non-encrypted, non-tunnelled) TCP connection to A port 6000. Whereas DISPLAY=A:1 would be to A port 6001 (and the X server would need to know how to talk to a second display, such as two monitors or some virtual display setup).
