>>I have no .xsession file
>>or .xinitrc file
>>I have a .Xclients file, but that is only running startkde. Not any window
>>managers
> there must be a xinitrc somewhere. i didnt have a .xinitrc in my home dir
> either. i forgot where it was tho. but i got it working just fine. mind
> you, xinitrc not .xinitrc
If it's a RedHat box, the system is configured by default to prefer a
.Xclients file, which is executed whether you're running 'startx' or
your session is handled by xdm/kdm/gdm/etc.
There is a /etc/xinitrc which contains commands that affect every user,
but you shouldn't need to change that at all. Here's what you need to
do:
1) cd ~ (into your home directory)
2) Open a text editor (vi, emacs, pico, whatever)
3) Create the following
------ BEGIN -------
#!/bin/bash
# Lines starting with a # are ignored, except for the first line.
# if /opt/kde/bin isn't already in your PATH, uncomment the following to
# put it in there. (or wherever you installed KDE)
# export PATH=$PATH:/opt/kde/bin
startkde
------ End ------
4) Save it as .Xclients
5) Type "chmod +x .Xclients"
6) start up X.
--
Ben Johnson
(remove usenet to reply)