Francisco Alcaraz Ariza wrote:
> What about XFree86 4.0.3?
>
XFree86 4.0.3 (as in Mandrake) is O.K. The reason os changed logic in
startx. In Mandrake8, startx added command line parameters to xinit
arguments and correctly handled the case of program name as first argument:
sysclientrc=/etc/X11/xinit/xinitrc
clientargs=""
...
while [ "x$1" != "x" ]; do
case "$1" in
/''*|\.*) if [ "$whoseargs" = "client" ]; then
if [ "x$clientargs" = x ]; then
clientargs="$1"
else
clientargs="$clientargs $1"
fi
Now in current version startx is unconditionally using command line
arguments if given:
sysclientrc=/etc/X11/xinit/xinitrc
defaultclientargs=""
clientargs=""
...
while [ "x$1" != "x" ]; do
case "$1" in
--)
whoseargs="server"
;;
*)
if [ "$whoseargs" = "client" ]; then
clientargs="$clientargs $1"
...
if [ x"$clientargs" = x ]; then
clientargs="$defaultclientargs"
fi
That is wrong because default command to start (initrc) is lost in this
case.
-andrej
> Francisco Alcaraz
> Murcia (Spain)
>
>
> El Sáb 26 May 2001 13:41, escribiste:
>
>>Since updating to 4.0.99.900 I can no more explicitly specify desktop in
>>startx. I useed KDE as default desktop and plain startx still starts it.
>>But using 'startx Gnome' or 'startx KDE' simply endes with rxvt error
>>message - it looks, like startx finally attempts to run rxvt passing
>>desktop name as argument.
>>
>>Anybody has seen it as well? It is with -3mdk currently and
>>xinitrc-2.4.4-45mdk.
>>
>>-andrej
>>
>