[1933] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Default X configuration

daemon@ATHENA.MIT.EDU (Philip Blundell)
Wed Oct 30 19:59:21 1996

Date: Thu, 31 Oct 1996 00:57:00 +0000 (GMT)
From: Philip Blundell <pjb27@cam.ac.uk>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

The default .Xclients file that new users get is something like the
following:

#!/bin/bash

rm -f /tmp/Xrootenv.0
rm -f /tmp/fvwmrc*

if [ -f $HOME/.fvwm2rc.m4 ]; then
        RCFILE=$HOME/.fvwm2rc.m4
else
        RCFILE=/etc/X11/TheNextLevel/.fvwm2rc.m4
fi

if [ ! -z $(type -path fvwm95-2) ]; then
        env > /tmp/Xrootenv.0
        exec fvwm95-2 -f "FvwmM4 -debug $RCFILE" -display :0 \
                > $HOME/.FVWM95-errors 2>&1
fi

if [ ! -z $(type -path fvwm2) ]; then
        env > /tmp/Xrootenv.0
        exec fvwm2 -f "FvwmM4 -debug $RCFILE" -display :0 \
                > $HOME/.FVWM2-errors 2>&1
fi

if [ ! -z $(type -path fvwm) ]; then
        exec fvwm
fi

# last resort

xterm &
exec twm


This is bad, because it assumes firstly that the display will always be
:0, and secondly that nobody else is running an X session at the same time
(ie it's safe to arbitrarily blow away files in /tmp).  

Also, even if that is taken care of, upon logging in I am greeted with a
lot of disk grinding, and eventually dumped back at the xdm login prompt.
The .FVWM95-errors file contains this:

Including_buttons...
Including_complex functions...
Including_mouse bindings...
Including_key bindings...
Including_menus...
Basic start menu... 
Preferences menu...
Xlock/Screensaver menus...
Window-Ops menu...
Including_fvwm_programs...
Including_fvwm_hostmenus...
Including_modules...
Including_init...
Done
[GetFontOrFixed]: WARNING -- can't get font black, trying 'fixed'Fvwm-95:
in function ButtonStyle: <<ERROR>> Warning: XPM file isn't the right size
Fvwm-95: in function ButtonStyle: <<ERROR>> Warning: XPM file isn't the
right size
Fvwm-95: in function ButtonStyle: <<ERROR>> Warning: XPM file isn't the
right size
Fvwm-95: in function ButtonStyle: <<ERROR>> Warning: XPM file isn't the
right size
Fvwm-95: in function ButtonStyle: <<ERROR>> Warning: XPM file isn't the
right size

Does anybody have any ideas what might be wrong?

phil


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post