SUMMARY: CDE Login Screen and Console Messages

Ben Anello (
Tue, 17 Feb 1998 03:51:40 -0700

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?


From: "Kenn Owen" <>

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
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
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
on your console.
From: Arthur Darren Dunham <>

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 <>

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 <>

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:

xsetroot -default -display :0.1
xconsole -geometry 600x100-264-200 -daemon -notify -verbose -fn fixed
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} <>

Here is a snippet from the CDE FAQ (found at

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...


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: Albuquerque, NM 87185-0660
Version: 2.6