4.806 bytes

Service Hints & Tips

Document ID: ROSN-42ZP4E

This document is provided to IBM and our Business Partners to help sell and/or service IBM products. It is not to be distributed beyond that audience or used for any other purpose.

Network Station - Disabling the Network Station screen saver

Applicable to: World-Wide

In Network Station Manager, there is an option to set the screen saver timeout to 0. This is supposed to disable the screen saver, however, there are some issues. This document explains how to disable the screen saver for all users or for specific users by making changes to specific configuration files.

When the screen saver time is specified 0 in NSM ( Hardware -> Monitor Settings), it makes an entry in defaults.nsm that is set pref-screensaver-enable = false. The problem with this is that, if there are any other statements in the configuration files about the screen saver this statement is ignored and the screen saver remains enabled. By default, the following lines are in control.nsm regarding the screen saver

set pref-screensaver-bitmap-file = "/NStation/ProdData/SysDef/ibmwall.xbm"
set pref-screensaver-enable = true
set pref-screensaver-style = bitmap
set pref-screensaver-time = 600


Because these lines are read, the statement that Network Station Manger places in defaults.nsm does nothing, and the screen saver is not disabled.

Options for Disabling the Screen Saver

To disable the screen saver for all users booting from this server you can place comment signs ( # s) in front of all of the screen saver statements in control.nsm. Then, go into NSM and set the timeout to 0 so that the statement disabling the screen saver that NSM adds is the only one regarding the screen saver and actually works. You would have the following:

Control.nsm
#set pref-screensaver-bitmap-file = "/NStation/ProdData/SysDef/ibmwall.xbm"
#set pref-screensaver-enable = true
#set pref-screensaver-style = bitmap
#set pref-screensaver-time = 600

Defaults.nsm
set pref-screensaver-enable = false

The problem with this approach is that all users on this server no longer have a screen saver. However, NSM is still in control of the screen saver timeout value.

Adding a Line to Defaults.dft

An easier and cleaner method is add a single statement to defaults.dft that sets the time out value equal to 0. Using this method takes NSM out of the picture and disables the screen saver for all users. Add the following line to defaults.dft:
set pref-screensaver-time = 0.

Disabling the Screen Saver for an Individual User

To disable the screen saver for only one user, run NSM -> Hardware and specify that user. It is not necessary to actually change any of the settings. Click on Finish. This creates two files in the x:\nstation\userdata\USERNAME directory, where USERNAME is the name of the user you specified. The two files that get created are USERNAME.usr and USERNAME.nsu. USERNAME.nsu will look like the following:

read /nstation/UserData/USERNAME/USERNAME.usr

Leave USERNAME.nsu alone. We will be editing USERNAME.usr. It is currently empty (unless you have previously added some things to it). Add the following line to USERNAME.usr:

set pref-screensaver-time = 0

Search Keywords

Network Station

Hint Category

General Information, Network Station Manager

Date Created

10-12-98

Last Updated

22-03-99

Revision Date

20-09-99

Brand

IBM Network Station

Product Family

NT Server - Network Station

Machine Type

Various

Model

TypeModel

Retain Tip (if applicable)

Reverse Doclinks
and Admin Purposes