/usr/share/doc/HOWTO/ja-html/tkxauth-8.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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>What to do when Tk reports that your display is insecure: ¤¢¤Ê¤¿¤Ï¡¢¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¤¬¡¢¥µ¡¼¥Ð¤Ï¤Þ¤À°ÂÁ´¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£</TITLE>
<LINK HREF="tkxauth-9.html" REL=next>
<LINK HREF="tkxauth-7.html" REL=previous>
<LINK HREF="tkxauth.html#toc8" REL=contents>
</HEAD>
<BODY>
<A HREF="tkxauth-9.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="tkxauth-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="tkxauth.html#toc8">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="MARKER-9-8"></A> <A NAME="s8">8. ¤¢¤Ê¤¿¤Ï¡¢¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¤¬¡¢¥µ¡¼¥Ð¤Ï¤Þ¤À°ÂÁ´¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£</A></H2>
<P>²¼µ¤Ë½¾¤¤¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<H2><A NAME="ss8.1">8.1 Step A - ¤¢¤Ê¤¿¤Î¥Û¡¼¥à¥Ç¥£¥ì¥¯¥È¥ê¤Ë <CODE>.Xauthority</CODE> ¥Õ¥¡¥¤</A>
¥ë¤ò»ý¤Ä¤Ù¤¤Ç¤¹¡£</H2>
<P>¤³¤Î¥Õ¥¡¥¤¥ë¤Ï¡¢¤¢¤Ê¤¿¤Î¤¿¤á¤Ë <CODE>xdm</CODE> ¤Ë¤è¤Ã¤ÆºîÀ®¤µ¤ì¤Þ¤¹¡£´ÉÍý¤µ
¤ì¤¿¥Ç¥£¥¹¥×¥ì¥¤¾å¤ËºîÀ®¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£Çϼ¯¤Ê <CODE>xauth</CODE> ¤Î
man ¥Ú¡¼¥¸¤Ï̵»ë¤·¤Æ¤¯¤À¤µ¤¤ (ÌõÃí¡¨¸¶Ê¸¤¬½ñ¤«¤ì¤¿Åö»þ¤Ï¡¢¸í¤Ã¤¿µ½Ò¤À¤Ã
¤¿¤è¤¦¤Ç¡¢2001ǯ02·î08Æü¸½ºß¡¢¡ÖÄ̾ xauth ¤ÏºÇ½é¤Ëǧ¾Ú¥Õ¥¡ ¥¤¥ë¤òºîÀ®
¤¹¤ë¤¿¤á¤Ë¤Ï»È¤ï¤ì¤Ê¤¤¡£¤½¤ì¤Ï xdm ¤¬¹Ô¤¦¡£¡×¤È¡¢¹¹¿·¤µ¤ì¤Æ¤¤¤Þ¤¹)¡£
<P>
<H2><A NAME="ss8.2">8.2 Step B - <CODE>.Xauthority</CODE> ¥Õ¥¡¥¤¥ë¤Ï¥í¥°¥¤¥ó¤¹¤ë¤È½¤Àµ¤µ¤ì¤ë¤Ï¤º¤Ç¤¹¡£</A>
</H2>
<P>
<PRE>
ls -l $HOME/.Xauthority
</PRE>
¤ò¼Â¹Ô¤·¡¢Ä´¤Ù¤Æ¤¯¤À¤µ¤¤¡£
<P>
<H2><A NAME="ss8.3">8.3 Step C - <CODE>.Xauthority</CODE> ¥Õ¥¡¥¤¥ë¤Ï¤¢¤Ê¤¿¤Î¥Ç¥£¥¹¥×¥ì¥¤¤Î¥¨¥ó¥È¥ê¤ò»ý¤Ä¤Ï¤º¤Ç¤¹¡£</A>
</H2>
<P>
<PRE>
xauth list
</PRE>
¤ò¼Â¹Ô¤·¡¢Ä´¤Ù¤Æ¤¯¤À¤µ¤¤¡£
<P>¤³¤ì¤é¤Î step ¤Î¤É¤ì¤«¤Ç¼ºÇÔ¤·¤¿¤é¡¢¥Ç¥£¥¹¥×¥ì¥¤¥Þ¥Í¡¼¥¸¥ã¤Î¥í¥°¥¤¥ó¤Î»Å
ÁȤߤËÉÔ¶ñ¹ç¤¬¤¢¤ê¤Þ¤¹¡£
<A HREF="tkxauth-7.html#MARKER-9-5">Section 7</A> ¤Î»öÊÁ¤ò
ºÆÅÙÃí°Õ¿¼¤¯¥Á¥§¥Ã¥¯¤·¤Æ¤¯¤À¤µ¤¤¡£´Ö°ã¤¤¤¬²¿¤â¸«ÉÕ¤±¤é¤ì¤Ê¤¤¤Ê¤é¡¢¥Ë¥å¡¼
¥¹¥°¥ë¡¼¥×¤â¤·¤¯¤ÏÃø¼Ô¤Ë¤ªÃΤ餻¤¤¤¿¤À¤±¤ì¤Ð¡¢Â¾¤Î¿Í¤¿¤Á¤¬´Ö°ã¤¤¤ò¸«¤Ä¤±
¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤¢¤Ê¤¿¤Î¥·¥¹¥Æ¥à¤ËɬÍפÊÉáÄ̤Ǥʤ¤²¿¤«¤ò¡¢Ã±ÆȤǡ¢¸«¤Ä
¤±¤¿¤é¡¢Ãø¼Ô¤Ë¤ªÃΤ餻¤¯¤À¤µ¤¤¡£¤½¤¦¤·¤Æ¤¤¤¿¤À¤±¤ì¤Ð¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤½¤ì
¤òÄɲäǤ¤Þ¤¹¡£
<P>
<P>¤³¤ì¤é¤Î step ¤Î¤¹¤Ù¤Æ¤¬À®¸ù¤·¤Æ¤â¡¢¤¿¤Ö¤ó¡¢¤Þ¤À <CODE>xhost</CODE> ǧ¾Ú¤ò»È
ÍѤ·¤Æ¤¤¤Þ¤¹¡£<CODE>xauth</CODE> ¤ò°ÂÁ´¤Ë¤¹¤ë¤¿¤á¤Ë¡¢Ç§¾Ú¤·¤¿¥Û¥¹¥È¤¬<EM>¤¢¤Ã¤Æ
¤Ï¤Ê¤ê¤Þ¤»¤ó</EM>¡£¼¡¤Î¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ï³Î¼Â¤Ë¤¹¤Ù¤Æ¤Îǧ¾Ú¤·¤¿¥Û¥¹¥È¤ò
¥ê¥¹¥È¤«¤éºï½ü¤·¤Þ¤¹¡£
<P>
<PRE>
#!/bin/sh
for host in 'xhost | sed 1d' ; do
echo removing $host from access control list
xhost -$host
done
echo removing general access from access control list
xhost -
</PRE>
¤½¤Î¸å¡¢Tk ¤Ï°ÂÁ´¤Ë¸«¤¨¤ë¤Ï¤º¤Ç¤¹¡£
<P>¤â¤¦°ì¤Ä¹Í¤¨¤é¤ì¤ëº¤¤Ã¤¿¤³¤È¤¬¤¢¤ê¤Þ¤¹¡½¡½¤¹¤Ù¤Æ¤¬´°Î»¤¹¤ë¤È¤¹¤°¤Ë¡¢Tk
¤Ï¤¹¤Ù¤Æ¤Î¤â¤Î¤Îµ¯Æ°¤òµñÈݤ¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡¢¤Ê¤¼¤Ê¤é¡¢¥Ç¥£¥¹¥×¥ì¥¤ ¤Î
Àܳ¤¬µñÈݤµ¤ì¤ë¤«¤é¤Ç¤¹¡£¤³¤ì¤¬µ¯¤³¤Ã¤¿¤Ê¤é¡¢
<A HREF="tkxauth-10.html#MARKER-9-18">Section 10</A> ¤Ø¹Ô¤¡¢²¿¤ò¤¹¤ì¤Ð¤¤¤¤¤«Íý²ò¤·
¤Æ¤¯¤À¤µ¤¤¡£
<P>
<HR>
<A HREF="tkxauth-9.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="tkxauth-7.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="tkxauth.html#toc8">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|