Hi, I've been running LightDM + GTK Greeter on XStream Desktop for quite a while now, but never wanted to get into the issue of the vnc session not working. Now I want to make it work ;) So, I upgraded both LightDM to 1.18.1 and GTK greeter to 2.0.1 (supporting debugging configuration). The couple works fine on the main desktop. I enabled VNC both with and without password, and when I connect throught TightVNC viewer LightDM restarts, leaving this log: [+7.47s] DEBUG: Got VNC connection from 192.168.1.3:53244 [+7.47s] DEBUG: Seat (null): Loading properties from config section Seat:* [+7.47s] DEBUG: Seat (null): Starting [+7.47s] DEBUG: Seat (null): Creating greeter session [+7.48s] DEBUG: Seat (null): Creating display server of type x [+7.48s] DEBUG: DisplayServer xvnc-1: Logging to /var/log/lightdm/xvnc-1.log [+7.48s] DEBUG: DisplayServer xvnc-1: Writing X server authority to /var/run/lightdm/root/:1 [+7.48s] DEBUG: DisplayServer xvnc-1: Launching Xvnc server [+7.48s] DEBUG: Launching process 24684: /usr/bin/Xvnc -SecurityTypes None :1 -auth /var/run/lightdm/root/:1 -inetd -nolisten tcp -geometry 1024x768 -depth 24 [+7.48s] DEBUG: DisplayServer xvnc-1: Waiting for ready signal from Xvnc server :1 [+7.48s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat1 [+7.59s] DEBUG: Got signal 16 from process 24684 [+7.59s] DEBUG: DisplayServer xvnc-1: Got signal from Xvnc server :1 [+7.59s] DEBUG: DisplayServer xvnc-1: Connecting to XServer :1 [+7.59s] DEBUG: Seat (null): Display server ready, starting session authentication [+7.59s] DEBUG: Session: Not setting XDG_VTNR [+7.59s] DEBUG: Session pid=24688: Started with service 'lightdm-greeter', username 'lightdm' [+7.61s] DEBUG: Session pid=24688: Authentication complete with return value 0: Success [+7.61s] DEBUG: Seat (null): Session authenticated, running command [+7.61s] DEBUG: Session pid=24688: Not setting XDG_VTNR [+7.61s] DEBUG: Session pid=24688: Running command /usr/sbin/lightdm-gtk-greeter [+7.61s] DEBUG: Creating shared data directory /usr/var/lib/lightdm-data/lightdm [+7.61s] WARNING: Could not create user data directory /usr/var/lib/lightdm-data/lightdm: Error creating directory: No such file or directory [+7.61s] DEBUG: Session pid=24688: Logging to /var/log/lightdm/xvnc-1-greeter.log [+7.63s] DEBUG: Session pid=24688: Greeter closed communication channel [+7.63s] DEBUG: Session pid=24688: Terminated with signal 11 [+7.63s] DEBUG: Seat (null): Session stopped [+7.63s] DEBUG: Seat (null): Stopping; failed to start a greeter [+7.63s] DEBUG: Seat (null): Stopping [+7.63s] DEBUG: Seat (null): Stopping display server [+7.63s] DEBUG: Sending signal 15 to process 24684 [+7.64s] DEBUG: Got signal 15 from process 10 [+7.64s] DEBUG: Caught Terminated signal, shutting down [+7.64s] DEBUG: Stopping display manager [+7.64s] DEBUG: Seat seat0: Stopping [+7.64s] DEBUG: Seat seat0: Stopping display server [+7.64s] DEBUG: Sending signal 15 to process 24638 [+7.64s] DEBUG: Seat seat0: Stopping session [+7.64s] DEBUG: Session pid=24676: Sending SIGTERM [+7.64s] DEBUG: Seat seat0: Stopping session [+7.64s] DEBUG: Session pid=24683: Sending SIGTERM [+7.64s] DEBUG: Session pid=24683: Terminated with signal 15 [+7.64s] DEBUG: Session: Failed during authentication [+7.64s] DEBUG: Seat seat0: Session stopped [+7.64s] DEBUG: Session pid=24676: Greeter closed communication channel [+7.64s] DEBUG: Session pid=24676: Terminated with signal 15 [+7.64s] DEBUG: Seat seat0: Session stopped [+7.65s] DEBUG: Process 24684 exited with return value 0 [+7.65s] DEBUG: DisplayServer xvnc-1: Xvnc server stopped [+7.65s] DEBUG: DisplayServer xvnc-1: Removing X server authority /var/run/lightdm/root/:1 [+7.65s] DEBUG: Seat (null): Display server stopped [+7.65s] DEBUG: Seat (null): Stopped [+7.79s] DEBUG: Process 24638 exited with return value 0 [+7.79s] DEBUG: DisplayServer x-0: X server stopped [+7.79s] DEBUG: Releasing VT 7 [+7.79s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0 [+7.79s] DEBUG: Seat seat0: Display server stopped [+7.79s] DEBUG: Seat seat0: Stopped [+7.79s] DEBUG: Display manager stopped [+7.79s] DEBUG: Stopping daemon [+7.79s] DEBUG: Exiting with return value 0 I tried enabling gtk greeter debug, but have no output on its log. Any idea how to solve this? Thanks! Gabriele ---------------------------------------------------------------------------------------- Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/lightdm/attachments/20160503/337d132c/attachment.html>
Anyone can help with this? How can I debug what's happening that causes segfault during greeter startup in Xvnc mode? Gabriele ---------------------------------------------------------------------------------------- Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon Da: Gabriele Bulfon A: LightDM Mailing List Data: 3 maggio 2016 9.45.10 CEST Oggetto: [LightDM] xvnc session and gtk greeter Hi, I've been running LightDM + GTK Greeter on XStream Desktop for quite a while now, but never wanted to get into the issue of the vnc session not working. Now I want to make it work ;) So, I upgraded both LightDM to 1.18.1 and GTK greeter to 2.0.1 (supporting debugging configuration). The couple works fine on the main desktop. I enabled VNC both with and without password, and when I connect throught TightVNC viewer LightDM restarts, leaving this log: [+7.47s] DEBUG: Got VNC connection from 192.168.1.3:53244 [+7.47s] DEBUG: Seat (null): Loading properties from config section Seat:* [+7.47s] DEBUG: Seat (null): Starting [+7.47s] DEBUG: Seat (null): Creating greeter session [+7.48s] DEBUG: Seat (null): Creating display server of type x [+7.48s] DEBUG: DisplayServer xvnc-1: Logging to /var/log/lightdm/xvnc-1.log [+7.48s] DEBUG: DisplayServer xvnc-1: Writing X server authority to /var/run/lightdm/root/:1 [+7.48s] DEBUG: DisplayServer xvnc-1: Launching Xvnc server [+7.48s] DEBUG: Launching process 24684: /usr/bin/Xvnc -SecurityTypes None :1 -auth /var/run/lightdm/root/:1 -inetd -nolisten tcp -geometry 1024x768 -depth 24 [+7.48s] DEBUG: DisplayServer xvnc-1: Waiting for ready signal from Xvnc server :1 [+7.48s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat1 [+7.59s] DEBUG: Got signal 16 from process 24684 [+7.59s] DEBUG: DisplayServer xvnc-1: Got signal from Xvnc server :1 [+7.59s] DEBUG: DisplayServer xvnc-1: Connecting to XServer :1 [+7.59s] DEBUG: Seat (null): Display server ready, starting session authentication [+7.59s] DEBUG: Session: Not setting XDG_VTNR [+7.59s] DEBUG: Session pid=24688: Started with service 'lightdm-greeter', username 'lightdm' [+7.61s] DEBUG: Session pid=24688: Authentication complete with return value 0: Success [+7.61s] DEBUG: Seat (null): Session authenticated, running command [+7.61s] DEBUG: Session pid=24688: Not setting XDG_VTNR [+7.61s] DEBUG: Session pid=24688: Running command /usr/sbin/lightdm-gtk-greeter [+7.61s] DEBUG: Creating shared data directory /usr/var/lib/lightdm-data/lightdm [+7.61s] WARNING: Could not create user data directory /usr/var/lib/lightdm-data/lightdm: Error creating directory: No such file or directory [+7.61s] DEBUG: Session pid=24688: Logging to /var/log/lightdm/xvnc-1-greeter.log [+7.63s] DEBUG: Session pid=24688: Greeter closed communication channel [+7.63s] DEBUG: Session pid=24688: Terminated with signal 11 [+7.63s] DEBUG: Seat (null): Session stopped [+7.63s] DEBUG: Seat (null): Stopping; failed to start a greeter [+7.63s] DEBUG: Seat (null): Stopping [+7.63s] DEBUG: Seat (null): Stopping display server [+7.63s] DEBUG: Sending signal 15 to process 24684 [+7.64s] DEBUG: Got signal 15 from process 10 [+7.64s] DEBUG: Caught Terminated signal, shutting down [+7.64s] DEBUG: Stopping display manager [+7.64s] DEBUG: Seat seat0: Stopping [+7.64s] DEBUG: Seat seat0: Stopping display server [+7.64s] DEBUG: Sending signal 15 to process 24638 [+7.64s] DEBUG: Seat seat0: Stopping session [+7.64s] DEBUG: Session pid=24676: Sending SIGTERM [+7.64s] DEBUG: Seat seat0: Stopping session [+7.64s] DEBUG: Session pid=24683: Sending SIGTERM [+7.64s] DEBUG: Session pid=24683: Terminated with signal 15 [+7.64s] DEBUG: Session: Failed during authentication [+7.64s] DEBUG: Seat seat0: Session stopped [+7.64s] DEBUG: Session pid=24676: Greeter closed communication channel [+7.64s] DEBUG: Session pid=24676: Terminated with signal 15 [+7.64s] DEBUG: Seat seat0: Session stopped [+7.65s] DEBUG: Process 24684 exited with return value 0 [+7.65s] DEBUG: DisplayServer xvnc-1: Xvnc server stopped [+7.65s] DEBUG: DisplayServer xvnc-1: Removing X server authority /var/run/lightdm/root/:1 [+7.65s] DEBUG: Seat (null): Display server stopped [+7.65s] DEBUG: Seat (null): Stopped [+7.79s] DEBUG: Process 24638 exited with return value 0 [+7.79s] DEBUG: DisplayServer x-0: X server stopped [+7.79s] DEBUG: Releasing VT 7 [+7.79s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0 [+7.79s] DEBUG: Seat seat0: Display server stopped [+7.79s] DEBUG: Seat seat0: Stopped [+7.79s] DEBUG: Display manager stopped [+7.79s] DEBUG: Stopping daemon [+7.79s] DEBUG: Exiting with return value 0 I tried enabling gtk greeter debug, but have no output on its log. Any idea how to solve this? Thanks! Gabriele ---------------------------------------------------------------------------------------- Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon _______________________________________________LightDM mailing listLightDM at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/lightdm -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/lightdm/attachments/20160512/be514746/attachment.html>