On Fri, 11 Aug 2023 07:39:09 -0400 Robert McBroom via users users@lists.fedoraproject.org wrote:
What shell are you using? In Bash--
~]$ echo 'exec startlxde' >> $XCLIENTS
bash: $XCLIENTS: ambiguous redirect
My error. I do this from a bash script, and have the variable XCLIENTS defined in the script. I just cut and pasted from the script, and didn't notice the problem. XCLIENTS is just ~/.Xclients, which is where X (startx) expects to find the desktop definition. It has been a long time, but I think I found it somewhere in the X documentation.
~]$ XCLIENTS="exec startlxde" ~]$ echo $XCLIENTS exec startlxde
For execution from a login shell it should be echo 'exec startlxde' > ~/.Xclients