[3610] in RedHat Linux List

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

Re: xdm

daemon@ATHENA.MIT.EDU (Wierdl Mate)
Sat Nov 9 15:25:30 1996

To: Aris Mulyono <amulyon@eos.ncsu.edu>
cc: redhat-list@redhat.com
In-reply-to: Your message of "Sat, 09 Nov 1996 17:16:46 EST."
             <328502CE.F76@eos.ncsu.edu> 
Date: Sat, 09 Nov 1996 14:19:58 -0600
From: Wierdl Mate <matyi@wierdlmpc.msci.memphis.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

For xdm, you need to do two things:

1) Set up your environment in ~/.xsession (.xsession is read at 
login under xdm). Here is my .xsession:

#!/bin/bash
# begin ~/.xsession

# systemwide config

  if [ -f /etc/profile ]; then
    source /etc/profile
  fi


  if [ -f /etc/bashrc ]; then
    source /etc/bashrc
  fi


# my profile

  if [ -f ~/.bash_profile ]; then
    source ~/.bash_profile
  fi

# keymaps
  if [ -f ~/.Xmodmap ]; then
     xmodmap ~/.Xmodmap
  fi

# pland daemon for plan

  pland -k
	 
rxvt &

xhost moni
xhost zebra

if [ ! -z $(type -path oclock) ]; then
	oclock -geometry +0+0 &
else
	xclock -geometry +0+0 &
fi

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

# end ~/.xsession

You probably want to modify this (especially, if you have a different
shell from bash). You (probably) also want to have the
following in ~/.Xmodmap

keycode 22 = BackSpace
keycode 107 = Delete


To try out xdm, do
	$ /usr/bin/X11/xdm -nodaemon 


2) Make 5 your default runlevel. You do this by making  this change in
 /etc/inittab

#id:3:initdefault:
id:5:initdefault: 


To try out xdm, do
	$ /usr/bin/X11/xdm -nodaemon 
If it looks OK, reboot. 

Mate
M\'at\'e Wierdl
Department of Mathematical Sciences
University of Memphis,
E-mail: matyi@moni.msci.memphis.edu


--
  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