spirit@uxe.cso.uiuc.edu (03/26/89)
Hello Xers, Does anybody know how to set up X11 on the HP9000's to spawn a login shell at the root window? The manual gives an example using the "-L" option but it crashes and burns. A sample line from somebody's /etc/inittab who has this figured out would be beautiful... ADVthanksANCE, spirit@uxe.cso.uiuc.edu
larryc@hpislx.HP.COM (Larry Corsa) (04/06/89)
>> Does anybody know how to set up X11 on the HP9000's to >> spawn a login shell at the root window? >> The manual gives an example using the "-L" option but >> it crashes and burns. A sample line from somebody's >> /etc/inittab who has this figured out would be >> beautiful... The line I added to /etc/inittab looks like: x0:3:respawn:env PATH=/bin:/usr/bin/X11:/usr/bin HOME=/users/larryc DISPLAY=hpis lljc:0 xinit /users/larryc/xstart ttyqf -- :0 >>/tmp/xinit.log 2>&1 The script /users/larryc/xstart looks like: : ${WMDIR:="/dev/screen"}; export WMDIR : ${DISPLAY:=hpislljc:0.0}; export DISPLAY xinitcolormap -f /usr/lib/rmb/newconfig/xrmbcolormap xsetroot -solid CadetBlue xload =120x80-0-0 -fg red -bg wheat -bd navy -scale 2 -update 15 & xclock =120x120-0+0 -fg black -bg wheat -bd navy -hl black -update 1 -analog & exec hpterm =80x24+180+150 -fg blue -bg wheat -bd navy -cr gold -bw 2 -ms red -ss 7 -sb -t "Login Window" -n "Login Window" -L "$@" Link /dev/pty*/*qf /dev. A listing of /dev/*qf looks like: crw-rw-rw- 2 root other 16 0x00001f May 31 1988 /dev/ptyqf crw-rw-rw- 2 root other 17 0x00001f May 31 1988 /dev/ttyqf And of course, there is an entry for Xwindow in /etc/gettydefs that looks like: Xwindow# B9600 HUPCL PARENB CS7 # B9600 SANE PARENB CS7 ISTRIP IXANY ONCLR TAB3 #login: #Xwindow This all works (for me, except when discless!?), and has the benefit(?) that logging out or ctrl-shift-reset causes a complete wipe and respawn. Larry Corsa Hewlett-Packard larryc@hpislx