[Bug 1043077] [NEW] upstart restarts DM to quickly

Tim darkxst at fastmail.fm
Wed Aug 29 04:59:31 UTC 2012


Public bug reported:

I am filing this against upstart since it seems to affect both lightdm
and gdm.

Basically, if I run:

sudo service lightdm restart

then it will fail with an "X Server already on display 0" message (in
gdm logs)

It appears that upstart is respawning the DM before the current X
session has shutdown completely.

If I instead do

sudo service lightdm stop
<wait a few seconds>
sudo service lightdm start

it works perfectly.

This is 100% reproducible on my 12.10 VM and happens around 1:5 times on
my 12.10  installation on real machine.

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  I am filing this against upstart since it seems to affect both lightdm
  and gdm.
  
  Basically, if I run:
  
  sudo service lightdm restart
  
- then it will fail with an "X Server already on display 0" message
+ then it will fail with an "X Server already on display 0" message (in
+ gdm logs)
  
  It appears that upstart is respawning the DM before the current X
  session has shutdown completely.
  
  If I instead do
  
  sudo service lightdm stop
  <wait a few seconds>
  sudo service lightdm start
  
- it works perflectly.
+ it works perfectly.
  
  This is 100% reproducible on my 12.10 VM and happens around 1:5 times on
  my 12.10  installation on real machine.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1043077

Title:
  upstart restarts DM to quickly

Status in “upstart” package in Ubuntu:
  New

Bug description:
  I am filing this against upstart since it seems to affect both lightdm
  and gdm.

  Basically, if I run:

  sudo service lightdm restart

  then it will fail with an "X Server already on display 0" message (in
  gdm logs)

  It appears that upstart is respawning the DM before the current X
  session has shutdown completely.

  If I instead do

  sudo service lightdm stop
  <wait a few seconds>
  sudo service lightdm start

  it works perfectly.

  This is 100% reproducible on my 12.10 VM and happens around 1:5 times
  on my 12.10  installation on real machine.

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




More information about the foundations-bugs mailing list