[comp.unix.ultrix] Removing DECwindows

flanagan@milton.u.washington.edu (Jim Flanagan) (08/27/90)

  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  

  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
  console. I tried

        :0       "/etc/getty std.9600" vt100     off     secure

  and got a dead console.

  What I guess I want is the node information for the frame buffer on the
  DS5000 (This is a color machine). Or? Is there something simple I am 
  missing (yeah! 4.0 Docs!)

  Please reply via mail. I'm too busy reading alt.sex.bondage to pay attention
  to comp.* groups.

  Thanks,

  =====================================================================
  Jim Flanagan
  =====================================================================
  Systems Programmer                |                remmargroP smetsyS    
  University of Washington          |          notgnihsaW fo ytisresinU
  Department of Statistics (GN-22)  |  )22-NG( scitsitatS fo tnemtrapeD
  Seattle, WA 98195                 |                 59189 AW ,elttaeS
  flanagan@stat.washington.edu      |      ude.notgnihsaw.tats@naganalf
  =====================================================================

mathisen@dali.cs.montana.edu (Jaye Mathisen) (08/28/90)

In article <6756@milton.u.washington.edu> flanagan@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...

wendl@munich.enet.dec.com (uli) (08/29/90)

Ahh, "sm" means "SadoMasochism", correct?

If you get a solution to start DECwindows (or OSF/Motif) simply out of .login,
but not automatically, please let me know.

Uli

barrett@jhunix.HCF.JHU.EDU (Dan Barrett) (08/30/90)

In article <279@uninet.vbo.dec.com> wendl@munich.enet.dec.com (uli) writes:
>If you get a solution to start DECwindows (or OSF/Motif) simply out of
>.login, but not automatically, please let me know.

	First, comment out the ":0" in /etc/ttys and uncomment the "console"
line, as described in another posting, to stop DECwindows from coming
up at boot time.

	Then put the following into a shell script (say, "startdx"):

/usr/bin/X11/xinit /usr/bin/dxsession :0 -- /usr/bin/X :0
exit 0

Then to start DECwindows from a .login file or command line, just invoke
this shell script:

	$ startdx

THE FULL PATH NAMES ARE IMPORTANT -- this is the "xinit" provided by DEC
unsupported, and DEC's DECwindows X server.  On our machine, /usr/bin/X
is a symbolic link to /usr/bin/Xmfb (monochrome DS3100).

                                                        Dan

 //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
| Dan Barrett, Department of Computer Science      Johns Hopkins University |
| INTERNET:   barrett@cs.jhu.edu           |                                |
| COMPUSERVE: >internet:barrett@cs.jhu.edu | UUCP:   barrett@jhunix.UUCP    |
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////