GNOME Bugzilla – Bug 770363
gnome-session returns syntax error: bad fd number
Last modified: 2016-08-25 16:57:06 UTC
I only found Bug#835289 reported against Debian itself as the only recent result It seems it was caused by 4abdb7925c3bf91e0802e42bab6c90d9a3086b2e Another result in Google from 2008 is that this error can happen in the dash shell which Ubuntu (and I guess debian as well) uses in replacement for sh
forgot to mention, changing the shell to bash allows the gnome-session to run normally
Might need to change the line to dbus-update-activation-environment --all /dev/null 2>/dev/null ||:
The following fix has been pushed: 08125ed gnome-session: drop bashism from shell script
Created attachment 334159 [details] [review] gnome-session: drop bashism from shell script Apparently dash doesn't support >& and some people use dash. This commit changes it to the more wordy form > ... 2>&1 .