- 论坛徽章:
- 0
|
请问在非CDE界面下不Logout如何修改锁屏配置(Solaris2.6)?
在此查询得到的资料
http://docs.sun.com/db/doc/806-1 ... g+screen&a=view
Disabling the Screen Lock
After a Resume, the system's screen lock is invoked by default. To disable the screen lock before you use the power key to Suspend, use the following procedure.
--------------------------------------------------------------------------------
Note -
You cannot disable screen locking that is put into effect by AutoShutdown. This is a security feature. It ensures that only someone who knows your password can get access to your work session when the system resumes.
--------------------------------------------------------------------------------
To Disable the Screen Lock After Using the Power Key to Suspend
Modify the speckeysd.map file to add the -x flag to the sys-suspend entry.
For more information, see the man page for speckeysd.map(4).
--------------------------------------------------------------------------------
Caution -
Save your work if you have not already done so.
--------------------------------------------------------------------------------
Exit the current windowing session and restart.
In place of this step, you may also kill the speckeysd daemon and then restart the daemon.
但到底如何修改呢?附一Solaris 2.6的speckeysd.map文件内容:
#ident "@(#)speckeysd.map 1.1 95/03/13 SMI"
#
# This is the special keys service map file.
#
# This file will let speckeysd know what special keys (represented by X
# Windows Keysyms) to expect and what services to spawn off to handle the
# keys.
#
# Each line is an entry for a special key, with three columns separated by
# whitespace. The columns are (from left to right):
#
# Keysym for special key Repeatable Service
#
# Keysym: Which special key is this entry for? The special keys
# supported and their Keysyms are:
#
# Degauss key SunVideoDegauss
# Mute key SunAudioMute
# Lower Volume key SunAudioLowerVolume
# Lower Brightness key SunVideoLowerBrightness
# Raise Volume key SunAudioRaiseVolume
# Raise Brightness key SunVideoRaiseBrightness
# Power key SunPowerSwitch
# <Shift>;-Power key SunPowerSwitchShift
#
# NOTE: These keys are supported on Type 5 and Compact 1
# keyboards.
#
# Repeatable: Is the special key repeatable? The allowed values are:
#
# r it is repeatable
# - it is not repeatable
#
# Service: What service should handle this keystroke and what arguments
# does it need?
#
# Provide the whole path to the service and all the necessary
# arguments.
#
SunVideoRaiseBrightness r $OPENWINHOME/bin/contrast -k -u 1
SunVideoLowerBrightness r $OPENWINHOME/bin/contrast -k -d 1
SunPowerSwitch - $OPENWINHOME/bin/sys-suspend
SunPowerSwitchShift - $OPENWINHOME/bin/sys-suspend -n |
|