There may be times when you do not want your Sun Ray Client in power saving mode, during which the screen goes blank after a specific period of nonuse.
Power management is a feature of the Sun Ray Software and it is enabled by default. There are a couple of ways to disable power saving mode.
To Disable Power Saving Mode... | Then... |
---|---|
At the desktop environment level, | Refer to your desktop documentation about how to disable the power management feature or the screensaver feature. Here are some examples:
|
From the Sun Ray Client level, |
Set the
|
The following procedure describes how to disable screen blanking for all Sun Ray sessions.
This configuration works for all kiosk sessions, but it does not work for sessions using the Gnome Display Manager through a regular session mode.
Become superuser on the Sun Ray server.
Change directory to the session initialization directory.
Oracle Solaris:
# cd /usr/dt/config/Xsession.d
Oracle Linux:
# cd /etc/X11/xinit/xinitrc.d
Create the following customized script (the script is called 0050.utblank.sh
in this procedure).
#!/bin/sh # This script disables the X Server from blanking # For both Oracle Solaris and Oracle Linux # Check for OS and add the path to xset for Oracle Solaris TheOS=`uname` if [ "$TheOS" = "SunOS" ];then PATH=$PATH:/usr/openwin/bin;export PATH fi # Disable the Xserver from screen blanking xset s noblank;xset s 0 0;xset s off
The script name should have the 0050.
prefix to make sure it is run at the
appropriate time.
For Oracle Linux, the script name must have the .sh
extension, otherwise the script will not get sourced.
Save the script and make the script executable for everyone.
# chmod 775 0050.utblank.sh
Start a new session, so the script gets sourced.