Solaris 5.6 dual head monitor config
1) Login as root on default console.
# cp /usr/dt/config/Xservers /etc/dt/config/Xservers
# cp /usr/dt/config/Xconfig /etc/dt/config/Xconfig
Check first that the files are not already present and been customised.
2) We need to modify /etc/dt/config/Xservers file.
Append "-dev /dev/fb0 -dev /dev/fb1" at the end of this line
":0 Local local@console /usr/openwin/bin/Xsun :0".
The appended line should look like:
":0 Local local@console /usr/openwin/bin/Xsun :0 -dev /dev/fb0 -dev /dev/fb1"
3) Modify /etc/dt/config/Xconfig file by changing:
Dtlogin.servers: /usr/dt/config/Xservers to
Dtlogin.servers: /etc/dt/config/Xservers
Please note file Xconfig under /etc/dt/config will have to be created.
4) Put following two lines in .Xdefaults:
dtsession*wmStartupCommand: /usr/dt/bin/dtwm
-multiscreen
Dtwm*multiScreen: True
5) Reboot the system at this stage.
The above steps allow you to have one dtwm (window manager) to
control your two-head system.
If you want to configure it to use olwm and dtwm then follow
step 6 & 7.
6) Add/Replace the following line to the $HOME/.Xdefaults or
Dtwm*multiScreen: False
7) Add the following line to the $HOME/.dt/sessions/sessionetc file:
/usr/openwin/bin/olwm -single -display :0.1 &
where :0.1 is the number of the screen the user wants Openwindows to appear.
This will make CDE run on screen 0, and olwm on screen 1.
Please note we have to create "sessionetc" file. We have to set
rwxr-xr-x permissions for the file.
[[[[[[[[[[[[[[ my env ]]]]]]]]]]]]]]]]]]]]
Disable dtlogin
# mv /etc/rc2.d/s99dtlogin /etc/rc2.d/s99dtlogin
# getent passwd root
root:x:0:1:Super-User:/:/sbin/sh
# cat .profile
PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/local/bin:/opt/SUNWspro/bin
LD_LIBRARY_PATH=$LD_LITRARY_PATH:/opt/ldapsdk/lib:/opt/hpnpl/lib:/opt/SUNWspro/lib
LM_LICENSE_FILE=/etc/opt/licenses/licenses_combined
TERM=vt100
EDITOR=vi
export PATH TERM LD_LIBRARY_PATH EDITOR LM_LICENSE_FILE
MANPATH=$MANPATH:/usr/local/man:/opt/hpnpl/man:/usr/share/man:/opt/SUNWspro/man:/opt/SUNWste/license_tools/man
export MANPATH
[ `tty` = "/dev/console" ] && /usr/openwin/bin/openwin -dev /dev/fbs/m640 -dev /dev/fbs/m642 right && exit
ctdev% getent passwd sybase
sybase:x:1003:10::/opt/sybase/dba:/bin/csh
ctdev% cat .login
# @(#)local.login 1.3 93/09/15 SMI
stty -istrip
# setenv TERM `tset -Q -`
#
# if possible, start the windows system. Give user a chance to bail out
#
if ( `tty` == "/dev/console" ) then
if ( $TERM == "sun" || $TERM == "AT386" ) then
if ( ${?OPENWINHOME} == 0 ) then
setenv OPENWINHOME /usr/openwin
endif
echo ""
echo -n "Starting OpenWindows in 5 seconds (type Control-C to interrupt)"
sleep 5
echo ""
/usr/openwin/bin/openwin -dev /dev/fb0 -dev /dev/fb1 right
clear # get rid of annoying cursor rectangle
logout # logout after leaving windows system
endif
endif
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7970627/viewspace-687682/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL 5.6 遭遇 OS bug INNODB MONITOR OUTPUT 事件MySql事件
- ELK之elasticsearch5.6的安裝和head外掛的安裝ElasticsearchH5
- 【DUAL】資料庫nomount狀態下DUAL的內容資料庫
- 探索oracle dual表Oracle
- oracle的dual表Oracle
- Oracle dual表 詳解Oracle
- ORACLE DUAL表詳解Oracle
- Head
- Table Monitor
- FAST DUAL執行計劃?AST
- Git HEADGit
- include "head_file" 和 include <head_file>
- [Original] What's HEAD, FETCH_HEAD and ORIG_HEAD in GitGit
- [Shell] monitor filesystem
- 2788647047_monitor
- 5.6
- cmd_sqlplus:set head off and set head onSQL
- [Bash] Head and TailAI
- Postman的Monitor功能Postman
- 【SQL】Oracle SQL monitorSQLOracle
- Health Monitor簡介
- Monitor ASM DG IOASM
- aix_system_monitorAI
- Perceptron, Support Vector Machine and Dual Optimization Problem (2)Mac
- Perceptron, Support Vector Machine and Dual Optimization Problem (3)Mac
- Perceptron, Support Vector Machine and Dual Optimization Problem (1)Mac
- Oracle中dual表的用途介紹Oracle
- 10G FAST DUAL 的優化AST優化
- Head 外掛使用
- Linux head命令Linux
- HTML <head>標籤HTML
- detached HEAD詳解
- Git HEAD詳解Git
- detached HEAD 詳解
- git reset --hard HEAD^Git
- PLSQL Developer_v7_sqlplus:set head off and set head onSQLDeveloper
- 前端外掛之Bootstrap Dual Listbox使用前端boot
- Ice中Monitor的使用