From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,fbce78b564233c0f X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,fbce78b564233c0f X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-15 02:13:08 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!gw1.att.com!fnnews.fnal.gov!uwm.edu!cs.utexas.edu!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!eru.mt.luth.se!news.luth.se!sunic!ugle.unit.no!trane.uninett.no!due.uninett.no!dsfys1.fi.uib.no!iversen From: iversen@dsfys1.fi.uib.no (Per Steinar Iversen) Newsgroups: comp.sys.dec,comp.unix.ultrix Subject: Re: Usage of DECstations as X terminals Date: 15 Feb 1995 10:13:08 GMT Organization: Department of Physics, University of Bergen, Norway Sender: iversen@vsfys1.fi.uib.no (Per Steinar Iversen) Distribution: world Message-ID: <3hsk3k$nts@due.uninett.no> References: <3h58o2$av6@pt9201.ped.pto.ford.com> Reply-To: PerSteinar.Iversen@fi.uib.no NNTP-Posting-Host: dsfys1.fi.uib.no X-Newsreader: mxrn 6.18-30 Xref: nntp.gmd.de comp.sys.dec:21623 comp.unix.ultrix:16780 In article <3h58o2$av6@pt9201.ped.pto.ford.com>, cannell@pt9500.ped.pto.ford.com (Larry Cannell) writes: >We use older Ultrix workstations as X window terminals all the time. Here >is the entry in our /etc/ttys file: > >:0 "/etc/Xws_with_100dpi" none on secure > >And here is the Xws_with_100dpi file (I have others for differing situations): > >#!/usr/bin/ksh ># ># Startup the X server. In the case of a DECstation 5000/133 this is Xws. ># ># This file sets the font path to the DECwindow 100dpi directory plus ># the directory containing miscellaneous fonts and the MIT supplied fonts. ># >exec /usr/bin/Xws bc \ >-fp /usr/lib/X11/fonts/decwin/100dpi,\ >/usr/lib/X11/fonts/misc,\ >/usr/lib/X11/fonts/MIT \ >-class 1280x1024 -query pt9500 \ >-terminate\ > >> /usr/lib/X11/xdm/Xws-errors 2>> /usr/lib/X11/xdm/Xws-errors I tried this on our two old DECstations, a 5000/200 CX and a 5000/125 MX, both running Ultrix 4.2. The login host is an Alphastation running OSF/1 V3.0B The CX, which has a color screen works nicely, but the MX machine, which is monochrome, will not allow logins - the login screen comes up, but the login immediately fails after entering the correct password. In the log-file of xdm on the Alpha each such failure leaves lines like this: > X Error of failed request: BadAccess (attempt to access private resource denied) > Major opcode of failed request: 88 (X_FreeColors) > Serial number of failed request: 951 > Current serial number in output stream: 961 Probably this is because of the lack of colors - yet monochrome VXT terminals have no such problem. Does anyone know how to make Ultrix tell OSF that the screen is monochrome and not color? My script looks like this: #!/bin/sh exec /usr/bin/Xws bc \ -XDMCP_class 1280x1024 -query alphastation \ -once\ >> /usr/lib/X11/xdm/Xws-errors-2 2>> /usr/lib/X11/xdm/Xws-errors-2 # -psi