We still need to fix up lightdm or whatever else under it to not fail
when /etc/hostname is removed -> Triaged/Medium

** Changed in: lightdm (Ubuntu)
       Status: New => Triaged

** Changed in: lightdm (Ubuntu)
   Importance: Undecided => Medium

-- 
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/1007221

Title:
  Removing /etc/hostname results in failed first login attempt

Status in “lightdm” package in Ubuntu:
  Triaged

Bug description:
  We assign hostnames to machines using dhcp.  For this to work in 12.04
  you seem to have to remove /etc/hostname (or have it empty, the
  behaviour is the same).  However doing this results in the first
  attempted graphical login after boot failing.  I have reproduced this
  behaviour across several machines, from upgrades and clean
  installations, and can turn it on and off by removing /etc/hostname,
  or making it non-empty.

  The symptoms are:
  - At the greeter prompt the hostname at screen top left is set to localhost
  - If I switch to a console prompt the hostname displays correctly (i.e. not 
localhost)
  - After successfully entering a uname/pwd you briefly get a desktop for one 
second or so, then it drops to the console for half a sec or so, then the 
greeter re-appears.
  - Once the greeter re-appears the hostname will be set correctly at screen 
top left, and subsequents logins successfully proceed to the desktop

  .x-session-errors has some lines about xrdb being unable to open
  display:0, other logs in /var/log/lightdm/ seem ok, but I'll include
  them too.  I've run strace -ff -p <lightdm> but am not familiar enough
  with the graphical login process to make much headway there, and I've
  yet to turn up an obvious - to me - error, though paging through
  strace output tends to make ones eyes glaze over :)

  Curiously I can't replicate this in a VBox VM.  Fresh install, exact
  same configuration but it displays the hostname properly at screen top
  left and the first login proceeds normally.  I will make the VM name
  and dhcp hostname different and see if this reveals the bug.

  Regards

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to