[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:19260] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤



Áá´Ö¤Ç¤¹¡£
¥á¡¼¥ëÁ´ÂΤ«¤éÁÛÁü¤¹¤ë¤È¡¢¥æ¡¼¥¶¤Ç¤Ï¥í¥°¥¤¥ó¤Ç¤­¤ë¤¬ root ¤Ç¤Ï¥í¥°
¥¤¥ó½ÐÍè¤Ê¤¤¤è¤¦¤Ç¤¹¤¬¡¢¤³¤ÎȽÃǤÇÎɤ¤¤Ç¤¹¤«¡£
¾åµ­¾õÂÖ¤À¤È
¡Ê£±¡Ëroot ¤Ç¥í¥°¥¤¥ó¤·¤¿¤È¤­¤Î PATH ¤ÎÃÍ
¡Ê£²¡Ë/root/.xsession ¤Ë¤¢¤ë¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤Ç¤­¤Ê¤¤¤Ê¤É
      /root/.xsession ¤Ë¸í¤ê¤¬¤¢¤ë ¡£
¤Î¤Ç¤Ï̵¤¤¤Ç¤·¤ç¤¦¤«¡£

¤Þ¤¿¡¢»ä¸«¤Ç¤¹¤¬ su ¤Î¾õÂÖ¤ÇX¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¼Â¹Ô¤Ï½ÐÍè¤Ê¤¤¤È»×¤Ã
¤Æ¤¤¤Þ¤¹¡£

> ²ÃÆ£¼­¿¦ºä¡÷¤¼¤ó¤Þ¤¤.¤ª¡¼¤°¤Ç¤¹¡£
> 
> ɽµ­¤Î·ï¡£
> ÀèÆüXF86¤ò 4.3.2¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤·¤¿¤Ä¤¤¤Ç¤Ë
> /etc/inittab ¤Î default runlevel¤ò 4 ¤Ë¤·¤Æ xdmµ¯Æ°¤Ë¤·¤¿¤Î¤Ç¤¹¤¬¡¢
> ¥ë¡¼¥È¤Ç¥í¥°¥¤¥ó¤Ç¤­¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
> 

default runlevel ¤ò 4 ¤Ë¤¹¤ëÁ°¤Î»þ¤Ï¡¢rc.xdm ¤Ç¥ë¡¼¥È¤Ç¥í¥°¥¤¥ó¤¬
²Äǽ¤À¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¤«¡£
Êѹ¹ÅÀ¤ò¸ÂÄꤷ¤Æ
¡Ê£±¡ËXF86 4.3.2 ¤ÎÌäÂê¡£
¡Ê£²¡ËÀßÄê¥Õ¥¡¥¤¥ë¤ÎÌäÂê
¡Ê£³¡Ë¥×¥í¥°¥é¥à¤ä¥Õ¥¡¥¤¥ë¤Î¥â¡¼¥É¤ÎÌäÂê
¡Ê£´¡Ë¥Õ¥¡¥¤¥ë¡¦¥×¥í¥°¥é¥à¤ÎÉÔ­
¤ò¸«¶Ë¤á¤Ê¤¤¤ÈÂкö¤¬½ÐÍè¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£
A) °ìÈ̥桼¥¶¤¬¥í¥°¥¤¥ó²Äǽ¤Ê¤é¤Ð /root ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤òÄ´¤Ù¤ë¡£
   /root/.xsession-errors ¤ÎÆâÍƤò¸«¤ë¡£
   /root/.xsession ¤ÎÃæ¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¥³¥Þ¥ó¥É¤¬¼Â¹Ô²Äǽ¤«Èݤ«Ä´¤Ù
   ¤ë¡£
B) default runlevel ¤ò 3 ¤Ë¤·¤Æ¡Ê°¿¤¤¤Ï init 3 ¤ò¼Â¹Ô¤·¤Æ¡Ë
   /etc/rc.d/rc.xdm ¤Ç¤Î¼Â¹Ô¤ò³Î¤«¤á¤ë¡£
C) runlevel ¤¬ 3 ¤Î¾õÂÖ¤Ç startx ¤Î¼Â¹Ô²ÄÈݤò³Îǧ¤¹¤ë¡£
¤Ê¤É¡¢³Î¤«¤á¤é¤ì¤ë¤ÈÊýºö¤¬¸«¤¤¤À¤»¤ë¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤«

> ¤Þ¤¿¡¢°ìÈ̥桼¥¶¤Ç¥í¥°¥¤¥ó¤·¤¿¤¢¤È¡¢¥³¥ó¥½¡¼¥ë¤Ç su¤Ë¤Ê¤Ã¤Æ
> X¥¢¥×¥ê¤òµ¯Æ°¤µ¤»¤è¤¦¤È¤¹¤ë¤È
> 
> Xlib: connection to "umitsubame.zenmai.org:0.0" refused by server
> Xlib: No protocol specified
> Gtk-WARNING **: cannot open display: umitsubame.zenmai.org:0.0
> 
> ¤È¤¤¤¦¥¨¥é¡¼¤¬È¯À¸¤·¥¦¥£¥ó¥É¥¦¤¬À¸¤Þ¤ì¤Þ¤»¤ó¡£
> /usr/X11R6/lib/X11/xdm ¤Î¤É¤³¤«¤ËÀßÄ꤬ɬÍפʲսê¤Ï¤¢¤ê¤Þ¤¹¤Ç¤·¤ç¤¦¤«¡©
> ¸æ¶µ¼ø¤¤¤¿¤À¤±¤ì¤Ð¤µ¤¤¤ï¤¤¤Ç¤¹¡£
> 

»ä¤â½ÐÍè¤Þ¤»¤ó¡£
sudo ¤Ç¼Â¹Ô¤·¤Æ¤¤¤Þ¤¹¡£

¤³¤Î¤È¤­ /etc/sudoers ¤Ë¥æ¡¼¥¶Ì¾¤ÎÀßÄ꤬ɬÍפǤ¹¡£¥æ¡¼¥¶¤Î¥Ñ¥¹¥ï¡¼
¥É¤Ç root ¸¢¸Â¤òÍøÍѤǤ­¤Þ¤¹¡£

-- Áá´Ö  yossi@yedo.src.co.jp

Follow-Ups
[plamo:19261] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤, Kazunobu Kuriyama
[plamo:19262] Re: runlevel4¤À¤È root¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤, KATOU Takayuki
References
[plamo:19259] runlevel4¤À¤Èroot¸¢¸Â¤Ç¤ÎX¥¢¥×¥ê¤¬µ¯Æ°¤·¤Ê¤¤, KATOU Takayuki

[¸¡º÷¥Ú¡¼¥¸] [¥á¡¼¥ë°ìÍ÷]
Plamo ML ¸ø³«¥·¥¹¥Æ¥à