원문 : 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 108720
131 일명 '돼지코' 전원탭과 탭코드를 연결하는 법 조인상 2010.05.11 20824
130 number of process 개수 조정법 조인상 2010.05.11 20616
129 P5 전면 Display 패널에 관하여 [1] file 조인상 2010.05.11 20597
» Installation and Initial Configuration of the CDE 조인상 2010.05.11 20580
127 Power7, HACMP, Oracle RAC, WAS, PowerVM, VIO [9] 조인상 2010.11.17 20545
126 mksysb 백업중 부팅불가할지도모른다는 메시지 나올경우. 조인상 2010.05.11 20504
125 java heap memory 관련에러 조인상 2010.05.11 20503
124 GPFS ver.3 Manual [1] 조인상 2011.12.01 20498
123 [AIX] NFS service 조인상 2010.05.11 20457
122 케이블 라벨링 탭 file 조인상 2010.05.11 20438
121 CDE 설치 및 초기구성 [1] file 조인상 2010.05.11 20422
120 네트웍 관련 (IP 세팅, 라우팅 세팅, 속도 세팅) [1] 조인상 2010.05.11 20229
119 네트웍카드 NIC 에서 en ent et 의 차이점 file 조인상 2010.05.11 20137
118 IBM Integrated Virtualization Manager White Book (IVM 백서) file 조인상 2012.01.03 20121
117 telnet 관련사항.... 조인상 2010.05.11 19908
116 AIX에서_JDK(JAVA)_다운로드_및_설치방법 [1] file 조인상 2010.05.11 19783
115 32KB 이상 파일 복사시 out of memory 에러 발생에 대한 복구(indirect segment 문제) 조인상 2010.06.10 19508
114 메뉴얼 링크 [1] 조인상 2010.05.11 19427
113 AIX 에서 Hot-Plug 방식으로 카드 추가하기 file 조인상 2011.08.01 19420
112 p5 서버 System Attention Indicator LED 끄기 조인상 2010.05.11 19349
서버에 요청 중입니다. 잠시만 기다려 주십시오...