How to set the screensaver timeout on Red Hat?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to set the screensaver timeout on Red Hat?
# 1  
Old 06-18-2015
How to set the screensaver timeout on Red Hat?

How is it possible to set the screensaver timeout on red hat.

For solaris I understand it is :

Code:
for file in /usr/dt/config/*/sys.resources; do
dir=`dirname $file | sed s/usr/etc/`
mkdir -p $dir
echo 'dtsession*saverTimeout: 10' >>$dir/sys.resources
echo 'dtsession*lockTimeout: 10' >>$dir/sys.resources
chown root:sys $dir/sys.resources
chmod 444 $dir/sys.resources
done

Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

2. Shell Programming and Scripting

set Net:SSH:Expect timeout and set it again.

SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies

3. UNIX for Dummies Questions & Answers

Is it possible to set a timeout for rpcinfo?

I've created a script that checks the health of a piece of equipment out in the field by first establishing that it is pingable, and then parsing log files to gather information. Today I realized that there are times where the equipment may be pingable, and will not show any immediate issues in... (1 Reply)
Discussion started by: DeCoTwc
1 Replies

4. Shell Programming and Scripting

how to set timeout?

When I run a script where the 1st parameter is ip address ftp -n -i -v $1 I hang here if the ip is wrong how to set a timeout something like if (20s not complete "ftp -n -i -v $1") then echo "error" fi Thanks a lot. (14 Replies)
Discussion started by: uativan
14 Replies

5. Shell Programming and Scripting

set timeout for ssh prompt

Hi all, I want to set a timeout say 10 sec to shh prompt i.e. if no password is enetered for 10 sec prompt should again come to shell. How can this be achieved ?? I am using Linux RHEL 5 and Solaris 10. Pls help. Thanks in adv. VIKAS (3 Replies)
Discussion started by: vikas027
3 Replies

6. Programming

How to set the timeout for the client

The scenerio is: 1. A server listens on a port number 2. If the server is down and the Client tries to connect 3. How to set the timeout for the client Detailed explaination: In a client server architecture over a TCP/IP, normally the server is started first which waits and listens for the... (1 Reply)
Discussion started by: shilpi_gup
1 Replies

7. UNIX for Dummies Questions & Answers

Red Hat 9 help

please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
Discussion started by: shobhit143
0 Replies

8. Linux

Red Hat?

I have a Red Hat upgrade disk. I installed it and it corrupted my entire hard drive! I had gotten the disks out of a Dummy's book at my local library. Trying to install 'Red Hat', has cost me $100.00 in damages. (The cool part is my friend gave me that $100.00 part) Ah...A 120gig Hard Drive. Just... (3 Replies)
Discussion started by: hdk_mkr
3 Replies

9. UNIX for Dummies Questions & Answers

how to set timeout for aix?

if a user login and never shutdown or exit...how do you set an automatic shutdown or timeout if the user leave the session on for 20 minutes? thanks (3 Replies)
Discussion started by: ichiro
3 Replies
Login or Register to Ask a Question
RHNPLUGIN.CONF(8)						   Red Hat, Inc.						 RHNPLUGIN.CONF(8)

NAME
rhnplugin.conf - Configuration file for the rhnplugin(8) yum(8) plugin. DESCRIPTION
rhnplugin.conf contains configuration options which are specific to rhnplugin(8). The configuration file is located at /etc/yum/plugin- conf.d/rhnplugin.conf. OPTIONS
enabled Either `0' or `1'. Determines whether the plugin will be used by yum or not. Default value is `1'. gpgcheck Either `0' or `1'. Determines whether gpg signature checking will be performed on packages coming from Spacewalk/Red Hat Satellite. Default value is `1'. If this option is not set, the value from yum.conf(5) will be used. timeout The amount of time (in seconds) that you want to wait for a response before timing out. If this option is not set, the value from yum.conf(5) will be used. FILES
/etc/yum/pluginconf.d/rhnplugin.conf The location of this configuration file. SEE ALSO
rhnplugin(8), yum(8), up2date(5), yum.conf(5). AUTHORS
James Bowes <jbowes@redhat.com> and Peter Vetere <pvetere@redhat.com>. BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 2006 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Linux 2006 November 13 RHNPLUGIN.CONF(8)