onsdag 18 februari 2004 23:55 skrev Alexandr Malusek:
No, this cannot work since clients from hostA are not authorized to connect to the X server. What he needs to do is to copy the MIT-MAGIC-COOKIE-1 generated by GDM on hostB (and stored in the ~/.Xauthority file there) to hostC.
Never copy the cookie, use xhost.
If I understand the sentence right then it is not true. XDM sessions work in a different way.
Your understanding is wrong.
Note that he runs XDM session on hostB from an X server on hostA. In other words: he is NOT logged in on hostA.
It's irrelevant, how he runs his XDM ... it's the X server in charge, that is the concern. Even if you are logged into hostB, from hostA, you are not logged into hostB and cannot take over the session of the user on workstation hostB, simply because you're on a remote xdm session. That would be a serious security flaw, if it were possible.