Wednesday, October 7, 2009

Accessing remote computers via XDMCP

You can login to a remote computer via XDMCP if it is configured to allow XDMCP logins. I will explain how I did it on two Ubuntu machines running gdm.
Suppose you have two machines A and B ( In my case both are running ubuntu 9.04 , you can try this on other distros too.) They are connected via Ethernet and they are on the same network. (At my end, machine A had an IP address of and machine B had an IP address of

At machine A.

Open a terminal and run

$ sudo gdmsetup

You will get the following screen.

Select Remote tab.

Change the style tab from remote login disabled to same as local.

Close the window.

At machine B

Boot the machine and come to login screen. Click on options and select remote login via XDMCP. Wait for a moment you will see machine A in the list.

Select Machine A from the list and click on connect button. You will get login screen of machine A.
It is possible to login to remote machines on internet if you have good connectivity. You can add the host IP in the above box and connect to the remote machine to get the login screen.

1 comment:

Karen said...

But there is always a risk of possible security breach when you connect to remote PCs with hosted solutions. A solution like RHUB , Remote Desktop appliance would be much better. In addition to on-premise security, it provides stringent access security. You can even lock your remote PC as extra security. No inbound TCP ports need to be opened to access a remote system.