I had to set the -e option (errexit) in Xsession to make a ~/.profile
error interrupt the startup. AFAICT that option is not set in the
original Xsession script in GDM for Ubuntu.

Anyway, maybe there are still cases where a ~/.profile error may lead to
the behavior you describe. The linked branch contains an idea for a fix
that would handle ~/.profile and ~/.xprofile in a safer way.

If the solution is considered sensible, I suppose it should be forwarded
upstream. Will await feedback before doing so.

** Branch linked: lp:~ubuntu-desktop/gdm/ubuntu

** Changed in: gdm (Ubuntu)
       Status: New => In Progress

** Changed in: gdm (Ubuntu)
     Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj)

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

Title:
  Error in ~/.profile halts the X startup

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to