0

I tried to install a package systemd (this replaces upstart in Utopic 14.10 and up). See my yesterday question How to Re Generate All Gnome Schemas for Ubuntu 12.04. The result was that it didn't work. I removed all the packages (including dependencies) I installed and reverted back to stock Precise 12.04 packages. However, when starting Ubuntu I am stuck in a looping login screen, though my password is checked.

From what I learned yesterday, I typed <Ctrl><Alt><F2> to enter a login shell. then I looked at the ~/.xsession-errors file:

$ cat .xsession-errors
/usr/sbin/lightdm-session: 5: exec: upstart: not found

I re-installed the lightdm and upstart packages to no avail. I found a description of How a desktop user GUI session gets started with Ubuntu 12.04-14.04. My system fails in the lightdm-session part. However I don't know where. I seem to lack as well an /etc/xprofile ~/.xprofile and an ~/.xsessionrc mentioned in the above webpage. Are these files required and how I can get working ones ?

Basically it fails to open an X-Window session.

Can anyone tell me how to go back to the genuine Precise 12.04 logon ?

Antonio
  • 1,656

1 Answers1

0

You need to install upstart-bin. This is because the user session uses upstart, but you uninstalled upstart so it does not work correctly. With Upstart, user sessions can use upstart without Upstart running as the system init.

CameronNemo
  • 1,675