how to run root cmds when starting xorg?
tl32 at next.online.no
Mon Feb 26 02:49:52 UTC 2007
Tore Lund wrote:
> The startup script is /usr/X11R6/lib/X11/xdm/Xsetup_0. You may also
> want to have a look at /usr/X11R6/lib/X11/xdm/Xsession. This latter
> file will call up ~/.xsession, which is where we normally put commands
> at the beginning of an X session called up through xdm. What I do in
> that file is to call nvidia-settings and display a background image. I
> guess ~/.xsession is the right place to put a kldload - this file may be
> simply a symlink to .xinitrc (if the setup you want is in this file).
Correction: The file where I call nvidia-settings and display a
background image is /usr/X11R6/lib/X11/xdm/Xsetup_0.
More information about the freebsd-questions