I experienced this bug too on a dell inspiron 8200 laptop with nvidia or nv driver. I "fixed" it by passing -noacpi to the X server command line which stops the X server from monitoring the acpi events (and the lid close). Things work fine now, however this is just a workaround until the real culprit is found. Sounds like the freedesktop bug mentioned might be the a likely source?
-- Xorg exits when it receives an ACPI button/lid event https://launchpad.net/bugs/61746 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs