You most certainly can what you want. Look at your "startx" script.
IIRC, (it's been a while), your startx script looks for .xinitrc in
the users home directory. If it isn't found, it defaults to the
system-wide version of .xinitrc. Here's the best way to do it (IMO):
Set up the system-wide version of .xinitrc to do whatever a typical
user may want. If a particular user wants something different, they
can copy the system-wide .xinitrc into their home directory, and edit
it to taste (to change the Window-Manager, etc.) You, as root can
do the same. A ".xinitrc" in as home directory overrides the system
wide version.
Hope this helps,
Bryan
>
> Would it be possible to have a desktop as root (ex. Afterstep) and
> another desktop for users (ex. KDE) ?
>
> I guess I have to write some "if" in Xclients but how can I tell the
> computer that I am loggin as "root" or as "user" ?
>
> Or maybe shall I write another startx named startk (for KDE) and make it
> look for the /HOME/user/Xclients ?
>
> I have RedHat 5.1 with KDE on.
>
> I want to do this because as user I use KDE GUIs but as root Afterstep
> is closer to the original redhat tools.