Hello,

I also confirm that this bug can still be annoying with the latest versions of 
GDM and LightDM :-)
And it can be an easy way to make some jokes just by modifying the .profile! 
Then it will be hard for the user to understand why he can no longer start a 
new session.

Is it maybe possible to just add an error message if there are problems with 
the .profile file?
We can easily detect if there are errors in this .profile file as already 
written before:

    . ~/.profile || echo ERROR

But also without executing any code:

    sh -n ~/.profile || echo ERROR

Thank you for maintaining GDM and LightDM!

** Also affects: lightdm
   Importance: Undecided
       Status: New

-- 
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 message for a faulty ~/.profile script

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to