원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어

Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

본문 : http://www.ischo.net -- 조인상 //시스템 엔지니어

+++++++++++++++++++++++++++++++++++++++++++++++++++++++


Installing Xwindows from an ASCII Terminal
Follow these steps to install Xwindows on an ASCII terminal.

1.  Run the smitty install_all command, and then choose the following filesets to install:

      X11.apps.all
      X11.base.all
      X11.compat.all
      X11.fnt (selected filesets)
      X11.motif.all
      X11.Dt.all

Note:  Running the xinit command at this point would result in the following errors:

#  xinit
Could not load /usr/lpp/gai/
1356-800 xinit: Unable to start the X server
1356-805 xinit: giving up.
1356-811 xinit: unable to connect to X server
1356-803 xinit: Server error.
1356-804 xinit: Client error.

2.  To run CDE on an ASCII terminal, do the following:

    a.  Copy the /usr/dt/config/Xservers file into the /etc/dt/config directory:

          #  cp  /usr/dt/config/Xservers  /etc/dt/config

    b.  Edit the /etc/dt/config/Xservers file to comment out the last line as follows:

          #:0 Local  local@lft0  /usr/lpp/X11/defaults/xserverrc -T -force :0

These actions allow CDE to run on the system, but will not attempt to start it on the local console.

3.  Run the following commands to verify that the dtlogin process is running:

      #  /etc/rc.dt; exit
      #  ps-ef  | grep  dt 

=============================================================================================
Problem
Installation and Initial Configuration of the Common Desktop Environment (CDE) 
 
Solution
Simple installation instructions
Initial CDE configuration
Additional configuration information
--------------------------------------------------------------------------------

Simple installation instructions
On the Base Install Media for AIX the required filesets are found on Volume 1.

To install any or all of the preceding filesets, enter the following SMIT fastpath:

    smit install_all
Select the following:

Specify your CD-ROM device (for example, /dev/cd0).
Highlight SOFTWARE to install and press F4.
Select the filesets to install by highlighting the fileset and pressing F7.
Press Enter to initiate the install process.
Press Enter again to confirm the install.
Here are the minimum filesets needed to run CDE:
(To check for the minimum filesets needed on your system, enter lslpp -l X11.Dt*)

    X11.Dt.ToolTalk --  AIX CDE ToolTalk Support
    (This fileset contains the executables and libraries required to provide
ToolTalk services for AIX CDE.)
    X11.Dt.bitmaps  --  AIX CDE Bitmaps
    (This fileset contains the icons, backdrop, and palettes for the AIX  CDE.)
    X11.Dt.compat  --  AIX CDE Compatibility
    (This fileset contains icons, action definitions, and executables that are
being removed from the
    AIX CDE.  This fileset should only be applied as needed since the
information and commands it contains
    may not be available in future releases of AIX. This fileset is provided
for migration assistance from
    AIX 4.1.1 and AIX 4.1.2 to later 4.1 modification levels.)
    X11.Dt.helpinfo --  AIX CDE Help Files and Volumes
    (This fileset contains the complete set of help files and volumes for the
AIX CDE help system.
    These helps files are used for the default (C) locale.)
    X11.Dt.helpmin  --  AIX CDE Minimum Help Files
    (This fileset contains the minimum set of help files and volumes for the
AIX CDE  help system.
    These helps files are used for the default (C) locale.)
    X11.Dt.helprun  --  AIX CDE Runtime Help
    (This fileset contains executable, configuration, and resource files for
the Desktop help system.)
    X11.Dt.lib      --  AIX CDE Runtime Libraries
    (This fileset contains the run-time libraries that support Desktop
applications. Included are libraries for
    Desktop Services, Desktop Widgets, and Desktop Help.)
    X11.Dt.rte      --  AIX Common Desktop Environment
    (This fileset contains the executable, configuration, and resource files
required to run and customize the Desktop.)

--------------------------------------------------------------------------------

Initial CDE configuration
First, consider the type of console the system is using.

Graphics Console -- If the system has a graphics adapter and the support graphic monitor, then CDE can run on the console and no further configuration is needed.

ASCII Console -- If the system has an ASCCII console, then CDE cannot be run on this console. Follow the procedure below to keep CDE from coming up on the console. Enter:
    cp /usr/dt/config/Xservers /etc/dt/config/Xservers
    vi (or use preferred editor) /etc/dt/config/Xservers
    comment out the line which starts the Xserver Example:
# :0 Local local@console /usr/lpp/X11/defaults/xserverrc -T -force :0

