XDMCP protocol – What and How

2010-03-12 380 words 2 mins read

Okay, I will talk about XDMCP today. First we will see what is xdmcp protocol.

There is a nice article on what is XDM is <a href="http://en.wikipedia.org/wiki/X_display_manager" target="_blank">here

In very simple words, this a protocol to get the X Windows login to a remote system. The client sends the request to the server and server completes the requests. For this the server allows the clients to connect to XDMCP port. There are various ways the XDMCP works most common being indirect, direct and query. So basically if you are using a XDMCP clinet you will get the feeling of using the server directly with the GUI and all. (It is very similar to VNC but not same as VNC, see <a href="http://msmvps.com/blogs/rexiology/archive/2006/12/19/windows-x-client-server-to-connect-linux-server-xdmcp-and-vnc-approaches.aspx" target="_blank">here for the differences in ssh, vnc and XDMCP.)

Now, first the server needs to allow XDMCP connections to the window manager. The procedure varies from window manager to window manager but involves opening the port for communication and configuring the server to accept connections on the port. Find <a href="http://tldp.org/HOWTO/XDMCP-HOWTO/procedure.html#AEN52" target="_blank">here a link to configure the server.

Ok, now if you want to run the client to connect to the server. If you are on Linux, then you can use the Xnest server. Find the artile <a href="http://blog.amit-agarwal.co.in/2008/12/02/running-nested-x-server/" target="_blank">here to use the Xnest client.

But if you are on Windows then there are couple of clients, and am still not very satisfied with any of them but here are the options:

<a href="http://connectivity.hummingbird.com/products/nc/exceed/" target="_blank">Xceed Not Free but a really nice client. I personally like the product, have used it in the past. But costly.

<a href="http://sourceforge.net/projects/linuxts/" target="_blank">Windows Terminal Server This is a free client that can be used as Terminal Client to connect to XDMCP services too. I have not used this personally. <a href="http://sourceforge.net/projects/linuxts/" target="_blank">

My favourite client is <a href="http://sourceforge.net/projects/xming/" target="_blank">XMing – partly because it is freeeee and open source and secondly because of the ease of use.

<a href="Tunneling: http://blogs.sun.com/angad/entry/getting_solaris_up_and_running" target="_blank">SSH Tunneling with XDMCP At the end of this article you will find a nice talk about how you can use the ssh tunneling with XDMCP. Its really nicely explained and interesting too.

Do comment if you have used some other clients and think that they are worth mentioning, specially if they are OSS.

Related Articles:


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it