Removing DECwindows

Jaye Mathisen mathisen at dali.cs.montana.edu
Tue Aug 28 19:38:01 AEST 1990


In article <6756 at milton.u.washington.edu> flanagan at milton.u.washington.edu (Jim Flanagan) writes:
|
|  I am trying to rid a DS5000 of the DECwindows stuff that comes up when the
|  machine is rebooted, in lieu of X11R4, but there is some confusing stuff
|  going on. I figured that control of the display was handled in /etc/ttys
|  but lo and behold:
|
|        console "/etc/getty std.9600" vt100     off     secure  
Well, you can change the off to on, and then by removing the :0 line 
you mention below, you can still log in on the console (after a kill -1 1).
|
|  nothing strange. So, on a whim I scan the file for anything out of the
|  ordinary and found it:
|
|        :0 "/usr/bin/login -P /usr/bin/Xprompter -C /usr/bin/dxsession -e" 
|        none on secure window="/usr/bin/Xcfb"
|
|  How is this thing used? There is no /dev/:0. I removed it, and I got a dead

This is the line that keeps the X server running, and fires up the login
prompter.  If you're using X11R4, you're going to want to bag using /etc/ttys
and go with xdm...  it's quick, it's easy, and it's the law...




What I did to use R4 on DS5000's and 3100's is:

rename /usr/bin/X11 -> /usr/bin/X11.dw
rename /usr/lib/X11 -> /usr/lib/X11.dw
rename /usr/lib/lib*X*.a -> /usr/lib/lib*X*.a.dw  (except for libcursesX.a)
rename /usr/include/X11 -> /usr/include/X11.dw

installed R4 in /usr/local/{lib,bin,include}/X11, and set up xdm.

Then I copied the app-defaults files from /usr/lib/X11.dw/app-defaults to
/usr/local/lib/X11/app-defaults, added the fonts.alias file posted awhile back,
changed my path to put /usr/local/bin/X11 first, and voila'!  R4 clients
to an R4 server, but I can still use dxterm, and most of the other
Decwindow stuff...

Of course, if you're a purist, the simplest way is to delete all the
DECwindow subsets with setld, install R4, and go crazy...



More information about the Comp.unix.ultrix mailing list