Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!ucbvax!COHO.LERC.NASA.GOV!fsfacca From: fsfacca@COHO.LERC.NASA.GOV (Tony Facca) Newsgroups: comp.sys.sgi Subject: Problem starting X apps without csh Message-ID: <9102261506.AA03162@coho.lerc.nasa.gov> Date: 26 Feb 91 15:06:07 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 51 Here is a wierd one.. When I run with "csh" as my default shell, I can start X applications during startup, but when I use "sh" or "tcsh", I can't. Background: OS 3.3.1, various platforms In /usr/NeWS/lib/user.ps I have the following lines: . . /basicRestartActions [ { establishEnvironment } { RunConsole } { startXsgi } ] def . . /RestartActions [ { (-n C_Shell -r1000 -s40x80 -t"$USER on `hostname`") forkwsh (/usr/bin/X11/xclock -hd blue -bg grey -update 1 \ -geometry 145x145 +1095+835 &) forkunix (/usr/bin/X11/xcalendar -geometry 275x185-50-600 &) forkunix . . Under sh, csh and tcsh the forkwsh works, but under sh, and tcsh, forking the X apps does not work. Looking into what may be causing this, I tracked down startXsgi which comes from /usr/NeWS/lib/NeWS/init.ps and is simply a call to "xtart -c". This is supposed to, eventually, start up Xsgi. A "ps -ed" shows that indeed Xsgi got started, regardless of what shell I use, one for each shell forked during startup. So, what can be going on? Is there some dependence on csh in order to start X applications from user.ps? Any ideas would be appreciated. ----------------------------------------------------------------------------- Tony Facca | fsfacca@avelon.lerc.nasa.gov | phone: 216-433-8318 ----------------------------------------------------------------------------- You are at Witt's end. Passages lead off in *all* directions. Brought to you by Super Global Mega Corp .com