[LightDM] Can LightDM work with an existing X server socket?

Shahim Essaid shahim at essaid.com
Thu Nov 14 08:44:59 PST 2013


Hi Robert,

Thank you for the configuration tip. How can I specify the authorization file
(i.e. the .Xauthority) to LightDM for the running server? I start X
in the host with a specific authorization file that clients have to
use to connect. Do I have to disable all access control for this to
work?

Sorry for the duplicate email. I forgot to cc the list in my earlier email.

Best,
Shahim

On Wed, Nov 13, 2013 at 8:17 PM, Robert Ancell <robert.ancell at gmail.com> wrote:
> Hi Shahim,
>
> You should be able to configure LightDM to use an existing X server using
> the following configuration:
>
> [SeatDefaults]
> type=xremote
> xserver-display-number=0
>
> i.e. if you already have an X server running on :0
>
> --Robert
>
>
> On 14 November 2013 11:56, Shahim Essaid <shahim at essaid.com> wrote:
>>
>> Hi all,
>>
>> I'm setting up an LXC container for Ubuntu 13.10 where the X server is
>> started in the host on vt6. The unix socket and authority file are
>> then mounted in the LXC container. I can start X sessions and
>> applications from the container but I can't get LightDM to use this
>> server.
>>
>> I would really like to have the container's LightDM/Ubuntu greeter to
>> automatically start on this display when the container is started to
>> allow a graphical login. I'm aware of other options (XDMCP, vnc, etc.)
>> but I'm trying to do it directly through the mounted unix domain
>> socket. I've been trying to configure X to be started and managed by
>> LightDM in the container but haven't been able to do that so far.
>>
>> Is this possible?
>>
>> Thank you,
>> Shahim
>> _______________________________________________
>> LightDM mailing list
>> LightDM at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/lightdm
>
>


More information about the LightDM mailing list