Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sxdm(1) — NEWS-os 4.1C

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dmset(1)

sxsession(1)

X(1)

xdm(1)

SXDM(1)  —  NEWS-OS Programmer’s Manual

NAME

sxdm − X Window System display manager for NEWS Desk

SYNOPSIS

sxdm [−config configuration_file] [−daemon] [−debug debug_level] [−error error_log_file] [−nodaemon] [−resources resource_file] [−server server_entry] [−session session_program] [−xrm resource_specification]

DESCRIPTION

sxdm displays a login panel on a local or a remote display, verifies the login name and password entered by the user and opens a session for valid users. 
The message output to /dev/console on the login panel display appears in a separate window (the console window). 
When sxdm is used to log in, the file .sxsession in the home directory is executed as a B-sh script, in accordance with the contents of /etc/sxdm/Xsession.  The user can specify in this file what commands he wants to have executed each time he logs in.  If there is no .sxsession file, mwm(1) and sxsession(1) are executed as the defaults. 
If the user has a file named .nosxsession in his home directory, the system will attempt to execute .xsession in place of .sxsession.  If .xsession cannot be found, twm and xterm are executed instead.  This method can be employed in order to use the same initial file (.xsession) through xdm(1) and sxdm(1). 
Sample versions of .sxsession, .xsession (and .xinitrc) are to be found in /usr/lib/X11/sx/skel. 
To log in, type in the name of your account at the Login prompt. Correct any typing mistakes using the backspace key and the right and left arrow keys. If no password is required, you can begin the session immediately by pressing either the return or the <F1> key after entering the account number. If the <F1> key is used, xterm (only) is loaded with no conditions. If there is a password, it must be entered in the Password column. The password you input does not appear on the screen for security reasons, but, if you accidentally enter it incorrectly, you can reenter it by pressing the up or down arrow key.
If the account number or password entered is incorrect, the login panel moves up and down and prompts the user to reenter the incorrect item. If the login is successful, the login panel appears to fly off the screen. Both successful and unsuccessful logins are accompanied by sound effects from the audio interface (if you set up).
Whether or not to use sxdm can be specified using the command dmset(1). 

RESOURCES

Resources can be specified using a file specified with DisplayManager∗resources in /etc/sxdm/sxdm-config (the default is /etc/sxdm/Xresources) or using /usr/lib/X11/app-defaults/SXdm. 

consoleOutput (class ConsoleOutput)
Whether or not output to /dev/console is to be displayed in the console window can be specified using the application resource “consoleOutput.”

xlogin∗consoleOutput:
 no_concern
sxdm has no concern about console output.
Any console output which occurs will scramble
the screen.
crash_in_hands
Gotten rid up internally by sxdm.
This means that although the screen does
not get messed up, if there is any output
there will be no indication of
it on the sxdm screen.
show_you
The output is displayed.

If show_you is specified for consoleOutput, the console window display function is used. 
If this function is enabled, an indicator on the screen shows whether or not console output has occurred. A bell sounds when the output occurs and the indicator changes to selected status.
You can then click on the indicator whenever you wish. The console window will then be displayed and the selected status is canceled. The console window can be closed by clicking on the “OK” button inside it.
sxdm can only grab console output directed to the locally connected dislay. 

consolePopup (class ConsolePopup)
Is is also possible to have the console window displayed without having to click on the indicator. This is accomplished using the “consolePopup” application resource.

xlogin∗consolePopup:
 manually
The console window is displayed only
when the user clicks on the console
indicator which appears on the screen.
This is the default.
at_the_beginning
The console window is displayed automatically
when sxdm is initially started up.
Naturally it can be closed at any time thereafter.
triggered_by_input
The console window is displayed and a bell sounds
when console output occurs.

From the point at which sxdm is started up to when monitoring of console output begins, or after logging in via sxdm, any console output which occurs will scramble the screen. 

failSound (class FailSound)
Specifies the sound file which will be played through the audio interface when a login failure occurs.

successSound (class SuccessSound)
Specifies the sound file which will be played through the audio interface when a successful login occurs.

successSubSound (class SuccessSubSound)
Specifies the sound file which will be played through the audio interface when a user logs in using “shutdown” and then presses the power OFF button.

soundLevel (class SoundLevel)
Specifies the volume of sounds played through the audio interface. The valid range of values is 0 − -32 (unit in dB).

shutdownPopup (class ShutdownPopup)
 
If a user uses “shutdown” to log in, a special shutdown window is displayed internally until the point at which /etc/shutdown is executed.
The shutdown window contains the /usr/ucb/w output plus “Power Off” and “Cancel” buttons.
Whether or not to use this function can be specified using the “shutdownPopup” application resource.

xlogin∗shutdownPopup:
 on
The function is used.
off
The function is not used.
xterm is started up as in the past.

panelFile1 (class PanelFile1)
panelFile4 (class PanelFile4)
panelFile8 (class PanelFile8)

Specifies the image file to be displayed as the background for the login panel.  The file must be in XWD format.  If the number of display planes is 8 or greater, an attempt is made to read the file specified by panelFile8 first, and if it is unsuccessful the program tries to read the file specified by panelFile4.  If neither of the above two files are found, the program then tries to read the file specified by panelFile1.  If the number of display planes is 4 or greater, the program tries to read the file specified by panelFile4, followed by the file specified by panelFile1.  In all other cases, the program attempts to read in the file specified by panelFile1 first. 

greetX (class GreetX) greetY (class GreetY)

sxdm displays the OS position and host name on the login panel.  These resources are used to specify the coordinates of the positions where this information is to appear. 

loginX (class LoginX) loginY (class LoginY)

Specifies the position coordinates for the login prompt display. 

loginFX (class LoginFX) loginFY (class LoginFY)

Specifies the position coordinates for the login name input field. 

passwdX (class PasswdX) passwdY (class PasswdY)

Specifies the position coordinates for the password prompt. 

passwdFX (class PasswdFX) passwdFY (class PasswdFY)

Specifies the position coordinates for the password input field. 

FILES

/etc/sxdm
/usr/lib/X11/sx/sxdm
/usr/lib/X11/app-defaults/SXdm
/tmp/sxdm-errors
/tmp/sxdm-pid
/usr/lib/X11/sx/skel/.sxsession
/usr/lib/X11/sx/skel/.xsession
/usr/lib/X11/sx/skel/.xinitrc

SEE ALSO

dmset(1), sxsession(1), X(1), xdm(1), XDMCP
NEWS Desk User’s Guide Vol. 1

BUGS

If /usr of a machine running NEWS-OS Release 4.1 is mounted from a machine running NEWS-OS Release 4.0 and sxdm (NEWS-OS Release 4.1) is used, the contents of /etc/sxdm/Xresource will be altered.  It is therefore necessary to either copy over the files in /etc/sxdm/Xresources on the machine running NEWS-OS Release 4.1 or to use DisplayManager∗resources in /etc/sxdm/sxdm-config to specify the NEWS-OS Release 4.1 resource files. 

COPYRIGHT

Copyright (c) 1990, 1991 Sony Corporation

NEWS-OSRelease 4.1C

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026