Tor,
Actually.... :-)
Using xhost is way way wrong.
The correct way of doing things is:
On your local machine do
xauth list mymachine.mydomain.com:0.0
and you get a reply:
mymachine.mydomain.com:0 MIT-MAGIC-COOKIE-1 37cb47264b485cd2e24ef9421def2a83
Then, on your remote machine do:
xauth add mymachine.mydomain.com:0 MIT-MAGIC-COOKIE-1 37cb47264b485cd2e24ef9421def2a83
Thanks for putting us right, but... Actually ;-) This is what I do over the internet from machine to machine with ssh. If I can't get that to work (e.g. on one of the WinNT machines) then I use an xhost file. Not as secure I know but better than I was originally told to do by a colleague ("just do xhost + and it'll work). However, is the security thing an issue if xhost is only used for localhost? Mind you, for some reason that has now stopped working for me! Here is the scenario in a konsole window when logged on as any user: su - kwrite textfile& error message -> "kwrite: cannot connect to X server" even after doing the xhost + localhost thing. Suggestions? Many thanks, Mark