Hello Alex,
Please forgiveme. THIS is my DUMMY month. :-P
Is not a configuration trouble, it's a root troublue. The settings are all OK. I just forget to tell where to start. Now I do:
user@earth~> startx -- :0 -depth 24 user@earth~> startx /usr/X11R6/bin/fvwm2 -- :1 -depth 8
and everything is OK.
Thesis + Teaching Duties + Root = Chaos
Not in that order, of course.
And now a second question. When you call 'startx', the X server starts and a ".X.err" is created in your home directory (we are all using home directories via NFS). If you type:
user@earth~> ps -ef ... user 3798 2010 0 10:08 tty1 00:00:00 -bash user 3868 3798 0 10:09 tty1 00:00:00 /bin/sh /usr/X11R6/bin/startx -- :0 -depth 24 user 3869 3798 0 10:09 tty1 00:00:00 tee /home/user/.X.err user 3881 3868 0 10:09 tty1 00:00:00 xinit /home/user/.xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc :0 -depth 24 -auth ... root 3882 3881 2 10:09 ? 00:00:40 X :0 -depth 24 -auth /home/user/.Xauthority user 3892 3881 0 10:09 tty1 00:00:00 /bin/bash --login /usr/X11R6/bin/kde ...
The console errors of the X server are logged to ".X.err" When the second "startx" is called, its output overwrites the ".X.err" of the first. I was looking trough the scripts where the "tee /home/user/.X.err" is created, to simply add to the name of the file the console, just to have two error logs, but I didn't find any clue.
Do you any suggestion?
By the way, I've provide my users with a script "2startx" that is:
startx -- :0 -depth 24 sleep 30 startx /usr/X11R6/bin/fvwm2 -- :1 -depth 8
Thanks once again