"L.V.Gandhi" <lvgandhi@gmail.com> writes: > lvgandhi@lvgdell600m:~$ cat .xsession > #!/bin/bash --login > exec startkde Cool, that works indeed. .xsession needs to be executable, and it needs to have "--login" or the semantic equivalent in the shebang line. However, there are a number of other things that are started from /etc/X11/Xsession.d, I wonder if it is fine for them to run without the user's environment. Thanks for your useful hint. Kai