Subject : IBM ¶Ç´Â HP ±âÁ¾¿¡ Çö´ë X-Terminal ¼³Ä¡ Description : 1_1. X-Terminal Setup ¹æ¹ý ( HOST°¡ IBM or SUNÀÎ °æ¿ì ) ============================================================================= | Setup Page | Menu | ±¸¼º | Parameter | ============================================================================= | | Ethernet Port | | Thin, Thick, Twisted-pair | | |-----------------|-----------|-----------------------------| | | Boot From | | Network, ROM | | Configure |-----------------|-----------|-----------------------------| | Boot/Setup | Boot server | IP Address| | | | name/address | | | | |-----------------|-----------|-----------------------------| | | Boot file name | X Server | | | | | path | | | |-----------------|-----------|-----------------------------| | | Power-Up Mode | Session | Setup, Session, X server | |---------------------------------------------------------------------------| | Configure | Local Internet | IP Address| X-terminalÀÇ IP Address ÁÜ | | Internet | Address | | | |---------------------------------------------------------------------------| | | Default Font | | Host¿¡ Font°¡ À§Ä¡ÇÑ | | Configure X |Search path list | | Directory ¸í½Ã | | Server/Fonts |-----------------|-----------|-----------------------------| | | Font Server/ | IP Address| HostÀÇ IP Address ¶Ç´Â Name | | | Name Address | | À» ÁÜ | |---------------------------------------------------------------------------| | Configure | Host name or | IP Address| HostÀÇ IP Address ¶Ç´Â Name | | Sessions | Address | | À» ÁÜ | |---------------------------------------------------------------------------| | Save Setup | À§ÀÇ ±¸¼ºÀ» ¿Ï·áÇÑ ÈÄ ÀÌ Menu¸¦ µÎ¹ø ´·¯ ÁÜ. | |---------------------------------------------------------------------------| | Reset Terminal| ÀÌ Menu¸¦ µÎ¹ø ´·¯ÁÖ¸é X-TerminalÀÌ resetµÊ. | ============================================================================= 1_2. Host (Sun or IBM ÀÎ °æ¿ì) Setting a) TFTP Daemon ±¸µ¿ : X-Terminal¿¡¼ Server¹× Font Download½Ã ÇÊ¿ä. "/etc/inetd.conf" File ¼öÁ¤ : #tftp dgram udp wait root /usr/etc/in.tftpd in.tftp -s /tftpboot => tftp dgram udp wait root /usr/etc/in.tftpd in.tftp -s / ·Î ¼öÁ¤ b) "/etc/hosts"¿¡ X-Terminal¿ë IP Address ¹× nameµî·Ï c) $HOME/.login file¼öÁ¤ : DISPLAY ȯ°æº¯¼ö¸¦ Terminal¿¡ µû¶ó ÀÚµ¿ÀûÀ¸·Î º¯Çϵµ·Ï ÇÔ. .login file¿¡ ´ÙÀ½ÀÇ command Ãß°¡ setenv HOST `who am i|awk '(print $6)'|sed -e 's/(//' -e 's/)//'` if("$HOST"=="") then setenv DISPLAY ":0" else setenv DISPLAY "$HOST":0 endif 2_1. X-Terminal Setup ±¸¼º < HOST°¡ HPÀÎ °æ¿ì > ============================================================================= | Setup Page | Menu | ±¸¼º | Parameter | ============================================================================= | | Ethernet Port | | Thin, Thick, Twisted-pair | | |-----------------|-----------|-----------------------------| | | Boot From | | Network, ROM | | Configure |-----------------|-----------|-----------------------------| | Boot/Setup | Boot server | IP Address| | | | name/address | | | | |-----------------|-----------|-----------------------------| | | Boot file name | X Server | /Super-X/server/SX11C | | | | path | | | |-----------------|-----------|-----------------------------| | | Power-Up Mode | Session | Setup, Session, X server | |---------------------------------------------------------------------------| | Configure | Local Internet | IP Address| X-terminalÀÇ IP Address ÁÜ | | Internet | Address | | | |---------------------------------------------------------------------------| | | Default Font | *.font | /BuiltInFonts/tcp/ | | Configure X |Search path list | serverÀÌ¿ë| host_address:7000/ | | Server/Fonts |-----------------|-----------|-----------------------------| | | Font Server/ | Don't care| | | | Name Address | | | |---------------------------------------------------------------------------| | Configure | Host name or | IP Address| HostÀÇ IP Address ¶Ç´Â Name | | Sessions | Address | | À» ÁÜ | |---------------------------------------------------------------------------| | Save Setup | À§ÀÇ ±¸¼ºÀ» ¿Ï·áÇÑ ÈÄ ÀÌ Menu¸¦ µÎ¹ø ´·¯ ÁÜ. | |---------------------------------------------------------------------------| | Reset Terminal| ÀÌ Menu¸¦ µÎ¹ø ´·¯ÁÖ¸é X-TerminalÀÌ resetµÊ. | ============================================================================= 2_2. HOST ( HPÀÎ °æ¿ì ) Setting 1) TFTP »ç¿ë½Ã -------------- ¡· HP Workstation¿¡¼´Â ÀϹÝÀûÀÎ ´Ù¸¥ system¿¡¼¿Í ¾à°£ ´Ù¸¥ ÇüÅ·ΠTFTP¸¦ Áö¿ø ÇÏ°í Àִµ¥ ±× ¿¹¸¦ º¸¸é : a) /etc/passwd file¿¡ "tftp"¸¦ login nameÀ¸·Î ÇÏ´Â field°¡ ÇÊ¿äÇÏ´Ù. => ÀÌ field¿¡¼ ¦® passwd : * ¦¯ ·Î ¹Ýµå½Ã settingÇÏ¿©¾ß ÇÑ´Ù. ¦² group : guest ¦´ ¦± sh : /etc/false¦° ¿¹¸¦ µé¸é tftp:*:510:guest:tftp server:/usr/tftpdir:/bin/false b) ¸ðµç tftp °ü·Ã fileµéÀº "/usr/tftpdir "¹Ø¿¡ ÀÖ¾î¾ß¸¸ access°¡ °¡´ÉÇÏ´Ù. c) tftpµ¿À۽à "chroot"¸í·ÉÀÌ ÀÛµ¿µÇ¹Ç·Î ,"/usr/tftpdir"À» "/"fh °£ÁÖÇÏ¿© path¸¦ ¸í½ÃÇÏ¿©¾ß ÇÑ´Ù. ¿¹¸¦ µé¸é, /usr/tftpdir/HXS /usr/tftpdir/fonts/misc ¶ó´Â file°ú directory°¡ ÀÖÀ» °æ¿ì, X-Terminal¿¡ path¸¦ ¸í½ÃÇÒ ¶§ "/HXS"¶Ç´Â "/fonts/misc"¿Í °°ÀÌ typeÇØ¾ß ÇÑ´Ù. ¡· setting a) host setting : tftp login Ãß°¡ => /usr/sam/bin/addusr ¸í·É¾î »ç¿ëÇÔ. ( /etc/passwd fileÀ» Á÷Á¢ ¼öÀåÇÒ °æ¿ì tftp¶ó´Â login¸íÀ» ÀÎÁö ¸øÇÔ.) => #addusr -u tftp -g guest -d /usr/tftpdir -s /bin/false -v 510 => /etc/passwd file³×¿¡ tftp lineÀÇ passwd field¸¦ "*"·Î ¼öÁ¤ÇÔ. : /usr/tftpdir³»¿¡ fonts¿Í X Terminal server¸¦ copyÇÔ. => HXS, /usr/bin/X11/fonts directory : compressed fonts¸¦ uncompress½ÃŲ ÈÄ "fonts.dir"À» »õ·Î »ý¼ºÇÑ´Ù. => (mkfontdir ¸í·É) b) X-Terminal setting : boot file name => /HXS : font path list => /fonts/hp_roman8/75dpi /fonts/iso_8859.1/75dpi /fonts/isd_8859.1/100dpi /fonts/misc /fonts/hp_kana8 /fonts/hp_korean/75dpi 2) NFS »ç¿ë½Ã ------------- ¡· host setting : NFS °¡ ÇÊ¿äÇÑ directory¸¦ "/etc/exports"¶ó´Â file¿¡ »ðÀÔÇÑ´Ù. => /usr/tftpdir : /etc/netnfsrc file ¼öÁ¤ => reboot½Ã ÀÚµ¿ÀûÀ¸·Î NFS¸¦ µ¿ÀÛ½ÃÅ´. => NFS_SERVER=1 START_MOUNTD=1 : reboot £ª rebootÇÏÁö ¾Ê°í Çö »óÅ¿¡¼ NFS¸¦ Áö¿øÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÏ¸é µÈ´Ù. # exportfs -a # rpc.mountd => À§ÀÇ settingÀ» ÇÏÁö ¾Ê°í ÀÌ µÎ command¸¸ µ¿ÀÛ½Ãų °æ¿ì¿¡´Â systemÀÇ rebooting½Ã NFS°¡ µ¿ÀÛÇÏÁö ¾ÊÀ¸¹Ç·Î ¹Ýµå½Ã À§ÀÇ settingÀ» ÇÒ °Í. ¡· X-Terminal setting : boot protocol=NFS, font protocol=NFS : NFS mount table¿¡ mountÇÒ directory¸¦ ¸í½ÃÇÑ´Ù. [host name or address] [remote path] [local path] 192.9.200.5 /usr/tftdir / : boot file name°ú font patb´Â TFTP½Ã¿Í µ¿ÀÏÇÏ°Ô settingÇÏ¸é µÊ. 3) Font Server »ç¿ë½Ã --------------------- - X-Terminal Setup±¸¼º¹æ¹ýÀÇ font setting¹æ¹ý »ç¿ëÇÔ. - Host¿¡ Font Server daemon install " /etc/rc.local" file¿¡ "/usr/bin/X11/fs&"Ãß°¡ 4) X-Terminal¿¡¼ xdmcp »ç¿ë¹ý ------------------------------ - HP VUE´Â default·Î vueloginÀ̶ó´Â fileÀÌ ±¸µ¿ÇÏ°Ô µÇ¾î ÀÖÀ¸¸ç, ÀÌ´Â X11ÀÇ XDMCP¿Í °°Àº µ¿ÀÛÀ» ÇÏ°Ô µÇ¾î ÀÖ´Ù. - host setting ( settingÇÏÁö ¾Ê¾Æµµ µÊ.) /usr/vue/config/Xservers file ¼öÁ¤ ( SUN¿¡¼¿Í µ¿ÀÏÇÔ.) => sx17:0 foreign - X-Terminal setting : xdcmp query mode --> direct : xdcmp server name address --> 192.9.200.5 5) X-Terminal¿¡¼ ÇÑ±Û »ç¿ë¹ý ------------------------------ -HP W/S¿¡¼´Â Window manager·Î VUE(Visual User Environment)¶ó´Â toolÀ» »ç¿ëÇÏ°í Àִµ¥, ÇÑ±Û mode¿Í ¿µ¹® modeÀÇ º¯È¯½Ã "Henkan (Keycode=0xff23)"key¸¦ »ç¿ëÇÑ´Ù. ±×·¯³ª X-TerminalÀº 101 keyboard¸¦ »ç¿ëÇϹǷΠÀÌ key°¡ Á¸ÀçÇÏÁö ¾Ê´Â´Ù. µû¶ó¼ ÀÓÀÇÀÇ key¸¦ "Henkan" key°ªÀ¸·Î º¯È¯ÇÏ¿© »ç¿ëÇÏ¿©¾ß ÇÑ´Ù. ( xmodmap ÀÌ¿ë) => # xmodmap -e "keysym F2 = Henkan" - xmodmapÀ» »ç¿ëÇÒ °æ¿ì¿¡´Â X TerminalÀ» rebootingÇϸé settingÇÑ °ÍÀÌ Áö¿öÁö¹Ç·Î ÀÌ ¸í·ÉÀ» VUE ±âµ¿½Ã µ¿ÀÛÇÏ´Â file¿¡ ÀúÀåÇØ µÎ¸é ¸Å¹ø typeÇÒ ÇÊ¿ä°¡ ¾ø´Ù. => VUE±âµ¿½Ã ȯ°æ fileµéÀº ´ÙÀ½ÀÇ ¼ø¼·Î ºÒ·¯¿À°Ô µÇ¾î ÀÖ´Ù. a) /usr/vue/config/Xconfig ( X server and/or all users on a display ) b) /usr/vue/config/Xsession ( all users on a display ) c) $HOME/.vueprofile ( indivisual users ) µû¶ó¼ Xsession file³»¿¡ xmodmap ¸í·ÉÀ» ÀúÀåÇÏ¸é ¸ðµç userµéÀÌ "F2" key¸¦ ÇÑ¿µ toggle key·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù. Revision History ÀÛ¼ºÀÏÀÚ : 96.11.16 ÀÛ¼ºÀÚ : À̹ÎÈ£ ¼öÁ¤ÀÏÀÚ : ¼öÁ¤ÀÚ :