Monday, October 19, 2009

Problems with connecting to Xming from a remote system

My setup is this:

Main desktop running Windows XP (it's company provided so I can't just blow the OS away and install Linux). So I installed Xming on it so I can forward X connections from my secondary PC which is running Arch Linux.

I do the proper incantation on the Linux box as:

export DISPLAY=winxpipaddress:0.0

I check that the display is indeed 0.0 on my WinXP box. But I get the following error message:

AUDIT: Tue Oct 20 :31:12 2009: 5636 Xming: client 4 rejected from IP ipaddress_of_archlinuxbox}

After some searching, find the X0.hosts file in the Xming main directory and add the Arch Linux IP. And everything works just fine.

14 comments:

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...

Thanks, it worked for me.

rr said...

You're welcome!

Anonymous said...

worked like a charm - thanks!

rr said...

You're welcome! Thanks for commenting.

ashfaq said...

Thanks a lot! You just saved me!

rr said...

You're welcome!

Anonymous said...

Thanks a lot! It worked for me.

Karen T. said...

Just what I needed! I wonder why I didn't see this in the Xming docs...

Karen T. said...

Just what I needed! I wonder why this wasn't in the Xming docs?

Anonymous said...

Thanks for the tip. Saved me a lot of time.

-Abhilash

Anonymous said...

Thank you!
I was stuck at this for half a day!

rr said...

My pleasure! Thanks for commenting!

Anonymous said...

Thanks!
Did the work :)