[plug] RH 7.3 login menu

John Knight anarchist_tomato at hotmail.com
Mon Jul 1 23:39:29 WST 2002


Strewth McGewth!

Cheers mate!

>
>John
>
>I got this from Google groups.  I haven't tried it myself, so you will have
>to do it at your own risk.
>
>You must do three things:
>1) Install window manager packages. Most store the executable in
>/usr/X11R6/bin  this path should be on your path.
>
>2) Add the window Managers to the Login Manager. (Logged in as root)
>     KDE Menu -> Settings -> Applications -. Login Manager
>     Add the window managers to the selection list
>
>3) Modify Xsession File
>The file you must modify is:
>/usr/X11R6/lib/X11/xdm/Xsession
>This script is called by kdm with the parameter being passed the window
>manager
>you choose from the start up screen.  Mine is below.  I moved the the check
>for
>Xresources to the begining then I added to the case statement the different
>exec commands for the window managers.  If you move the check for .Xseesion
>to
>the front you give users a chance to override your window manager.  I would
>do
>this I would add a ase User Defined which the body of the case was the
>xsession
>code. that way if they break it. WM is uninstalled you can still get to
>failsafe mode.
>
>#!/bin/sh
># $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $
>
># redirect errors to a file in user's home directory if we can
>for errfile in "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER"
>"/tmp/xses-$USER"
>do
>  if ( cp /dev/null "$errfile" 2> /dev/null )
>  then
>   chmod 600 "$errfile"
>   exec > "$errfile" 2>&1
>   break
>  fi
>done
>
>resources=$HOME/.Xresources
>
>if [ -f "$resources" ]; then
>  xrdb -load "$resources"
>fi
>
>case $# in
>1)
>  case $1 in
>  failsafe)
>   exec xterm -geometry 80x24-0-0
>   ;;
>  kwm)
>   exec kwm
>   ;;
>  piewm)
>   exec piewm
>   ;;
>  Afterstep)
>   exec afterstep
>   ;;
>  tvtwm)
>   exec tvtwm
>   ;;
>  fvwm95)
>   exec fvwm95
>   ;;
>  fvwm)
>   exec fvwm2
>   ;;
>
>  gnome)
>   exec gnome-wm
>   ;;
>
>  esac
>esac
>
>startup=$HOME/.xsession
>
>if [ -f "$startup" ]; then
>  exec "$startup"
>else
>  exec xsm
>fi
>
>-----Original Message-----
>From: John Knight [mailto:anarchist_tomato at hotmail.com]
>Sent: Monday, July 01, 2002 12:31 AM
>To: plug at plug.linux.org.au
>Subject: RE: [plug] RH 7.3 login menu
>
>
>Sorry fellers, I tried to RTFM, but I couldn't really find what I was 
>after.
>
>You know the login screen for runlevel 5 in RH 7.3? How do I put blackbox
>and icewm in there? I've tried just adding their names in the session part
>of the Login Manager in KDE's Control Centre, which I was sure wouldn't 
>work
>
>but actually did work for windowmaker! It certaintly isn't working for
>blackbox and icewm though, anyone out there able to give advice?
>
>cheers!
>John
>
>
>Make lunch, not war.
>
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com




Make lunch, not war.


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



More information about the plug mailing list