SUMMARY: CDE Login Screen and Console Messages

From: Ben Anello (bjanell@sandia.gov)
Date: Tue Feb 17 1998 - 04:51:40 CST


Got this working thanks to those responses below. I used the final
response for my solution:

Original Question:
We need to have our console machines logged out (meaning that they are
sitting at the login box screen. We would also like to have console
messages on those screens so that someone walking by the logged out
console can see that something is amiss. Has anyone figured out a
way to have a console window running at the same time that the
login box is on the screen?

Thanks!!
-----------------------------------------------------------------------
Responses:

From: "Kenn Owen" <kowen@aip.org>

I don't know if it is possible to have a console window up while a login is
waiting to occur. What I have done is disabled the dtlogin script in
/etc/rc2.d
so that the system does not go to the CDE login screen. I figure that not too
many people should be logging into the server console and the ones that do
should
be able to bring up CDE once they are logged into the server.
-----------------------------
From: "Auteria Wally Winzer Jr." <wally.winzer@ChampUSA.COM>

Read the dtlogin man page. This should explain how to disable the dtlogin
screen
on your console.
-----------------------------
From: Arthur Darren Dunham <add@netcom.com>

Do you need CDE? Could you just edit out the server line in
/etc/dt/config/Xservers and not run CDE on the console? You'll have a
standard 'login:' prompt and messages to /dev/console will appear on
the screen.
-----------------------------
From: Shriman Gurung <SG@datcon.co.uk>

I haven't got a solution but a partial workaround might be to configure
syslogd on the machines to send all messages to a system administrators
(logged-in!) machine, so they are recorded and displayed there.
Otherwise you are doomed to spend your days walking around the machines
looking for console messages ...;-)
-----------------------------
From: Ronald Loftin <reloftin@mailbox.syr.edu>

I use OpenWindows and xdm instead of CDE, but this should work in the CDE
environment as well. The following is the "Xsetup_0" script called
specified in xdm-config:

#!/bin/sh
xsetroot -default -display :0.1
xconsole -geometry 600x100-264-200 -daemon -notify -verbose -fn fixed
-exitOnFail
xclock &

This puts a window for xconsole on the screen below the login window, and
also leaves a clock running on the display. Relevant entries from the xdm
"Xresources" file follow:

XClock*analog: false
XClock*font: 8x13bold
XClock*geometry: -2+0
XClock*update: 1

XConsole.text.geometry: 600x100-276-200
XConsole.verbose: true
XConsole*iconic: true
XConsole*font: fixed

Naturally, you can customize these to your own taste.
-----------------------------
From: eddy keller {74156} <eddy@swl.msd.ray.com>

Here is a snippet from the CDE FAQ (found at
http://www.pobox.com/~burnett/cde/index.html):

3.12) I have recently installed CDE on my Solaris 2.5.1 server. I would like
to have CDE throw up the login screen at boot time on my console, but miss
the console messages that are normally displayed there?

  1. Add the following to /etc/dt/config/Xconfig:

     Dtlogin._0.setup: Xsetup_0
     Dtlogin*grabServer: False

  2. Copy /usr/dt/config/Xsetup to /etc/dt/config/Xsetup_0 and add the
     following line at the bottom:

     ( sleep 2; /usr/openwin/bin/xconsole -geometry 480x130-0-0 -daemon
     -notify -verbose -fn fixed -exitOnFail )&
  3. Then restart dtlogin.

-----------------------------------------------------------------------
That is what we ended up using. Wouldn't you know there'd be a
FAQ somewhere about CDE. You might want to check it out for other
helpful hints.

Thanks to all who responded...

b.

==============================================================================
NameNet: Benjamin J. Anello SnailNet: Sandia National Laboratories
YellNet: 505-845-9503 ATTN: Benjamin J. Anello, MS 0660
FaxNet: 505-845-9503 P.O. Box 5800
EMailNet: bjanell@sandia.gov Albuquerque, NM 87185-0660
==============================================================================
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6

mQBvAzFElJYAAAEDAKBOHThEEZ/KmGPOnNr5rJ/kXlIN3rQwj/TZK7MkeulHuN3W
SmZEUZdlk1mFdMsK4uXZYuY4MxdBNHaEk+ArT2G9b6LnYJtmYGHmROKWYktw8hGN
pV0NNwvCiuKBhTNzVQARAQABtCdCZW5qYW1pbiBKLiBBbmVsbG8gPGJqYW5lbGxA
cmVzcGVjLmNvbT60J0JlbmphbWluIEouIEFuZWxsbyA8YmphbmVsbEBzYW5kaWEu
Z292Pg==
=sDMG
-----END PGP PUBLIC KEY BLOCK-----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:31 CDT