<div dir="ltr"><div>Hi, Christopher Barry:<br><br></div>Thank you for the reply. But this is not the answer I want. Actually I did't see any relation between my question and that link. I think I have clearly specified what the answer is expected. Please leave the slot to other experts. Thanks.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 31, 2014 at 8:57 AM, Christopher Barry <span dir="ltr"><<a href="mailto:christopher.barry@earborg.com" target="_blank">christopher.barry@earborg.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, 30 Dec 2014 21:05:18 -0500<br>
Heng Zhou <<a href="mailto:hzhou1@cs.uml.edu">hzhou1@cs.uml.edu</a>> wrote:<br>
<br>
>I want set up an environment in which a local X server is connecting a<br>
>remote display manager via XDMCP protocol, just like the second<br>
>picture in the wikipedia item "X display manager" (<br>
><a href="http://en.wikipedia.org/wiki/X_display_manager_%28program_type%29" target="_blank">http://en.wikipedia.org/wiki/X_display_manager_%28program_type%29</a>)<br>
>shows. The specific configuration is described in the following.<br>
><br>
>A computer is running ubuntu 14.04 LTS in front of me. Call it "local<br>
>machine".<br>
><br>
>A headless server is running ubuntu 14.04 LTS at another geographical<br>
>place. Call it "remote machine". The remote machine has no graphics<br>
>card, no attached monitor, but I have full control over it.<br>
>Concretely, it is an Amazon EC2 ubuntu instance.<br>
><br>
>The local machine has a physical graphics card and an attached<br>
>monitor. It is running ordinary ubuntu desktop so the X Window System<br>
>-- X.Org Server -- is running after boot, presumably.<br>
><br>
>The remote machines has installed LightDM, the display manager of<br>
>ubuntu. And I am sure it is running over there by checking the results<br>
>returned by command ps aux|grep lightdm.<br>
><br>
>That's the configuration of the local and remote machines. Now I need<br>
>to follow the steps in the wikipedia item "X display manager" (please<br>
>see the link above) to try to connect the local X server with the<br>
>remote display manager LightDM. What I wish to happen should be,<br>
>according to my understanding of the wikipedia webpage, as follows:<br>
><br>
>(1) The local machines run a XDMCP Chooser program to select the<br>
>display manager running now on the remote machine to connect.<br>
><br>
>(2) The X server on the local machine uses XDMCP protocol to shake<br>
>hands with the remote display manager LightDM.<br>
><br>
>(3) The remote display manager LightDM should respond as expected:<br>
><br>
>a) it connects to the local X server as a client<br>
><br>
>b) display a login GUI on the local machine, with the assistance of the<br>
>local X server<br>
><br>
>c) start an X session after I log in<br>
><br>
>d) run X applications like xterm in the session as directed; display<br>
>its graphical output on the local machine, using the local X display<br>
>server.<br>
><br>
>e) If possible, I hope in addition to show the unity desktop on the<br>
>local machine, just like a normal ubuntu desktop, but the executable<br>
>code is actually running on the remote machine.<br>
><br>
>That's all I want. But I have no idea how all these can be done. I<br>
>searched the internet and found something like<br>
><a href="http://wiki.ubuntu.com/xdmcp" target="_blank">http://wiki.ubuntu.com/xdmcp</a> and<br>
><a href="http://danilodellaquila.com/blog/how-to-remote-login-via-xdmcp-in-ubuntu" target="_blank">http://danilodellaquila.com/blog/how-to-remote-login-via-xdmcp-in-ubuntu</a>,<br>
>but they are either too old or too too old, and therefore useless for<br>
>my configuration. So I wonder if anyone familiar with XDMCP and having<br>
>a workable experience could please share his/her ideas on how to<br>
>setting up this environment. Please be specific. Thanks a lot. If you<br>
>need any other info, please ask.<br>
><br>
>PS: The display manager on the remote machine doesn't have to be<br>
>LightDM. I specifies it just because it's light weight and I'm<br>
>familiar with ubuntu desktop. You can use other option, say, GDM, if<br>
>you are working or once worked with it, to set up the environment.<br>
><br>
>Looking forward to any workable instructions. Thanks.<br>
<br>
<br>
</div></div>See: <a href="http://ltsp.org/" target="_blank">http://ltsp.org/</a><br>
<br>
--<br>
-C<br>
</blockquote></div><br></div>