[Desktop-packages] [Bug 864174] Re: boot hangs waiting for lightdm after purging gdm (wrong default-display-manager)

2011-10-05 Thread Maxim Bublis
I propose to change default display manager check as i described in comment #5 
in bug #828576.
Thanks Tuukka Hastrup for pointing me to this bug.

** Branch linked: lp:ubuntu/lightdm

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/864174

Title:
  boot hangs waiting for lightdm after purging gdm (wrong default-
  display-manager)

Status in “lightdm” package in Ubuntu:
  Confirmed
Status in “lightdm” source package in Oneiric:
  Confirmed

Bug description:
  I've installed Oneiric beta2 and at some point installed and purged
  gdm. After that, boot will hang waiting for lightdm to start, which
  never happens. This is because /etc/X11/default-display-manager ends
  up saying "lightdm" whereas /etc/init/lightdm.conf accepts
  "/usr/bin/lightdm" or "/usr/sbin/lightdm". The user sees the splash
  screen messages "Waiting for up to 60 more seconds for network
  configuration" and "Booting system without full network
  configuration".

  However, the fix is to edit the contents of /etc/X11/default-display-
  manager to read "/usr/sbin/lightdm".

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: lightdm 1.0.0-0ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  ApportVersion: 1.23-0ubuntu2
  Architecture: i386
  Date: Sat Oct  1 19:56:46 2011
  SourcePackage: lightdm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/864174/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 828576] Re: Light-DM not used after upgrade 11.04→11.10

2011-09-29 Thread Maxim Bublis
In my opinion proper patch to lightdm.upstart should be

to replace:
[ ! -f /etc/X11/default-display-manager -o "$(cat 
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/lightdm" -o "$(cat 
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ] || { 
stop; exit 0; }

with:
[ ! -f /etc/X11/default-display-manager -o "$(echo $(basename $(cat 
/etc/X11/default-display-manager 2>/dev/null)))" = "lightdm" ] || { stop; exit 
0; }

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/828576

Title:
  Light-DM not used after upgrade 11.04→11.10

Status in “lightdm” package in Ubuntu:
  Triaged

Bug description:
  After the restart step of an upgrade →11.10 LightDM was not used, but
  GDM still continues to be used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/828576/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 828576] Re: Light-DM not used after upgrade 11.04→11.10

2011-09-29 Thread Maxim Bublis
** Branch linked: lp:ubuntu/lightdm

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/828576

Title:
  Light-DM not used after upgrade 11.04→11.10

Status in “lightdm” package in Ubuntu:
  Triaged

Bug description:
  After the restart step of an upgrade →11.10 LightDM was not used, but
  GDM still continues to be used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/828576/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 828576] Re: Light-DM not used after upgrade 11.04→11.10

2011-09-27 Thread Maxim Bublis
I guess problem with starting up lightdm after plymouth is in
misconfiguration.

$ cat /etc/init/lightdm.conf

... SKIPPED ...

script
if [ -n "$UPSTART_EVENTS" ]
then
[ ! -f /etc/X11/default-display-manager -o "$(cat 
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/lightdm" -o "$(cat 
/etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/lightdm" ] || { 
stop; exit 0; }

if [ "$RUNLEVEL" = S -o "$RUNLEVEL" = 1 ]
then
# Single-user mode
plymouth quit || :
exit 0
fi
fi

exec lightdm
end script

... SKIPPED ...


It checks  if there is "/usr/bin/lightdm" or "/usr/sbin/lightdm" in 
/etc/X11/default-display-manager, but in my case it's "lightdm" in that file:

$ cat /etc/X11/default-display-manager
lightdm

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/828576

Title:
  Light-DM not used after upgrade 11.04→11.10

Status in “lightdm” package in Ubuntu:
  Triaged

Bug description:
  After the restart step of an upgrade →11.10 LightDM was not used, but
  GDM still continues to be used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/828576/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp