Linux ¼¹ö Á¢¼ÓÀ» À§ÇÑ VNC Client ¾î¶² °ÍÀ» ¾²¼¼¿ä?
ȸ¿øK 2013-05 2013-05-05 18:22:18 Á¶È¸ 13098 Ãßõ 0
±×³ðÀÎÁö ¿¢½ºÀ©µµ¿îÁö...
±×·±½ÄÀ¸·Î ¼ÂÆÃÇÏ°í ºÙ¿©º¸½Ã¸é
À©µµ¿ì¿¡ Àͼ÷ÇÑ »ç¿ëÀڵ鿡°Ô ÆíÇÑ È¸éÀ¸·Î ³ª¿Ã²¨¿¡¿ä.
µµ½ºÃ¢ÀÌ ÆíÇϽôٸé ssh·Î ÇϽɵǰí...
vncµéÀº ¾î¶²³ðÀÌµç ´Ù ±×³ÑÀÌ ±×³ð ¾Æ´Ñ°¡ ½Í³×¿ä.
ÇÚÆùÀ¸·Î vnc¾ÛÀ» »ç¿ëÇصµ ±ò¸° È¸é ¹æ½Ä¿¡ µû¶ó ±×´ë·Î º¸¿©ÁÖ´Ï
Á¢¼Ó±â ¶§¹®¿¡ 2%ºÎÁ·Çö»óÀº »ç¶óÁöÁö ¾ÊÀ»±î¿ä?
Àú´Â ¿ÀÈ÷·Á sshÁ¢¼ÓÈÄ ÀÛ¾÷ÇÏ´Â°Ô ´õ Èûµé´øµ¥
ssh·Î ÀÛ¾÷ÇÏ´Ùº¸¸é
vnc´Â ¼º¿¡ ¾ÊÂ÷Áö ¾ÊÀ»±î¿ä?
VMÀ» ÇÏ·Á°í ÇÏ´Ù°¡ º¸´Ï ssh°¡ ºÒÆíÇؼ º¸Á¶ÀûÀ¸·Î ½áº¸·Á°í ÇÕ´Ï´Ù.
VNCSERVERS="2:root"
VNCSERVERARGS[2]="-geometry 1024x768"
2. /root/.vnc/xstartup ¿¡ ¾Æ·¡Ã³·³ º¯°æÇϽðí¿ä
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session & #set starting GNOME desktop
3. vncserver ¸¦ restart ÇϽðí Á¢¼ÓÇغ¸½Ã¸é
¾î¶² vnc ÅøÀ» ¾²½Ã´õ¶óµµ °°Àº ȸéÀÌ ³ª¿É´Ï´Ù.
±×·¸°Ô ¼³Á¤Çߴµ¥, KDE DesktopÀ̶ó°í ³ª¿À´õ¶ó±¸¿ä.
VNC ¼¹ö´Â Àú·¸°Ô ÇÑÁÙ¾¿ Ãß°¡ÇÏ¸é µÇ´Â°Ç°¡¿ä???
VNCSERVERS="3:user10"
VNCSERVERARGS[3]="-geometry 1024x768"
µû¶ó¼ ¹æȺ®¿¡¼ Ãß°¡·Î ¿¾î¾ß Çϴ°æ¿ì°¡ »ý±é´Ï´Ù.
vnc°¡ ¾Æ¸¶ 5901 Àΰ¡ ... ±â¾ïÀÌ °¡¹°°¡¹°Çѵ¥
¿©Æ° 1°³ ȸéÀ϶§´Â 5901
Çϳª¸¦ Ãß°¡Çϸé 5902
Ãß°¡Çϸé ÇÒ¼ö·Ï ´Ã¾î ³ª´Â°É·Î ¾Ë°í ÀÖ½À´Ï´Ù.
NX ¼¹ö¿Í NX Client¸¦ ¾²¶ó°í.
CentOS 6 ºÎÅÍ´Â VNCµµ Tiger·Î ¹Ù²î¾ú½À´Ï´Ù.
¸ðµç °ÍÀÌ ´Ù ÁÁÀºµ¥... ¹º°¡ ÀÌ»óÇÑ ´À³¦ÀÌ¶ó¼ ºÒÆíÇϳ׿ä.