¾î¶»°Ô Çϸé Äֿܼ¡¼ ±×·¡ÇÈ ½ºÅ©¸°À¸·Î ·Î±×ÀÎÀ» º¯°æÇÒ ¼ö ÀÖ½À´Ï±î?
Äֿܼ¡¼ ½Ã½ºÅÛ¿¡ ·Î±×ÀÎÇÑ ÈÄ startx ¸í·ÉÀ» ÀÔ·ÂÇÏ¿© X À©µµ¿ì ½Ã½ºÅÛÀ» ½ÃÀÛÇÏ´Â ´ë½Å, ¹Ù·Î X·Î ·Î±×ÀÎÇϵµ·Ï ½Ã½ºÅÛÀ» ¼³Á¤ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
/etc/inittab ÆÄÀÏ¿¡¼ ·±·¹º§ÀÇ ¼ýÀÚ¸¦ º¯°æÇÏ½Ã¸é µË´Ï´Ù. ÆÄÀÏÀ» º¯°æÇϼÌÀ¸¸é, ÄÄÇ»Å͸¦ ÀçºÎÆÃÇϽʽÿÀ. ´ÙÀ½¿¡ ·Î±×ÀÎÇϽøé, ±×·¡ÇÈ ·Î±×ÀÎ ÇÁ·ÒÇÁÆ®°¡ ³ªÅ¸³¯ °ÍÀÔ´Ï´Ù.
»ç¿ëÀÚ °èÁ¤¿¡¼ ·çÆ®·Î °¡±â À§ÇØ su ¸í·ÉÀ» ÀÔ·ÂÇÕ´Ï´Ù.
su |
ÀÌÁ¦, geditÀ» »ç¿ëÇÏ¿© ÆÄÀÏÀ» ÆíÁýÇϱâ À§ÇØ gedit /etc/inittab ¸í·ÉÀ» ÀÔ·ÂÇÕ´Ï´Ù. /etc/inittab ÆÄÀÏÀÌ ¿¸± °ÍÀÔ´Ï´Ù. ù¹ø° ȸéÀ» º¸½Ã¸é ´ÙÀ½°ú °°Àº ºÎºÐÀÌ ³ªÅ¸³³´Ï´Ù:
# Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:3:initdefault: |
Äֿܼ¡¼ ±×·¡ÇÈ ·Î±×ÀÎÀ¸·Î º¯°æÇϽ÷Á¸é, id:3:initdefault: ÁÙ¿¡¼ ¼ýÀÚ¸¦ 3 ¿¡¼ 5·Î º¯°æÇÏ¼Å¾ß ÇÕ´Ï´Ù.
°æ°í | |
---|---|
¿ÀÁ÷ ±âº» ·±·¹º§ÀÇ ¼ýÀÚ¸¸ 3 ¿¡¼ 5·Î º¯°æÇϽʽÿÀ. |
¿©·¯ºÐÀÌ º¯°æÇϽŠÁÙÀº ´ÙÀ½°ú °°ÀÌ ³ªÅ¸³ª¾ß ÇÕ´Ï´Ù:
id:5:initdefault: |
º¯°æ »çÇ׿¡ ¸¸Á·ÇϽøé,
ÀÌÁ¦ ÄÄÇ»Å͸¦ ÀçºÎÆÃÇϽŠÈÄ ±×·¡ÇÈ È¸é¿¡¼ ·Î±×ÀÎ ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.