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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1043077

Title:
  upstart restarts DM to quickly

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to