Path: utzoo!attcan!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.sysv386 Subject: Re: X Windows under ISC 2.2 Message-ID: <1990Sep16.131513.3987@virtech.uucp> Date: 16 Sep 90 13:15:13 GMT References: Reply-To: cpcahil@virtech.UUCP (Conor P. Cahill) Distribution: comp.unix.sysv386 Organization: Virtual Technologies Inc., Sterling VA Lines: 134 In article bfls@cain.anu.edu.au (Barbara La Scala) writes: >I am unable to get more than five clients to run using ISC's Xvga server. Has >anyone come across such a phenomenon and can offer me some advice? I have >RTFM and they suggest: I have had a similar problem and found that the only solution was to put a sleep between each x client initialization from .xinitrc. Here is a sample of my .xinitrc that starts up zillions of things (I have a 19" 1600x1200 monitor, so I can start lots of things and still have room) Good luck. Sample .xinitrc file: userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/lib/X11/xinit/.Xresources sysmodmap=/usr/lib/X11/xinit/.Xmodmap HOST="`uname -n`" # # The following two variables are used to pause the software initializations # between each step. When too many things are started at the same time, the # server gets screwed up and gets into a state where all new connection # requests just hang (i.e. they are not refused, but they never succeed nor # timeout). # # Set both to nothing (comment them out) if your server does not have this # problem # SLEEPCMD=sleep SLEEPTIME=7 case "$DISPLAY" in unix:0.0|unix:0|:0.0|:0) DISPLAY="${HOST}:0";; esac DISPSET="-display ${DISPLAY}" # merge in defaults and keymaps if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi ${SLEEPCMD} ${SLEEPTIME} # # set bell frequence, and duration # xset b 95 1200 150 # # start up motif windo manager # mwm & ${SLEEPCMD} ${SLEEPTIME} # # start up clock # xclock ${DISPSET} -update 1 -g 75x75+95+0 & ${SLEEPCMD} ${SLEEPTIME} # # start up load average windo for this system # xload ${DISPSET} -update 2 -g 250x75+190+0 & ${SLEEPCMD} ${SLEEPTIME} # # start window that shows who is on the system on virtech (and beeps when # the list changes) # xterm -n "who's on virtech" -T "who's on virtech" -geometry 37x10+720+0 \ -e remsh virtech TERM=xterm DISPLAY=$DISPLAY /usr/local/bin/whoson & ${SLEEPCMD} ${SLEEPTIME} # # start up big local window (iconified) # xterm -n 'ender 96x64' -T 'ender:xterm #1' ${DISPSET} -geometry 96x64+0+110 -i & ${SLEEPCMD} ${SLEEPTIME} # # start up mail notifyer for my virtech mailbox # rcmd virtech "xbiff -update 1 -file /usr/mail/$LOGNAME ${DISPSET} -geometry 75x75+0+0 &" ${SLEEPCMD} ${SLEEPTIME} # # start up load average display for virtech # rcmd virtech 'xload ${DISPSET} -update 2 -geometry 250x75+455+0 &' ${SLEEPCMD} ${SLEEPTIME} # # start up three xterms that are rlogged into virtech (iconified) # xterm -i -n 'virtech 96x64' -T 'virtech #1' ${DISPSET} -geometry 96x64+0+110 -e rlogin virtech -e & ${SLEEPCMD} ${SLEEPTIME} xterm -i -n 'virtech 80x44' -T 'virtech #3' ${DISPSET} -geometry 80x44+912+530 -e rlogin virtech -e & ${SLEEPCMD} ${SLEEPTIME} xterm -i -n 'virtech 80x30' -T 'virtech #2' ${DISPSET} -geometry 80x30+912+16 -e rlogin virtech -e & ${SLEEPCMD} ${SLEEPTIME} # # start up the login xterm (iconified) # exec xterm -i -geometry 80x24+0+0 -name login -T login -- Conor P. Cahill (703)430-9247 Virtual Technologies, Inc., uunet!virtech!cpcahil 46030 Manekin Plaza, Suite 160 Sterling, VA 22170