Re: startx and xfce
shark@gulfnet.sd64.bc.ca wrote:
> Kernel 2.6.17 and Etch are installed here
> and startx invokes xfce, all OK.
>
> But how does startx find xfce rather than
> xpdf or another X client? man startx
> remarks that it looks for ".xinitrc in the
> user's home directory. If that is not
> found, it uses the file xinitrc in the
> xinit library directory."
>
> There is no .xinitrc.
>
> /etc/X11/xinit/xinitrc merely invokes
> /etc/X11/xsession and this contains no
> reference to xfce.
>
The file "/etc/X11/Xsession" includes all files in directory
"/etc/X11/Xsession.d", among others the file
"50x11-common_determine-startup".
In this file it is first tried to use "$HOME/.xsession" or
"$HOME/.Xsession" if allowed in "/etc/X11/Xsession.options"
and if still nothing is found it tries
"/usr/bin/x-session-mangager",
"/usr/bin/x-window-mangager", and finally
"/usr/bin/x-terminal-emulator".
Regards,
Jörg-Volker.
Reply to: