I'm a Linux newbe. I've installed Redhat 4.1 on my Pentium 100 Mhz clone.
My problem is configuring X. The documentation is scattered, outdated and/or missing. *Very* confusing for a newcomer.
When I type "startx" as root, I get a screen configuration I can live with, but still would like to modify. (In particular, I don't need to be thanked for "installing Red Hat Linux" anymore). If I'm not logged in as root, I get a screen I like much less (and Arena rather than Red Baron!)
The book "Running Linux" told me to look for an ".initrc" file. I found /var/X11R6/lib/xinit/xinitrc (no "." on the filename). When I looked at this file I found the line
"if [ -f $HOME/.Xclients]; then exec $HOME/.Xclients .....
and said "Aha!" that's why I get a different screen logged in as root.
Sure enough, I found a .Xclients file in the root directory.
As root I entered the command
cp .Xclients /home/kk
and got the error message
cp: cannot create regular file '/home/kk/.Xclients': Invalid argument.
The directory /home/kk was created when I first installed linux and used the control panel to add the user kk.
I find that I cannot write any file whose name begins with a period to /home/kk. I opened (as root) .Xclients with PICO.
and tried writing (^O) to /home/kk/.Xclients. I got the error message: [No room for file: Invalid argument]. I then tried ^O and gave it the name /home/kk/foo and it saved it.
I did ls -l from /home. The line for kk was
drwxr-xr-x 3 root root 32768 Mar 26 19:17 kk
Help will be greatly appreciated.