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事件
- [Original] What's HEAD, FETCH_HEAD and ORIG_HEAD in GitGit
- Head
- 2788647047_monitor
- 5.6
- Git HEADGit
- Postman的Monitor功能Postman
- Verilog 監控 Monitor
- DualGNN: Dual Graph Neural Network for Multimedia RecommendationGNN
- include "head_file" 和 include <head_file>
- Solaris常用命令
- 系統管理指南:Oracle Solaris Containers-資源管理和 Oracle Solaris ZonesOracleAI
- 前端外掛之Bootstrap Dual Listbox使用前端boot
- Perceptron, Support Vector Machine and Dual Optimization Problem (3)Mac
- Perceptron, Support Vector Machine and Dual Optimization Problem (1)Mac
- Perceptron, Support Vector Machine and Dual Optimization Problem (2)Mac
- Linux head命令Linux
- [Bash] Head and TailAI
- Azure Monitor(二)Log Analytics
- solaris下清除crs的方法
- Solaris syntax error: unexpected end of fileError
- Solaris 11常用命令
- synchronized的monitor監視器synchronized
- detached HEAD詳解
- Git HEAD詳解Git
- detached HEAD 詳解
- HTML <head>標籤HTML
- Head First Python (一)Python
- git reset --hard HEAD^Git
- Head 外掛使用
- Solaris叢集節點重啟
- solaris中如何設定解析度?在solaris中設定解析度的方法教程
- env config
- git configGit
- Oracle 效能調優工具:SQL MonitorOracleSQL
- plsql developer工具生成sql monitor reportSQLDeveloper
- Solaris10怎麼更改子網掩碼?Solaris10更改子網掩碼的方法
- Head First HTML and CSS (八)HTMLCSS
- elasticsearch-head 筆記Elasticsearch筆記