ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #99591
[Bug 677968] [NEW] Error in $HOME/.profile halts the X startup
Public bug reported:
Binary package hint: xorg
After adding "function AddPath { PATH="$1:$PATH" }" to $HOME/.profile
made the Xorg startup fail. (At that moment I had already forgotten the
changes made to the .profile). As I had autologin that meant it kept
trying to login and finally gave up as it thought something was wrong
was with the graphics setup. That sent me to a huge hunt for xorg conf
or setup problems.
Anyway finally tracked this down. I had used bash syntax in .profile
file whereas it was run with sh.
This is not a bug per se but I think a user mistake in ".profile"
shouldn't bring the whole xorg startup to a halt as it does with
autologin. I propose running user ".profile" and ".xprofile" scripts so
that Xsession script continues running even if they have errors. At this
moment I'm probably biased due to the problem hunting so I'm not sure
whether this change would have some negative effects as well.
1) Ubuntu Lucid, Linux egon-laptop 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 i686 GNU/Linux
2) xorg 1:7.5+5ubuntu1
** Affects: xorg (Ubuntu)
Importance: Undecided
Status: New
--
Error in $HOME/.profile halts the X startup
https://bugs.launchpad.net/bugs/677968
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
Follow ups
References