Configure CDE to start at system boot and then start CDE.

From the command line, as root, execute:
    /usr/dt/bin/dtconfig -e
Start CDE.
If you are on the Graphics console, log out and telnet in from another machine.
If you are on an ASCII console, you do not need to log out. The CDE will not come up on the monitor. Execute the following command as root:
    /etc/rc.dt;exit
Confirm that CDE is running.
On the Graphics console, you should see the CDE login screen.
On an ASCII terminal execute:
    ps -ef |grep dtlogin

--------------------------------------------------------------------------------

Additional configuration information
Make CDE read your .profile.

Uncomment DTSOURCEPROFILE = TRUE in .dtprofile, or /usr/dt/config/sys.dtprofile for global.
Ensure that all dtterm/aixterms source the .profile. Using your preferred editor, open /etc/dt/config/$LANG/sys.resources and add the following line:
    *loginShell:  true
Log out.
Log in.
Invoke dtterm from front panel.
To have your kshrc sourced, insert the following line in .profile.
    export ENV=$HOME/.kshrc
Additional information:
Important files:
/var/dt/Xerrors
$HOME/.dt/errorlog
$HOME/.dt/startlog
/usr/dt/bin/dtlogin --  The login server and display manager
/usr/dt/bin/dtgreet --  Displays a login screen for a display
/usr/dt/bin/dtchooser --  Displays a chooser screen for a display
/usr/dt/bin/Xsession --  Starts a desktop session
/usr/dt/config/Xfailsafe -- Starts a failsafe session
/usr/dt/config/Xconfig --  Login server configuration file
/usr/dt/config/Xservers --  Login server display description file
/usr/dt/config/Xaccess --  Login server access description file
/usr/dt/config/language/Xresources -- Display layout resources
/usr/dt/config/Xsetup --  Display setup file
/usr/dt/config/Xstartup --  Pre-session startup file
/usr/dt/config/Xreset --  Post-session reset file
/var/dt/Xpid--  Process ID of the login server
/var/dt/Xerrors --  Error log file of the login server
Important permissions:
Permissions on /dev/null (666)
Permissions on /dev/lft0 (666)
Permissions on /dev/tty (666)
Permissions on /dev/console (622)
Permissions of /usr/dt/bin files
Permissions on /var/tmp (666)
Permissions on /var/dt/tmp (666)
Permissions on /etc/hosts (664)
Permissions on /home/$USER must be rwx for the USER
번호 제목 글쓴이 날짜 조회 수
공지 [공지] 게시자료 열람자유. 불펌금지입니다. 조인상 2010.12.07 108803
131 Full System Partition <-> LPAR 방법 조인상 2010.05.11 21679
130 LPAR란?? 조인상 2010.05.11 22415
129 IBM p시리즈에 ess800 볼륨 멀티패스로 붙이기 file 조인상 2010.05.11 14891
128 AIX 시스템 퍼포먼스를 그래프로 확인 nmon + nmon analyser file 조인상 2010.05.11 33974
127 HMC 관련 교육자료 [4] file 조인상 2010.05.11 31026
126 p570 관련자료 file 조인상 2010.05.11 25347
125 mksysb 백업중 부팅불가할지도모른다는 메시지 나올경우. 조인상 2010.05.11 20505
124 AIX5.3 TL04 이상 설치시 workload manager 제거 조인상 2010.05.11 17378
123 errpt 백업받기 및 지우기 조인상 2010.05.11 27023
122 AIX에서 하드웨어구성상태 확인방법 조인상 2010.05.11 81499
121 AIX에서_JDK(JAVA)_다운로드_및_설치방법 [1] file 조인상 2010.05.11 19783
120 Display System Environmental Sensors 조인상 2010.05.11 18673
119 topas 에 대하여 조인상 2010.05.11 22897
118 CDE 설치 및 초기구성 [1] file 조인상 2010.05.11 20422
117 AIX 유니코드 한글 표시 조인상 2010.05.11 33047
116 number of process 개수 조정법 조인상 2010.05.11 20616
115 os runlevel 관련 명령어 조인상 2010.05.11 18115
114 Atape 드라이버 설치 file 조인상 2010.05.11 26086
113 IBM Total Storage DS4000 시리즈 매뉴얼 file 조인상 2010.05.11 14791
112 IBM pSeries, Storage 전원스펙 file 조인상 2010.05.11 15200
서버에 요청 중입니다. 잠시만 기다려 주십시오...