LightDM fails to start on Upstart based systems

Bug #1630283 reported by rec9140
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Incomplete
Undecided
Unassigned
synaptic (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

systems purged of systemd via

apt-get install upstart-sysv sysvinit-utils -y

update-initramfs -u

reboot

System now uses Upstart to boot.

sudo apt-get install lightdm

brings in about 30+ and 247MB worth of packages, but OK...

installs, asks to reconfigure, select lightDM over sddm

reboot

Comes to a CLI console during boot

if you login to the console an error from logind (????? this is an UPSTART SYSTEM!) about can't find file can't start service unknown

If you check /etc/X11/default-manager it has the line

/usr/sbin/lightdm

if you do

sudo service lightdm start

lightdm comes up

enter credentials

when you hit enter after password

"Could not load session"

Can't install KDM to replace it due to dependencies no longer met and package not in 16.0.4.1, used last package available from launchpad.

Can't run XDMCP as sddm does not provide proper X manager login services.

Kubuntu 16.04.1 fully updated

Expect to have a login manager to start local or remote (XDMC) X sessions.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Can you attach /var/log/lightdm/lightdm.log after this occurs?

It should work fine with upstart...

Changed in lightdm:
status: New → Incomplete
Revision history for this message
rec9140 (rec9140) wrote :
Download full text (18.8 KiB)

I've included the below...

Seems now that startx won't start up...so I may have to rebuild this to start over on this..which won't be till TUE 10/18

dmesg below:

[ 19.496553] e1000: enp0s3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 19.500112] IPv6: ADDRCONF(NETDEV_UP): enp0s3: link is not ready
[ 19.500403] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s3: link becomes ready
[ 48.483120] systemd-logind[1312]: Watching system buttons on /dev/input/event0 (Power Button)
[ 48.483428] systemd-logind[1312]: Watching system buttons on /dev/input/event1 (Sleep Button)
[ 48.483477] systemd-logind[1312]: New seat seat0.
[ 48.498226] systemd-logind[1312]: Failed to start user service, ignoring: Unknown unit: user@1000.service
[ 48.506109] systemd-logind[1312]: New session 1 of user rec9140.

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.18.2, UID=0 PID=1431
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/40-kde-plasma-kf5.conf
[+0.00s] DEBUG: [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.01s] DEBUG: Monitoring logind for seats
[+0.01s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.03s] DEBUG: Seat seat0: Creating display server of type x
[+0.04s] DEBUG: Using VT 7
[+0.04s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.04s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.04s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.04s] DEBUG: DisplayServer x-0: Launching X Server
[+0.04s] DEBUG: Launching process 1439: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.04s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.04s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.04s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.37s] DEBUG: Loading users from org.freedesktop.Accounts
...

Revision history for this message
rec9140 (rec9140) wrote :

OK... I have time to restest this... and starting from scratch.

Install 16.04, updated to all patches....and updates via

sudo apt-get update
sudo apt-get upgrade

Now to install LightDM over SDDM to get XDMCP capable DM..

sudo apt-get install lightdm lightdm-kde-greeter

HUGE list of dependencies is brought in for this... accept... and go on...

reconfigures to use lightdm as default DM..during the apt process.

reboot to complete.

Get a huge purple screen with little dots all over it... a bar at the top with host name, Network Manager options, restart/reboot options, and a user login screen left side towards the bottom.

Enter password

Can't start session

Can't login to the box at all via ligthdm... to start an X session...

Revision history for this message
rec9140 (rec9140) wrote :
Download full text (17.9 KiB)

Further testing....

Taking a BLANK 16.04 ISO, install...and update...fully updated..

sudo apt-get install lightdm lightdm-kde-greeter

Let that configure... and select lightdm

reboot... IT WORKS!

LightDM Is installed, and brings up an X session!

Create lightdm.conf and enable XDMCP.. IT WORKS!

So, rinse repeat... clean slate.... Do it the way I've done it in the past.. via Synaptic.

This is where I think the problem is!

Synaptic wants to bring in a long list of depends...

Creating a script to get a list from synaptic...this is what it wants to install, below... what happens via apt-get install lightdm lighdm-kde-greeter is far less!

My first test above that failed is via synaptic install of lightdm/ldm-kde-greeter. this is STILL UNDER systemd at this point! I will test moving to BACK TO UPSTART, (thanks, but systemd is not for me, and this is not the space for that debate either) with the working setup shortly....

synaptic installs for selecting lightdm and lightdm-kde-greeter:

wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/glib2.0/libglib2.0-0_2.48.2-0ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/p/p11-kit/libp11-kit0_0.23.2-5~ubuntu16.04.1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcr/libgck-1-0_3.18.0-1ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcr/libgcr-3-common_3.18.0-1ubuntu1_all.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcr/libgcr-base-3-1_3.18.0-1ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcr/libgcr-ui-3-1_3.18.0-1ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gcr/gcr_3.18.0-1ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/p/p11-kit/p11-kit-modules_0.23.2-5~ubuntu16.04.1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/p/p11-kit/p11-kit_0.23.2-5~ubuntu16.04.1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/p/pinentry/pinentry-gnome3_0.9.7-3_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnome-keyring/gnome-keyring_3.18.3-0ubuntu2_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu-gtk3-4_16.04.1+16.04.20160927-0ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/libi/libindicator/libindicator3-7_12.10.2+16.04.20151208-0ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/liba/libappindicator/libappindicator3-1_12.10.1+16.04.20170215-0ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/geoclue/libgeoclue0_0.12.99-4ubuntu1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/libg/libgnome-keyring/libgnome-keyring-common_3.12.0-1build1_all.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/libg/libgnome-keyring/libgnome-keyring0_3.12.0-1build1_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnome-keyring/libp11-kit-gnome-keyring_3.18.3-0ubuntu2_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gnome-keyring/libpam-gnome-keyring_3.18.3-0ubuntu2_amd64.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/glib2.0/libglib2.0-bin_2.48....

Revision history for this message
gf (gf-interlinks-deactivatedaccount) wrote :

Hello Rec,
Thank you for submitting this bug and reporting a problem with lightdm and synaptic. You made this bug report some time ago and Ubuntu has been updated since then.

Could you confirm that this is no longer a problem and that we can close the ticket?
If it is still a problem, are you still interested in finding a solution to this bug?
If you are, could you let us know, and in the current version, run the following (only once):
apport-collect BUGNUMBER
and upload the updated logs and and any other logs that are relevant for this particular issue.

Thank you again for helping make Ubuntu better.
G

Changed in synaptic (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for synaptic (Ubuntu) because there has been no activity for 60 days.]

Changed in synaptic (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.