Re: Some Basic Questions (RH 6.0)



Adrian,

Here's the approach I used (I think yours would work as well).  I 
Created `$HOME/.Xclients' which looks like this: 

    #!/usr/local/bin/tcsh

    xhost + foo.bar.com

    if ( -x /etc/X11/xinit/Xclients ) then
        exec /etc/X11/xinit/Xclients
    else
        exec xsm
    endif

This basically looks like the last part of `/etc/X11/xdm/Xsession'
which gets eventually get's invoked (without arguments) by `gdm'.

The reason I did this instead of creating a `$HOME/.xsessions' file is
that the RedHat `/etc/X11/xinit/Xclients' does a few things I don't
want to understand or reimplement, and they may update this file in
future releases (or they may eliminate it...).

            -Fred



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