[LightDM] can't connect to display before login
Robert Ancell
robert.ancell at gmail.com
Tue Oct 18 15:11:07 PDT 2011
Alfonso,
Check the result of /var/log/lightdm/lightdm.log for errors. You
should only require Xvnc to be in the path for it to work.
On 19 October 2011 08:43, Alfonso Fiore <alfonso.fiore at gmail.com> wrote:
> Hello Guido,
> thank you so much. It sounds great.
> Now my /etc/lightdm/lightdm.conf looks like:
> [SeatDefaults]
> greeter-session=unity-greeter
> user-session=ubuntu
> [VNCServer]
> enabled=true
> port=5900
> but after restarting lightdm (sudo restart lightdm) the port is not open:
> dude at box:~$ netstat -ln | grep 5900
> dude at box:~$
> I also tried to reboot, but the result is the same.
> do you have any suggestion? maybe some missing package?
> On Tue, Oct 18, 2011 at 9:48 PM, Guido Berhoerster <gber at opensuse.org>
> wrote:
>>
>> * Alfonso Fiore <alfonso.fiore at gmail.com> [2011-10-18 19:45]:
>> > Hello,
>> >
>> > my apologies I'm not an expert, so maybe I'm wrong in looking here for
>> > my
>> > solution, but I think it's worth a try.
>> >
>> > In my previous distribution release (Ubuntu 10.10) with GDM I managed to
>> > have x11vnc run at startup adding something to /etc/gdm/Init/Default.
>> >
>> > Now, with LightDM, I have two questions:
>> >
>> > - where can I put a hook to automatically start x11vnc to remotely
>> > connect
>> > at startup?
>> >
>> > and most importantly:
>> >
>> > - why does x11vnc not run until I logged in with my user? with GDM I was
>> > able to connect using a vnc client and get the login prompt. Now if I
>> > try to
>> > start x11vnc it won't work until a user logged into the system. How can
>> > I
>> > connect with a vnc client to the login prompt with LightDM?
>>
>> LightDM has built-in VNC support, you can enable it with
>> [VNCServer]
>> enabled=true
>> in lightdm.conf.
>> --
>> Guido Berhoerster
>
>
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
>
>
More information about the LightDM
mailing list