Wow... well I was trying to stay away from designing a solution, and stick with describing the problem.
But, since you asked, I'll take a stab at it. How about this: A small component named maybe home_dir_check could be added, which would see if the home directory existed or not. If it exists, it can simply exit. If it doesn't exist, it would pop up a dialog box saying so. That dialog box could have two buttons, "proceed anyway" and "logout". If the user chooses "proceed anyway" it might say "Are you sure? You will probably have to kill Xorg from a virtual terminal if you proceed". That second dialog box would have choices "really proceed anyway" and "logout", which would do exactly what they say they would do. Sure there are a lot more fancy things that could be done, but the most useful things (like creating a directory for the user using the same functionality that happens during user creation) would require getting root privs, which might require some capabilities from one of those components that aren't running... yuck... better to stick with something simple. Hope this helps; I'll be happy to work through the details of other options and ideas if anyone has them. Kind regards, -Paul Chris Coulson wrote: > What do you expect gnome-session to do about this in this case then? > There are multiple components in your desktop session which won't work > properly if there is no home directory (eg, dbus, gconf etc will all > fail). It's not entirely clear what you expect to happen > > ** Changed in: gnome-session (Ubuntu) > Importance: Undecided => Low > > ** Changed in: gnome-session (Ubuntu) > Status: Confirmed => Incomplete > > ** Changed in: gnome-session (Ubuntu) > Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs) > > -- Xorg misbehaves when user home directory is missing https://bugs.launchpad.net/bugs/516929 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs