[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Potato Broke My X



On Thu, Mar 09, 2000 at 04:16:45PM +0000, David Wright wrote:
> 
> /etc/X11/window-managers takes precedence because it comes first in
> /etc/X11/Xsession which contains:
>                  (refers to ~/.xsession which I hid)
>                 /
>         vvvvvvvv   
> if [ -e $startup ] && grep -qs ^allow-user-xsession $optionfile; then
>   if [ -x $startup ]; then
>     realstartup=$startup
>   else
>     realstartup="sh $startup"
>   fi
> elif [ -e /etc/X11/window-managers ]; then
>   for i in `sed 's/#.*//' /etc/X11/window-managers`; do
>     if [ -x $i ]; then
>       realstartup=$i
>       break
>     fi
>   done
> elif [ -x /usr/bin/x-window-manager ]; then
>   realstartup=x-window-manager
> fi
> 
> The file is created thusly:
> /var/lib/dpkg/info/xfree86-common.postinst:
> # create /etc/X11/window-managers if it does not exist; ...
>   this is NOT a conffile
> Its existence prevents the x-window-manager alternatives method
> (I also have those links) from coming into action.

This is no longer true; Xsession no longer checks
/etc/X11/window-managers at all. You've either not updated
xfree86-common to the latest version, or didn't overwrite
/etc/X11/Xsession when you did. I believe this change occurred in
3.3.6-4, but i could be mistaken.


-- 
  finger for GPG public key.

Attachment: pgpiLDfGeyFxD.pgp
Description: PGP signature


Reply to: