<div dir="ltr"><div><div><div>It appears that there is not a method to provide the authority file for a remote X server - could you file a feature request for this on <a href="https://launchpad.net/lightdm">https://launchpad.net/lightdm</a>?<br>
<br></div>As a workaround you could make session wrapper by setting:<br></div>[SeatDefaults]<br></div>session-wrapper=/path/to/wrapper<br><br>And set it to something like:<br>export XAUTHORITY=/path/to/xauthority<br>exec $@<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 November 2013 05:44, Shahim Essaid <span dir="ltr"><<a href="mailto:shahim@essaid.com" target="_blank">shahim@essaid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Robert,<br>
<br>
Thank you for the configuration tip. How can I specify the authorization file<br>
(i.e. the .Xauthority) to LightDM for the running server? I start X<br>
<div class="im">in the host with a specific authorization file that clients have to<br>
use to connect. Do I have to disable all access control for this to<br>
work?<br>
<br>
</div>Sorry for the duplicate email. I forgot to cc the list in my earlier email.<br>
<br>
Best,<br>
<div class="im HOEnZb">Shahim<br>
<br>
On Wed, Nov 13, 2013 at 8:17 PM, Robert Ancell <<a href="mailto:robert.ancell@gmail.com">robert.ancell@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> Hi Shahim,<br>
><br>
> You should be able to configure LightDM to use an existing X server using<br>
> the following configuration:<br>
><br>
> [SeatDefaults]<br>
> type=xremote<br>
> xserver-display-number=0<br>
><br>
> i.e. if you already have an X server running on :0<br>
><br>
> --Robert<br>
><br>
><br>
> On 14 November 2013 11:56, Shahim Essaid <<a href="mailto:shahim@essaid.com">shahim@essaid.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> I'm setting up an LXC container for Ubuntu 13.10 where the X server is<br>
>> started in the host on vt6. The unix socket and authority file are<br>
>> then mounted in the LXC container. I can start X sessions and<br>
>> applications from the container but I can't get LightDM to use this<br>
>> server.<br>
>><br>
>> I would really like to have the container's LightDM/Ubuntu greeter to<br>
>> automatically start on this display when the container is started to<br>
>> allow a graphical login. I'm aware of other options (XDMCP, vnc, etc.)<br>
>> but I'm trying to do it directly through the mounted unix domain<br>
>> socket. I've been trying to configure X to be started and managed by<br>
>> LightDM in the container but haven't been able to do that so far.<br>
>><br>
>> Is this possible?<br>
>><br>
>> Thank you,<br>
>> Shahim<br>
>> _______________________________________________<br>
>> LightDM mailing list<br>
>> <a href="mailto:LightDM@lists.freedesktop.org">LightDM@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/lightdm" target="_blank">http://lists.freedesktop.org/mailman/listinfo/lightdm</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>