On Tue, 2004-03-30 at 05:57, Ingo Lantschner wrote:
> First of all, thanks for your suggestions, I am not finihed with trying them 
> all. At least they help me to get to new viewpoints in this dschungel of X.
> 
> in the users homedirectory there are files like:
> .TWM-errors:
>    /usr/X11R6/bin/RunWM: line 1: exec: twm: not found

This suggests that twm isn't installed, or isn't installed properly. 
Try "rpm -V XFree86-twm" to check it; you should get no output.

> .xsession-errors:
>     WARNING: You selected Fvwm2 as your window manager, but your installation
>     does not appear to be functional. The executable /usr/X11R6/bin/fvwm2 was 
>     not found on your system.
>    RESUMING with TWM...

This sounds like Red Hat's /etc/X11/xinit/Xclients, which only gets
called if the default session-manager-selection script
/etc/X11/xdm/Xsession can't find a window manager.  See below for an
easier way to get icewm working on a Red Hat machine.

>    X connection to ws008.ltsp:0.0 broken (explicit kill or server shutdown).

I'm not sure where this error is coming from.  It's telling you that the
X server on workstation ws008.ltsp has shut down.  It's most likely
shutting down because the window manager isn't starting.

> So it seems as if my ~/.xinitrc is NOT used.
>    # exec /usr/X11R6/bin/fluxbox
>    exec /usr/bin/icewm 
>    # exec /usr/bin/qvwm
> 
> Examining /opt/ltsp/i386/etc/screen.d/startx shows me, that xinit is NOT used at 
> all. 

No, Red Hat seems to prefer Xsession.  This script appears to be a
superset of xinit, using different config files.
> 
> May be, that this is the reason why the login is terminated immediatly after 
> successfull auth.?

No, I think the login is terminated because the window manager isn't
starting.

Ignore /opt/ltsp/i386/etc/screen.d/startx.  This script starts an X
server on the workstation but has no direct effect on the window
manager.

Look at /etc/X11/xdm/xdm-config.  You will see this line:
DisplayManager*session:         /etc/X11/xdm/Xsession

This line tells XDM to run /etc/X11/xdm/Xsession after authentication. 
In RedHat, /etc/X11/xdm/Xsession is a replacement for
/etc/X11/xinit/xinitrc, so ~/.xinitrc will never get called.

The easiest way to get icewm to come up one a RedHat box is to add the
following files after you install icewm (they aren't included with
icewm):
/etc/X11/gdm/Sessions/icewm
/usr/share/apps/switchdesk/Xclients.icewm

Here's what goes in /etc/X11/gdm/Sessions/icewm:
#!/bin/bash
exec /etc/X11/xdm/Xsession icewm

Here's what goes in /usr/share/apps/switchdesk/Xclients.icewm:
#!/bin/bash
exec /usr/bin/icewm-session

This integrates icewm into RedHat's Xsession selector.  

-- 
David Johnston <[EMAIL PROTECTED]>
Little Bald Consulting, LLC


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to