'if [ a == b ]' is a bashism. you need to do 'if [ a = b ]' instead if the shebang is #!/bin/sh.
Hamish -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/962270 Title: /usr/sbin/lightdm-session: 34: [: Linux: unexpected operator Status in “lightdm” package in Ubuntu: Confirmed Bug description: I guess my .bash_profile isn't being executed with bash? I get this in the first few lines of my .xsession-errors file: /usr/sbin/lightdm-session: 34: [: Linux: unexpected operator /usr/sbin/lightdm-session: 53: /home/barry/.bash_profile: source: not found To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/962270/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

