°Ô½Ã¹° 20°Ç
   
[SUSE] VNC-server ¼³Á¤
±Û¾´ÀÌ : theko ³¯Â¥ : 2011-10-18 (È­) 17:56 Á¶È¸ : 3729

1. vnc ¼³Á¤ ÆÄÀÏ : /etc/sysconfig/vncservers

´ÙÀ½¶óÀÎÀ» Ãß°¡ÇÕ´Ï´Ù.
VNCSERVERS="1:oracle"              ##oracle °èÁ¤ ¹× vncÆ÷Æ® 5901
VNCSERVERARGS[1]="-geometry 1024x768"      ## ÇØ»óµµ ¼³Á¤
 
2. ÇØ´ç ÆÄÀÏÀ» »ç¿ëÀÚÀÇ home µð·ºÅ丮ÀÇ .vnc µð·ºÅ丮¿¡ º¹»çÇÕ´Ï´Ù.
rootÀ¯Àú ±âÁØ
# cp /etc/X11/xinit/xinitrc  /root/.vnc/xstartup
@/root/.vnc ÇÏÀ§¿¡ 
passwd  root  ÆÄÀϱÇÇÑÀÌ µ¿ÀÏÇÏ°Ô µÇ¾îÀÖ¾î¾ßÇÔ

3. vncÆнº¿öµå ¼³Á¤
# vncpasswd
ÇØ´ç rootÀ¯Àú¿¡ ´ëÇÑ Æнº¿öµå ¼³Á¤
 
4. ¸ðµç ¼³Á¤ÀÌ ¿Ï·á µÇ¸é service vncserver restart
=======================================================
ÀϹÝÀ¯ÀúÀÇ °æ¿ì 2¹ø Ç׸ñÀÇ cp ºÎºÐÀ» ÇØ´ç À¯ÀúÀÇ home µð·ºÅ丮¿¡
.vnc. Æú´õ¿¡ º¹»ç¸¦ ÇÕ´Ï´Ù.
chown oracle.oinstall  //±ÇÇÑ ¼³Á¤
oracle µî ÀÏ¹Ý À¯ÀúÀÇ °æ¿ì 3¹ø Ç׸ñÀ» ÇØ´ç À¯Àú·Î switching ÈÄ ÇØ´ç ¸í·É ½ÇÇàÇÏ¿©
Æнº¿öµå ¼³Á¤À» ÇÕ´Ï´Ù.
 
 
¸ðµç ¼³Á¤ÀÌ ¿Ï·á µÇ¸é service vncserver restart
 
°¨»çÇÕ´Ï´Ù.

theko 2015-12-18 (±Ý) 17:21
 VNCSERVERS="1:root 2:theko"   // root is 5901   theko is 5902  
# VNCSERVERS="2:theko"

 VNCSERVERARGS[1]="-geometry 800x600 -nolisten tcp  -localhost"
##--> 127.0.0.1:5901
 VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp "

##--> 0.0.0.0:5902
theko 2015-12-18 (±Ý) 17:22
RHEL µµ µ¿ÀÏÇÔ.
À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com