[Ubuntu-x-swat] [Bug 710144] Re: Xsession: unable to launch "" X session --- "" not found; falling back to default session.

2011-05-11 Thread Surak
Interesting, I start to understand this bug. When I updated from Kubuntu 10.10 to 11.04, there was, indeed, a message, just before logging in, about my 'kde' session not being valid anymore and that I should choose a valid one, or else the 'default' session would be used. I chose the new name 'kde-

[Ubuntu-x-swat] [Bug 710144] Re: Xsession: unable to launch "" X session --- "" not found; falling back to default session.

2011-05-07 Thread Surak
Sorry for assuming it was a typo. I don't have great shellscript knowledge, but if I had payed attention to the code, I shoud have guessed it was not a function, but a case statement. Interestingly enough, it did solve the warning dialog problem. Anyway, I changed the line to default|"") and thi

[Ubuntu-x-swat] [Bug 710144] Re: Xsession: unable to launch "" X session --- "" not found; falling back to default session.

2011-05-07 Thread Surak
OK, I did as in the bug description's "untested patch" and changed the line default) to default("") in the file /etc/X11/Xsession.d/20x11-common_process-args and the problem disappeared. Please note that there is a mistype in the bug descripton's "untested patch": default|"") instead of defaul

[Ubuntu-x-swat] [Bug 710144] Re: Xsession: unable to launch "" X session --- "" not found; falling back to default session.

2011-05-07 Thread Surak
This bug appeared to me after I upgraded to Natty 11.04, from 64 bit version of 10.10. I tried Ivan Firago's suggestion (chmod -x /usr/bin/which) and it DID work, but since some programs need it, like firefox's lauching script, that will not solve the problem for me. Though it may be a good hint t