Package: x11-common
Version: 1:7.7+1
When specifying arguments to an xsession under GDM3 (3.4.x), in '/usr/share/xsessions/*.desktop'
such as "gnome-session --debug" the session fails to load with the following error:
Xsession: unable to launch ""
Xsession --- "" not found; falling back to default
It's actually the double quotes the argument is parsed with that makes it to fail in:
'/etc/X11/Xsession.d/20x11-common_process-args'
Line: STARTUP_FULL_PATH=$(/usr/bin/which "$1"|| true)
Line: STARTUP="$1"
Removing those double quotations from the argument name in the two lines solves the problem to me and the sessions loads fine afterward
Please consider including this fix in x11-common package
I'm confirming finding this bug in Debian Testing (Wheezy), kernel 3.2.28-0 and x11-common 1:7.7+1