Sponsored Content
Full Discussion: locking problem
Top Forums UNIX for Dummies Questions & Answers locking problem Post 302153410 by prowla on Monday 24th of December 2007 02:10:48 PM
Old 12-24-2007
Do the shells have a timeout (ie. they are logging out automatically, and you only notice it when you've been away from your desk for a while and come back and unlock your PC screen)?
 

10 More Discussions You Might Find Interesting

1. SCO

System Locking Up

I have a server that is locking up pretty frequently for serveral months. I have about 4 dumb terminals running off this server and it appears that when the system is about to lock up it starts to run really slow on one of the terminals and then the rest follow suit until it just craps out. We... (1 Reply)
Discussion started by: mcrawfo4
1 Replies

2. UNIX for Advanced & Expert Users

File Locking

Hi, Does anyone know what happens when two processes are simultaneously trying to write to a single file in UNIX (AIX)? Cheers (1 Reply)
Discussion started by: penfold
1 Replies

3. Linux

Locking around kmem_cache_destroy

Hi There, I want to make sure that kmem_cache_alloc is not called concurrently with kmem_cache_destroy on module exit and I want be able to use GFP_KERNEL for the kmem_cache_alloc calls. Would a read/write lock be good fro this purpose or is there another method I should be using? Regards,... (0 Replies)
Discussion started by: Brendan Kennedy
0 Replies

4. UNIX for Dummies Questions & Answers

Keyboard keeps locking up

First off, let me start by saying that I am a total rookie when it comes to Unix so I will do my best to explain the situation. BACKGROUND:We are running AIX and using a third party Inventory Management software called Acclaim. My main interface terminal is just a "dummy" terminal hooked up to... (1 Reply)
Discussion started by: sstaszak11
1 Replies

5. UNIX for Dummies Questions & Answers

file locking

how do i implement file locking in unix? example if i want to update a file, i would like to use file locking. how do i implement it? i am using shell script thanks (3 Replies)
Discussion started by: yang
3 Replies

6. UNIX for Dummies Questions & Answers

how to do file locking?

how to ensure all files are being locked while updateing some files? example when i want to update the password and shadow file in unix. how do i implement file locking?? please advice thanks (2 Replies)
Discussion started by: yang
2 Replies

7. Shell Programming and Scripting

locking mechanism

I have a shell script. How can use some kind of locking mechanism to ensure that the script is not being executed by two people at the same time? (3 Replies)
Discussion started by: tjay83
3 Replies

8. UNIX for Advanced & Expert Users

File locking

i am working on a device runnin on linux....i have configured the samba server in the device such that my windows PC can access a shared folder in the device. Also in the device i am runnin some programs which access the files in this shared folder. What i want to know is whether there is any way i... (1 Reply)
Discussion started by: abhinx
1 Replies

9. Red Hat

Locking Down SFTP

Hi List, I'm sure this has been done before and there must be several ways to skin the cat on this topic. What I am trying to achieve is set up user accounts for use with SFTP based on the standard OpenSSH protocol. And I want to be able to lock them down so that they cannot browse outside of... (2 Replies)
Discussion started by: landossa
2 Replies

10. UNIX for Advanced & Expert Users

Insert Command Creating Table Locking Problem

Hi, i have a java based tool which does insert operation in a TABLE, and in parallel the same table is used by my C++ code which does select Query. the Table will be always busy, but sometimes the table is getting locked when i try to make an insert, am bit confused whether the lock is... (9 Replies)
Discussion started by: senkerth
9 Replies
XSetScreenSaver(3X11)						     MIT X11R4						     XSetScreenSaver(3X11)

Name
       XSetScreenSaver, XForceScreenSaver, XActivateScreenSaver, XResetScreenSaver, XGetScreenSaver - manipulate the screen saver

Syntax
       XSetScreenSaver(display, timeout, interval, prefer_blanking, allow_exposures)
	  Display *display;
	  int timeout, interval;
	  int prefer_blanking;
	  int allow_exposures;

       XForceScreenSaver(display, mode)
	  Display *display;
	  int mode;

       XActivateScreenSaver(display)
	  Display *display;

       XResetScreenSaver(display)
	  Display *display;

       XGetScreenSaver(display, timeout_return, interval_return, prefer_blanking_return, allow_exposures_return)
	  Display *display;
	  int *timeout_return, *interval_return;
	  int *prefer_blanking_return;
	  int *allow_exposures_return;

Arguments
       allow_exposures
		 Specifies the screen save control values.  You can pass or

       allow_exposures_return
		 Returns the current screen save control value or

       display	 Specifies the connection to the X server.

       interval  Specifies the interval, in seconds, between screen saver alterations.

       interval_return
		 Returns the interval between screen saver invocations.

       mode	 Specifies the mode that is to be applied.  You can pass or

       prefer_blanking
		 Specifies how to enable screen blanking.  You can pass or

       prefer_blanking_return
		 Returns the current screen blanking preference or

       timeout	 Specifies the timeout, in seconds, until the screen saver turns on.

       timeout_return
		 Returns the timeout, in seconds, until the screen saver turns on.

Description
       Timeout and interval are specified in seconds.  A timeout of 0 disables the screen saver (but an activated screen saver is not deacti-
       vated), and a timeout of -1 restores the default.  Other negative values generate a error.  If the timeout value is nonzero, enables the
       screen saver.  An interval of 0 disables the random-pattern motion.  If no input from devices (keyboard, mouse, and so on) is generated for
       the specified number of timeout seconds once the screen saver is enabled, the screen saver is activated.

       For each screen, if blanking is preferred and the hardware supports video blanking, the screen simply goes blank.  Otherwise, if either
       exposures are allowed or the screen can be regenerated without sending events to clients, the screen is tiled with the root window back-
       ground tile randomly re-origined each interval minutes.	Otherwise, the screens' state do not change, and the screen saver is not acti-
       vated.  The screen saver is deactivated, and all screen states are restored at the next keyboard or pointer input or at the next call to
       with mode

       If the server-dependent screen saver method supports periodic change, the interval argument serves as a hint about how long the change
       period should be, and zero hints that no periodic change should be made.  Examples of ways to change the screen include scrambling the col-
       ormap periodically, moving an icon image around the screen periodically, or tiling the screen with the root window background tile, ran-
       domly re-origined periodically.

       can generate a error.

       If the specified mode is and the screen saver currently is deactivated, activates the screen saver even if the screen saver had been dis-
       abled with a timeout of zero.  If the specified mode is and the screen saver currently is enabled, deactivates the screen saver if it was
       activated, and the activation timer is reset to its initial state (as if device input had been received).

       can generate a error.

       The function activates the screen saver.

       The function resets the screen saver.

       The function gets the current screen saver values.

Diagnostics
       Some numeric value falls outside the range of values accepted by the request.
		 Unless a specific range is specified for an argument, the full range defined by the argument's type is accepted. Any argument
		 defined as a set of alternatives can generate this error.

See Also
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XSetScreenSaver(3X11)
All times are GMT -4. The time now is 10:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy