"Terje J. Hanssen"
Hello Örn and Alexandr,
Örn Hansen skrev:
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.
Never use xhost, copy the cookie :-)
From "man xauth":
xauth extract - $DISPLAY | rsh otherhost xauth merge -
Note that he runs XDM session on hostB from an X server on hostA. In other words: he is NOT logged in on hostA.
Just to correct: HostB runs GDM session, not XDM session, if that should make some difference in this case?
I used the term XDM session as a generic name for a session using the XDMCP (X Display manager Control Protocol). In this sense xdm, kdm and gdm were just servers doing "the job". Apparently, this terminology is confusing so I'll not use it. -- A.M.