Shahim Essaid
2013-Nov-13 22:56 UTC
[LightDM] Can LightDM work with an existing X server socket?
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
Robert Ancell
2013-Nov-14 04:17 UTC
[LightDM] Can LightDM work with an existing X server socket?
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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20131114/7914b5d6/attachment.html>