vartan@spam.istc.sri.com (10/24/89)
I'm having trouble starting X in my workstation. I would like to do the following: Run X11 R3 in such a way that typing "exit" in the console window will gracefully exit, terminating all X-related processes, and nicely return me to my shell from which I invoked X initially. I did this once before, but can't seem to remember how I had it set-up. I think I had a short (3-line) script that called xinit and set up a few shell variables. Then, once the initial xterm window started by xinit came up, I executed another very short script that invoked the real console xterm, etc.... Below is a .xinitrc file I've been trying to use. Any suggestions, either to modify or scrap completely and try another approach? Please respond to me, I'll post replies. Thanks for your help. ------------------ #! /bin/sh # exec >>/tmp/xinit.out1 2>>/tmp/xinit.out2 # display=`hostname`:0 DISPLAY=unix:0.0 ; export DISPLAY xrdb -load $HOME/.Xresource sleep 5 awm > & (xterm -g 80x10+0+0 \#+1090+170 -C -ls -n console -T console -fn courr14; \ kbd_mode -a) & Vartan Piroumian Internet: vartan@spam.istc.sri.com