[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

651.0. "Disable Screen Saver without session manager running" by HSOMAI::CHANG () Thu Apr 20 1989 20:12

Our application software run on the host machine send display 
images to the workstation no matter it has user login or not.

How can I disable the screen saver when no user login?  

I modify the sys$library:decw$sm_general.dat but nothing change.
The login window and remotely run images still disappear after 15 minutes.

Thanks in advance for your help.


Wayne Chang

T.RTitleUserPersonal
Name
DateLines
651.1A Partial SolutionSCOLOX::GLIDDENFri Apr 21 1989 16:489
    
    
    I don't know how to disable the screen saver, but at the
    very least you could customize the window [in the session
    manager] and increase the screen saver period from 15 minutes
    to 60 minutes.  
    
    Nancy

651.2HSOMAI::CHANGFri Apr 21 1989 17:3919
    Re:-1 Thanks for the reply.  That is what I thought at the first
    place so I changed the sm.screen_saver_enable to Disable then increased
    the sm.screen_saver_period to 99999 in DECW$SM_GENERAL.DAT at both my
    login directory AND sys$library.  

    I guess my question is "Will someone has a small utility program
    can do this function (could be a part of the session manager)" or
    "Is there an undocumented file can be hidden somewhere in the system
    (something like DECW$SERVER_ACCESS_ALLOWED) for the DECWindows server
    to use that data when the system boot" or "I just have to refresh
    the workstation screen from my remotely run program once every 10
    minutes"???

	
    	Wayne

	

651.3STAR::ORGOVANVince OrgovanFri Apr 21 1989 19:504
    Try the Xlib routine XSetScreenSaver. You can use it to adjust the
    screen saver timeout period. A timeout value of zero disables the
    screen saver.

651.4USHS08::CHANGMon Apr 24 1989 11:276
    Thanks, I'll implement this immediately.
                                    
    
    Wayne
    

651.5Still not right!!HSOMAI::CHANGMon Apr 24 1989 20:1718
	I tested XSetScreenSaver and for somehow it's not right.  The
    values were stored by XSetScreenSaver then can be retrieved back by
    XGetScreenSaver correctly.  However, the display still disappeared
    after 10 minutes.  The tests were done both with and without sessio
    manager running.  The upper limit for the Timeout value in seconds
    seems to be 32767(?)  I used a value 65540 which didn't change the
    previously specified at all.  What could possibly went wrong?  Do I
    have to have certain (sysprv?) priviledges to run my program?  I also
    tested to call XResetScreenSaver every 5 minutes and that didn't help
    either.


	Thanks for any input.



	Wayne