/usr/share/doc/HOWTO/ja-html/XWindow-User-HOWTO-10.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The X Window User HOWTO: ¿Ê¤ó¤À X ¤Î»È¤¤Êý</TITLE>
<LINK HREF="XWindow-User-HOWTO-11.html" REL=next>
<LINK HREF="XWindow-User-HOWTO-9.html" REL=previous>
<LINK HREF="XWindow-User-HOWTO.html#toc10" REL=contents>
</HEAD>
<BODY>
<A HREF="XWindow-User-HOWTO-11.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO-9.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO.html#toc10">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s10">10. ¿Ê¤ó¤À X ¤Î»È¤¤Êý</A></H2>
<P>X ¤Ë¤Ä¤¤¤Æ³Ø¤Ö¤³¤È¤Ï¤¿¤¯¤µ¤ó¤¢¤ê¡¢ÉԲĻ׵Ĥʥª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤Î
ÂçÃϤβ¼¤Ë¤¿¤¯¤µ¤ó¤Î¾ðÊó¤¬Ëä¤Þ¤Ã¤Æ¤ª¤ê¡¢Â¿¤¯¤Î¿Í¡¹¤Ï¤ï¤¶¤ï¤¶Æɤޤʤ¤¤³
¤È¤¬¤¿¤¯¤µ¤ó¤¢¤ê¤Þ¤¹¡£Æɤó¤Ç¤Ê¤¤¾ðÊó¤Î¤É¤³¤«¤ËÈæ³ÓŪ½ÅÍפǤ¢¤ê¡¢´Ö°ã¤¤¤ä¤¹¤¤¤â¤Î¤¬¤¢
¤ì¤Ð¡¢´°Á´¤Ë¤Ï¤Þ¤Ã¤Æ¤·¤Þ¤¦¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£¥×¥í¥°¥é¥à¤ò X ¾å¤Ç¹½ÃÛ¤¹¤ë
¤³¤È¤ä¡¢ X ¤Î¥»¥¥å¥ê¥Æ¥£¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¡¢¤½¤Î¾¤Î¿¤¯¤Î¤³¤È¤Ï¤â¤Ã¤È
Æñ¤·¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤Ê¤¼¤Ê¤é¡¢ X ¤È X ¾å¤ÇÆ°ºî¤¹¤ë¤â¤Î¤ÏÈó¾ï¤Ë¤¿¤¯¤µ
¤ó¤¢¤ë¤«¤é¤Ç¤¹¡£¤³¤Î¥»¥¯¥·¥ç¥ó¤Ç¤Ï¡¢Èæ³ÓŪ¾åµé¼Ô¸þ¤±¤Çʶ¤é¤ï¤·¤¤¾õ¶·¤ò
¤¤¤¯¤Ä¤«²¡¤¨¤Þ¤¹¡£
<P>
<H2><A NAME="ss10.1">10.1 ¥é¥¤¥Ö¥é¥ê¤È X ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥³¥ó¥Ñ¥¤¥ë</A>
</H2>
<P>¤¢¤Ê¤¿¤¬¤è¤¯¤Ç¤¤¿ Linux ¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤¤Æ¡¢
¸½¾õ¤ËËþ¤·¤Æ¤¤¤ë¤Î¤Ê¤é¤Ð¡¢¤è¤ê¸å¤Ë¡¢¤Þ¤¿¤¤¤¸¤¯¤ê¤Þ¤ï¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë
¤Î¤¬¹¥¤¤Ê¤é¤Ð¡¢¤è¤êÁ᤯¤Ï¤Ê¤ê¤Þ¤¹¤¬¡¢¤¤¤Ä¤«¤Ï¤¢¤Ê¤¿¼«¿È¤Ç¥¢¥×¥ê¥±¡¼¥·¥ç¥ó
¤Î¥³¥ó¥Ñ¥¤¥ë¤ò¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¯¤Ê¤ë»þ¤¬Íè¤ë¤Ç¤·¤ç¤¦¡£
¤³¤ì¤Ï¸¢Íø¤Ç¤Ï¤Ê¤¯Æø¢¤À¤È¤¤¤¦¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç³Ú¤·¤ß¤Þ¤·¤ç¤¦¡ª
<P>¤Ï¤¸¤á¤Ë¡¢ X ¤È¤¤¤Ã¤·¤ç¤Ë¥×¥í¥°¥é¥à¤ò¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤È¤¤Î¥Ý¥¤¥ó¥¿¤ò¤¤¤¯¤Ä¤«
½Ò¤Ù¤Þ¤¹¡£¤Û¤È¤ó¤É¤Î¿·¤·¤¤¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¡¢¤È¤¯¤Ë GNU ¤Î¤â¤Î¤Ë¤Ï
<B>configure</B> ¤È¤¤¤¦¥¹¥¯¥ê¥×¥È¤¬¥ë¡¼¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ê¤Þ¤¹¡£¤â¤Á
¤í¤ó¤¢¤Ê¤¿¤¬¥½¡¼¥¹¥³¡¼¥É¤ò¤½¤³¤ØŸ³«¤·¤Æ¤¤¤¿¤È²¾Äꤷ¤Æ¤¤¤Þ¤¹¡£
¤³¤Î¥×¥í¥°¥é¥à¤ò <CODE>./configure</CODE> ¤È¤·¤Æ¼Â¹Ô¤¹¤ë¤È
¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤Ë¤Ä¤¤¤Æ¤Î¤¤¤í¤¤¤í¤Ê¾ðÊó¤ò¼«Æ°¸¡½Ð¤·¤Þ¤¹¡£
¤½¤Î¤¢¤È¤Çñ¤Ë <CODE>make</CODE> ¤ò¼Â¹Ô¤·¤Æ¤«¤é
root ¤Ë¤Ê¤Ã¤Æ <CODE>make install</CODE> ¤¹¤ì¤Ð¡¢¥×¥í¥°¥é¥à¤ò¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à
¤ËÁȤ߹þ¤á¤Þ¤¹¡£
<P><B>configure</B> ¤¬¤Ê¤«¤Ã¤¿¤é¤â¤¦¤Á¤ç¤Ã¤È¤¤¤¸¤¯¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
¤¿¤¤¤Æ¤¤¤Î X ¤Î¥×¥í¥°¥é¥à¤Ï <B>Makefile</B> ¤òÀ¸À®¤¹¤ë¤¿¤á¤Ë
<CODE>xmkmf</CODE> ¤È¤¤¤¦¥×¥í¥°¥é¥à¤Î¼Â¹Ô¤òɬÍפȤ·¤Þ¤¹¡£
¤â¤· <B>Makefile</B> ¤¬¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤Ë¸«¤¢¤¿¤é¤Ê¤«¤Ã¤¿¤é¡¢¤¿¤Ö¤ó¤³
¤ì¤ò¼Â¹Ô¤¹¤ë¤³¤È¤ÇŬÅö¤ÊÀßÄê¤òÀ¸À®¤·¤Æ <CODE>make</CODE> ¤ò¼Â¹Ô¤Ç¤¤Þ¤¹¡£
<P>¤È¤¤Ë¤Ï <B>congigure</B> ¥¹¥¯¥ê¥×¥È¤ò¼Â¹Ô¤¹¤ë¤È¤½¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î
¼Â¹Ô¤Ë¿ä¾©¡¦É¬Íפʥ饤¥Ö¥é¥ê¤¬¤Ê¤¤¤È·Ù¹ð¤ò¼õ¤±¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
¤¿¤È¤¨¤Ð¤ï¤¿¤·¤ÏÀèÆü <B>xscreensaver</B> ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢
<B>Mesa</B> ¥é¥¤¥Ö¥é¥ê¤¬¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ì¤Ð 3D ¥â¡¼¥É¤¬¥µ¥Ý¡¼¥È¤µ¤ì
¤ë¤³¤È¤Ëµ¤¤Å¤¤Þ¤·¤¿¡£
¤³¤Î¤è¤¦¤Ê¤È¤¤Ë¡¢¤½¤Î¥é¥¤¥Ö¥é¥ê¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤±¤ì¤Ð¡¢
¤Þ¤º¤¢¤Ê¤¿¤Î Linux ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Î CD ¤Ê¤É¤Î¥¤¥ó¥¹¥È¡¼¥ë¥á¥Ç¥£
¥¢¤ÎÃæ¤Ç¤½¤Î¥é¥¤¥Ö¥é¥ê¤òõ¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£
¥é¥¤¥Ö¥é¥ê¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤·¤¿¤È¤¤Ëµ¯¤¤ë¤¿¤¯¤µ¤ó¤Î¥È¥é¥Ö¥ë¤òÈò¤±¤é
¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
<P>¥é¥¤¥Ö¥é¥ê¤ò¥³¥ó¥Ñ¥¤¥ë¡¦¥¤¥ó¥¹¥È¡¼¥ë¤·¤ÆÍøÍѤǤ¤ë¤è¤¦¤Ë¤·¤¿¤é
X ¥×¥í¥°¥é¥à¤Î¥¤¥ó¥¹¥È¡¼¥ë¸µ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÌá¤ê <CODE>config.cache</CODE>
¥Õ¥¡¥¤¥ë¤ò¾Ã¤·¤Æ¡¢<B>configure</B> ¥¹¥¯¥ê¥×¥È¤òºÆ¤Ó¼Â¹Ô¤¹¤ë¤³¤È¤¬¤Ç¤
¤Þ¤¹¡£¤¦¤Þ¤¯¤¤¤±¤Ð¤¢¤Ê¤¿¤¬¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥é¥¤¥Ö¥é¥ê¤ò¸¡½Ð¤·¤Æ¤¯¤ì¤ë¤Ç¤·¤ç¤¦¡£
¤È¤¤Ë¤Ï¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¤È¤¤â¤¢¤ê¡¢¤½¤Î¤È¤¤ÏÆ°ºî¤¹¤ë¤è¤¦¤Ë¤¤¤¸¤¯¤ëɬÍפ¬
¤¢¤ê¤Þ¤¹¡£¤³¤Î¤è¤¦¤Ê»öÂÖ¤Ï Linux ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥àɸ½à¤ò¤¤Á¤ó¤È¥µ¥Ý¡¼¥È
¤·¤Æ¤¤¤Ê¤¤¥é¥¤¥Ö¥é¥ê¤ò¥Í¥Ã¥È¤«¤é¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤¤¿¤È¤¤Ë¤È¤¤É¤µ¯¤³¤ê
¤Þ¤¹ (¤¿¤¤¤Æ¤¤¤Î¥é¥¤¥Ö¥é¥ê¤Ï¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹)¡£
<P>
<H2><A NAME="ss10.2">10.2 X ¥»¥¥å¥ê¥Æ¥£¤Î´ðÁÃ</A>
</H2>
<P>X ¤Ï All or Nothing ¤È¤¤¤¦Èó¾ï¤Ëñ½ã¤Ê¥»¥¥å¥ê¥Æ¥£¥â¥Ç¥ë¤Ë¤â¤È¤Å¤¤¤Æ
¤¤¤ë¤È¤·¤Ð¤·¤Ð¤¤¤ï¤ì¤Þ¤¹¡£¤½¤Î¤È¤ª¤ê¤Ê¤Î¤Ç¤¹¡£
X ¤Ï°Å¹æ²½¤Ë¤è¤Ã¤Æ¤¢¤ëÄøÅÙÀöÎý¤µ¤ì¤¿¥»¥¥å¥ê¥Æ¥£¤ò»È¤¦¤è¤¦¤ËÀßÄê¤Ç¤¤Þ¤¹
¤¬¡¢¤³¤ì¤Ï¤³¤Î HOWTO ¤ÎÈϰϳ°¤Ç¤¹ (¤¤¤Þ¤Î¤È¤³¤í¤Ï)¡£
°Ê¹ß¤ÎµÄÏÀ¤Ç¤Ï¥æ¡¼¥¶¤Ï¤¤¤«¤Ê¤ë°Å¹æ²½¤âÍøÍѤ·¤Æ¤¤¤Ê¤¤¤È²¾Äꤷ¤Þ¤¹¡£
<P>¤Þ¤ºÂè°ì¤Ë¡¢ X ¤Î¥×¥í¥°¥é¥à¤ò¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤È¤ (¤Ë¸Â¤é¤ºÂ¾¤Î¾ì¹ç¤Ë¤â)
ñ½ã¤Ê¥ë¡¼¥ë¤Ë½¾¤¦¤è¤¦Åؤá¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£É¬Íפʤ¤¤«¤®¤ê root ¤Ë¤Ê¤é
¤Ê¤¤¤è¤¦¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
°ìÈ̥桼¥¶¤Ç <CODE>./configure && make</CODE> (configure ¥¹¥¯¥ê¥×¥È¤¬¤Ê¤±¤ì
¤Ð <CODE>make</CODE> ¤À¤±) ¤ò¼Â¹Ô¤·¤Þ¤¹¡£¤½¤·¤Æ root ¸¢¸Â¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿
¤á¤Ë <CODE>su -c "make install"</CODE>
¤È¥¿¥¤¥×¤·¤Æ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¡¢¥×¥í¥ó¥×¥È¤Ë root ¤Î¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ·¤Þ¤¹¡£
¤³¤ÎÊýË¡¤Ê¤é¤Ð root ¤Ç¥í¥°¥¤¥ó¤¹¤ëɬÍפϤʤ¯¡¢¤¿¤Ã¤¿¤Ò¤È¤Ä¤Î¥³¥Þ¥ó¥É¤ò
root ¤Ç¼Â¹Ô¤¹¤ë¤À¤±¤Ç¡¢Ä̾ï¤Î¥æ¡¼¥¶¥×¥í¥ó¥×¥È¤ËÌá¤ê¤Þ¤¹¡£
¤³¤ì¤¬¥¹¥Þ¡¼¥È¤Ë¡¢°ÂÁ´¤Ë¥½¥Õ¥È¥¦¥§¥¢¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÊýË¡¤Ç¤¹¡£
<P>ÂèÆó¤Ë X ¤Î¥½¥Õ¥È¥¦¥§¥¢¤ò root ¤Ç¼Â¹Ô¤¹¤ë¤³¤È¤Ë¤Ä¤¤¤Æ¹Í¤¨¤Þ¤¹¡£
X ¤ÏËܼÁŪ¤Ë¤¢¤Þ¤ê¥»¥¥å¥¢¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤Ç¤¹¤«¤éÆÃÄê¤Î Linux ¥Ü¥Ã¥¯¥¹
¤Î¥»¥¥å¥ê¥Æ¥£¤¬¼çÍפʴؿ´¤Ç¤¢¤ë¤Ê¤é¤Ð X ¤Ï°ìÀÚ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ù¤¤Ç¤Ï
¤¢¤ê¤Þ¤»¤ó¡ª
¤½¤¦¤Ï¤¤¤Ã¤Æ¤â¡¢¤«¤Ê¤ê¤Î¿Í¡¹¤Ï¤ª¤·¤ã¤ì¤ÊÀßÄê¥×¥í¥°¥é¥à¤ä¥Ñ¥Ã¥±¡¼¥¸´ÉÍý¥Ä¡¼
¥ë¤ò X ¾å¤ÇÆ°¤«¤·¤¿¤¬¤ê¤Þ¤¹¡£
X ¤ò root ¤Çµ¯Æ°¤¹¤ë¤³¤È¤Ï<EM>´«¤á¤é¤ì¤Þ¤»¤ó</EM>¡£
¤½¤ì¤Ï¤è¤¯¤Ê¤¤¹Í¤¨¤Ç¤¹¡£¤â¤Ã¤È¤â¤Ã¤È¤è¤¤ÊýË¡¤¬¤¢¤ê¤Þ¤¹!
<P>¤â¤· X ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò root ¤Ç¼Â¹Ô¤·¤¿¤¤¤Î¤Ê¤é¤Ð¡¢¤Þ¤¹¤¢¤Ê¤¿¤ÎÄ̾ï
¤Î¥æ¡¼¥¶¥¢¥«¥¦¥ó¥È¤Ç¥í¥°¥¤¥ó¤·¤Æ¡¢¤½¤³¤Ç¤½¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤òµ¯Æ°¤·¤Æ¤¯
¤À¤µ¤¤¡£¤¤¤Þ¤Þ¤Ç¤Ë½Ò¤Ù¤¿¤è¤¦¤Ë¡¢ËÜÅö¤ËɬÍפǤʤ±¤ì¤Ð root ¤Ç¥í¥°¥¤¥ó¤·¤è
¤¦¤È¤·¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£root ¥æ¡¼¥¶¤Ï¥·¥¹¥Æ¥à¾å¤Ç¡¢Ìµ¿ô¤ÎÊýË¡¤Ç¤½¤Î¥·¥¹
¥Æ¥à¤ò´°Á´¤ËÇ˲õ¤¹¤ë¤³¤È¤ò´Þ¤á¡¢¤¢¤é¤æ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
ñ¤Ë¤¢¤Ê¤¿¤Î <B>xterm</B> ¤È¤¤¤Ã¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ÎÃæ¤Ç
<CODE>su -c "glint -display :0.0"</CODE>
¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤ò¥¿¥¤¥×¤¹¤ì¤Ð¥Ç¥¹¥¯¥È¥Ã¥×¾å¤Ë¥¦¥£¥ó¥É¥¦¤¬³«¤¤Þ¤¹¡£
¤³¤Î¤È¤¤Ò¤È¤Ä¤Î¥¦¥£¥ó¥É¥¦¤À¤±¤¬ root ¸¢¸Â¤ÇÆ°¤¤¤Æ¤¤¤Þ¤¹¡£¥Ç¥¹¥¯¥È¥Ã¥×Á´
ÂΤǤϤ¢¤ê¤Þ¤»¤ó¡£
¤è¤ê¥»¥¥å¥ê¥Æ¥£¤ò¹â¤á¤ë¤¿¤á¤Ë¡¢root ¤Ç¼Â¹Ô¤¹¤ë¥×¥í¥°¥é¥à¤Ë¤Ä¤¤¤Æ¤ÏÀäÂÐ
¥Ñ¥¹Ì¾¤ò»È¤¦¤³¤È¤â¹Í¤¨¤Æ¤¯¤À¤µ¤¤¡£
<P><B>ssh</B> ¤È <B>ssh-agent</B> ¤Î°¦¹¥¼Ô¤Î¤¿¤á¤Î¥Æ¥¯¥Ë¥Ã¥¯¤ò
Tomasz Motylewski ¤«¤é¶µ¤¨¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£°Ê²¼¤Î¹Ô¤ò
<EM>/usr/X11R6/lib/xinit/Xclients</EM> ¥Õ¥¡¥¤¥ë¤ËÄɲ䷤Ƥ¯¤À¤µ¤¤:
<P>
<BLOCKQUOTE><CODE>
<PRE>
eval "exec ssh-agent fvwm${FVWMVER} ${FVWMOPTIONS}" >
"$HOME"/.FVWM${FVWMVER}-errors 2>&
</PRE>
</CODE></BLOCKQUOTE>
<P>¤Ä¤Þ¤ê¡¢É¸½à¤Î <CODE>fvwm${FVWMVER} ${FVWMOPTIONS}</CODE> ¥³¥Þ¥ó¥É¤òÀèÄø¤Î
¤â¤Î¤ÈÃÖ¤´¹¤¨¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ï¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¡¼¤ò
<B>ssh-agent</B> ¤Î»Ò¥×¥í¥»¥¹¤È¤·¤Æµ¯Æ°¤¹¤ë¤¿¤á¤Î»ØÄê¤Ç¤¹¡£¤½¤ì¤«¤é¡¢
(<EM> /.ssh/identity</EM> ¥Õ¥¡¥¤¥ë¤Ë RSA ¼±Ê̸°¤ò¤ª»ý¤Á¤Ç¤¢¤ì¤Ð)
<CODE>ssh-add > /dev/null</CODE> ¤ò <B>xterm</B> ¤Î¥»¥Ã¥·¥ç¥ó¤«¤é¼Â
¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤¬Æ°ºî¤¹¤ì¤Ð¡¢Á´¤Æ¤Î X ¤Î¥¦¥£¥ó¥É¥¦¤Ë¤ª¤¤¤Æ¤½¤Î¥æ¡¼
¥¶¤Ïǧ¾Ú¤µ¤ì¤Æ¤¤¤ë¤Ï¤º¤Ç¤¹¡£
<P>¤³¤ì¤ÏÆɼԤ«¤é¤ÎÄó°Æ¤Ç¤¢¤ê¡¢¸½»þÅÀ¤Ç¤ÏÉ®¼Ô¤Ï <B>ssh</B> ¤ò»È¤Ã¤¿·Ð¸³
¤Ï¤Ê¤¤ÅÀ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤·¤¿¤¬¤Ã¤Æ¡¢¤³¤ì¤ÏÆɼԤ㧤µ¤ó¤ÎÀÕǤ¤Ë¤ª¤¤
¤Æ»î¤·¤Æ¤¯¤À¤µ¤¤! ºÇ¶á¤Î Linux ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ç¤Ï
<CODE>setup</CODE> ¤ä¤½¤ÎÎà¤Î¥×¥í¥°¥é¥à¤Ç <B>ssh</B> ¤ÎÀßÄê¤ò¼«Æ°Åª¤Ë¹Ô
¤¨¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢ <B>ssh</B> ¤ÎÀßÄê¤Ë¤Ä¤¤¤Æ¤Ï¤¢¤Þ¤ê¿´ÇÛ¤¹¤ëɬÍפϤʤ¯¡¢
¤É¤Î¤è¤¦¤ËÆ°ºî¤¹¤ë¤Î¤«¤òÍý²ò¤¹¤ì¤Ð¤«¤Þ¤¤¤Þ¤»¤ó¡£
<P>
<H2><A NAME="ss10.3">10.3 X ¤Îµö²Ä¤Ë´Ø¤¹¤ë¾ÜºÙ</A>
</H2>
<P>X ¤Î¥æ¡¼¥¶Ç§¾Ú¤Ë¤ª¤±¤ëÆæ¤ÎÂåɽÎã¤Ï¡¢Â¿¤¯¤Î¥æ¡¼¥¶¤¬ X ¤Ç½Ð²ñ¤¦¥»¥¥å
¥ê¥Æ¥£¤ÎÌäÂê¤Ç¤·¤ç¤¦¡£Tomasz Motylewski ¤µ¤ó¤¬°Ê²¼¤ÎÀâÌÀ¤òÀâÌÀ¤·¤Æ¤¯¤ì
¤Þ¤·¤¿¡£¤³¤ì¤ÏÌäÂê¤ò¤È¤Æ¤â¤¦¤Þ¤¯¤Þ¤È¤á¤Æ¤¤¤Þ¤¹¡£
<P>¡Ö¡ÄXFree86 ¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ç¤Ï¡¢``startx'' ¤Ç»Ï¤Þ¤ë X ¥»¥Ã¥·¥ç¥ó¤Ï
¥í¡¼¥«¥ë¥Û¥¹¥È¤«¤éÀܳ¤·¤Æ¤¤¤ëÁ´¤Æ¤Î¥æ¡¼¥¶¤«¤é¤Î¥³¥Þ¥ó¥É¤ò¼õ¤±ÉÕ¤±¤Þ¤¹¡£
¤â¤·¤¢¤Ê¤¿¤¬¥æ¡¼¥¶ 1 ¤È¤·¤Æ X ¤òµ¯Æ°¤·¤Æ¤ª¤ê¡¢¥æ¡¼¥¶ 2 ¤È¤·¤Æ¥ê¥â¡¼¥È
¥í¥°¥¤¥ó¤·¤Æ¤¤¤ì¤Ð¡¢¥æ¡¼¥¶ 2 ¤Ï¥¡¼¥Ü¡¼¥É¤È¥Ç¥¹¥¯¥È¥Ã¥×¤Ë´°Á´¤Ë¥¢¥¯¥»
¥¹¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹ (°ÊÁ°¡¢»ä¤Îͧ¿Í¤¬¾éÃÌ¤Ç cron ¥³¥Þ¥ó¥É¤òÀßÄꤷ¡¢1
»þ´Ö¤´¤È¤Ë»ä¤Î X ¤Î¥Ç¥¹¥¯¥È¥Ã¥×¤Î¥À¥ó¥×¤òÈà¤ËÁ÷¤Ã¤¿¤³¤È¤¬¤¢¤ê¤Þ¤·¤¿¡£
»ä¤Ï 2 ½µ´Ö¤â¤½¤ì¤Ëµ¤¤Å¤«¤Ê¤¤¤Þ¤Þ¤Ç¤·¤¿!)¡×
<P>¤³¤ì¤Ï¤¢¤Þ¤ê¤¤¤¤¤³¤È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢ÉÔ¹¬¤Ê¤³¤È¤Ë¤Û¤È¤ó¤É¤ÎÆɼԤ¬¤Þ¤µ
¤Ë¤³¤ÎÌäÂê¤òÊú¤¨¤Æ¤¤¤Þ¤¹¡£Tomasz ¤µ¤ó¤Ïñ¤Ë <B>startx</B> ¤ò¼Â¹Ô¤¹¤ë
¤Î¤Ç¤Ï¤Ê¤¯¡¢<B>xdm</B> ¤ò»È¤Ã¤Æ¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¤Î¤Ê¤é¤Ð (¤³¤Î HOWTO
¤ÎÁ°¤ÎÉôʬ¤Ç¾Ü¤·¤¯ÀâÌÀ¤·¤Æ¤¤¤Þ¤¹) ¤³¤ì¤Ï¤¢¤Þ¤êÌäÂê¤Ë¤Ê¤é¤Ê¤¤¤³¤È¤ò»ØŦ
¤·¤Æ¤¤¤Þ¤¹¡£¤È¤¤¤¦¤Î¤â¡¢ <B>xauth</B> ¥×¥í¥°¥é¥à¤¬¥¢¥¯¥»¥¹¤òÀ©¸æ¤·¤Æ
¤¤¤ë¤«¤é¤Ç¤¹¡£ <B>xhost</B> ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢¤¢¤Ê¤¿¤Î X
¥»¥Ã¥·¥ç¥ó¤Ë郎¥¢¥¯¥»¥¹¤Ç¤¤ë¤Î¤«¤òÄ´¤Ù¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
<B>xhost</B> ¥³¥Þ¥ó¥É¤Î½ÐÎϤ˴ޤޤì¤ë¥Û¥¹¥È¤ÎÁ´¤Æ¤Î¥æ¡¼¥¶¤Ï¡¢¤¢¤Ê¤¿
¤Î¥¡¼¥Ü¡¼¥É¤È¥¹¥¯¥ê¡¼¥ó¤Ë¥Õ¥ë¥¢¥¯¥»¥¹¤¹¤ë¤³¤Èµö²Ä¤µ¤ì¤Þ¤¹¡£
<P>¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é X ¤ò°ÂÁ´¤Ê·Á¤Çµ¯Æ°¤·¤¿¤¤¤Ê¤é¡¢ÀßÄê¤Ë°Ê²¼¤Î½¤Àµ¤ò²Ã
¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤Þ¤º <B>startx</B>
(¤¿¤Ö¤ó <EM>/usr/X11R6/bin/startx</EM> ¤Ë¤¢¤ê¤Þ¤¹) ¤ò½¤Àµ¤·¡¢ºÇ¸å¤Î¹Ô¤Î
<CODE>xinit $clientargs -- $serverargs</CODE> ¤ò
<CODE>exec xinit $clientargs -- $serverargs -auth ~/.Xauthority</CODE>
¤ËÊѹ¹¤·¤Þ¤¹¡£
<P>¤Þ¤¿¡¢¼¡¤Ë <B>.xinitrc</B> ¤Þ¤¿¤Ï¥·¥¹¥Æ¥àÁ´ÂÎÍѤÎ
<EM>/usr/X11R6/lib/xinit/xinitrc</EM> (¤³¤Î¤¦¤Á¼ÂºÝ¤Ë»È¤ï¤ì¤Æ¤¤¤ëÊý¡£¤¿¤Ö¤ó¥Û¡¼
¥à¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ëÊý¤Ç¤·¤ç¤¦)¤òÊÔ½¸¤·¡¢¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤Ë°Ê²¼¤Î
µ½Ò¤ò²Ã¤¨¤ëɬÍפ¬¤¢¤ê¤Þ¤¹:
<P>
<BLOCKQUOTE><CODE>
<PRE>
# if Xserver has been run with "-auth ~/.Xauthority" option
this will
# prevent other users on your machine to connect to your X server
# unless you allow it explicitly using xhost +host or give them
# your ~/.Xauthority file.
xauth generate $DISPLAY . trusted
</PRE>
</CODE></BLOCKQUOTE>
<P>¾ï¤Ëµ¤¤òÇۤꡢ¼«Ê¬¤¬ÀßÄꤷ¤¿¥»¥¥å¥ê¥Æ¥£¤ò <B>xhost</B> ¤ò¼Â¹Ô¤·¤Æ³Î
ǧ¤·¡¢Á´¤Æ¤¬Àµ¤·¤¯Æ°ºî¤·¤Æ¤¤¤ë¤³¤È¤ò³Î¤«¤á¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>
<HR>
<A HREF="XWindow-User-HOWTO-11.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO-9.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="XWindow-User-HOWTO.html#toc10">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|