Sample Header Ad - 728x90

where can I find the MIT-MAGIC-COOKIE in the user side?

5 votes
1 answer
11614 views
While digging into X Windows or X11 stuff I found that X display uses MIT-MAGIC-COOKIE to allow client-server to exchange display data. One thing I don't understand is that I am able to locate and view the MIT-MAGIC-COOKIE in the server(Xclient) with the command xauth list and I see stuff like James5/unix:10 MIT-MAGIC-COOKIE-1 1bcafdd569b2e1e6dd0dfaf446f437a6 James5/unix:13 MIT-MAGIC-COOKIE-1 5e536e4c17c94372ebc932f6d1c43abc James5/unix:15 MIT-MAGIC-COOKIE-1 999ac8b086f2f8091aa970f40b739ff4 James5/unix:11 MIT-MAGIC-COOKIE-1 89287e67dfc851c5e7188fc5b7e4dc31 but from what I've learned, the user side should also have this cookie as well in order to compare the cookie from the received X display data. but when I come back to my 'user side' laptop and type Black@Black-PC ~ $ xauth list an error message like this appears... xauth: file /home/Black/.Xauthority does not exist Where on earth can I locate the .Xauthority file on the user side?
Asked by kwagjj (2319 rep)
Jun 23, 2014, 09:40 AM
Last activity: Oct 3, 2019, 05:19 PM