ÈçºÎÓÃVNCÔ¶³Ì¹ÜÀíLinux×ÀÃæ
²½Ö裺£¨°²×°Ä¿Â¼µÄREADMEÓÐ˵Ã÷£©
¡òΪÁË·½±ã˵Ã÷£¬¶¨ÏÂÈçϵĻúÆ÷ºÍIP£º
¿Í»§¶Ë£º192.168.228.100
·þÎñ¶Ë£º192.168.228.153
1¡£°²×°VNC·þÎñÆ÷£º
ÏÈ°Ñvnc-4_1_1-x86_linux.tar.gz·Åµ½ÐèÒªÔ¶³Ì¿ØÖƵĻúÆ÷192.168.228.153ÉÏ£¬È»ºó½âѹ
#tar zxvf vnc-4_1_3-x86_linux.tar.gz
#cd vnc-4_1_3-x86_linux
#more README °´ËµÃ÷°²×°¼´¿É£»¾ÍÊÇÏÂÃæµÄÕâЩ²½Öè¡£
//°Ñ¸÷¸öÃüÁ±´µ½ÏµÍ³»·¾³Â·¾¶Àï
#./vncinstall /usr/local/bin
#./vncinstall /usr/local/bin /usr/local/man
#mkdir -p /usr/local/vnc/classes
#cp java/* /usr/local/vnc/classes
2 °²×°³É¹¦ºó£¬½øÐÐÅäÖã¬ÔËÐУº
#vncpasswd
ÊäÈëÁ½´ÎÔ¶³Ì¿ØÖƵÄÃÜÂë¡£
ÉÏÃæÃüÁî×Ô¶¯½¨Á¢/username/.vnc/passwdÎļþ
²¹³ä˵Ã÷£º3.3°æµÄvnc£¬²»»á×Ô¶¯µÄ½¨Á¢/username/.vnc/passwdÎļþ£¬ÐèÒªÏÈÊÖ¹¤½¨Á¢£¬ÔÙÔËÐÐvncpasswd
3.´´½¨/usr/share/X11ÔÚ/usr/X11R6/libĿ¼µÄÁ¬½Ó£¨*×¢1£©¡£
*×¢1£ºvncserverĬÈÏÑ°ÕÒµÄXϵͳµÄ×ÖÌå·¾¶ÔÚ/usr/X11R6/lib/X11/Ï£¬µ«ubuntuÈ´ÔÚ/usr
/share/X11ºÍ/usr /share/fontsÏ¡£Òò´Ë²ÅÐèÒªµÚ3²½µÄ²Ù×÷£¬½¨Á¢Á¬½Ó£¬ÒÔ±ãvncserverÕÒµ½×ÖÌå¡£·ñÔòvncserver½«²»ÄÜÕý³£ÔËÐУ¬²¢
ÔÚlogÎļþÖмǼÒÔÏÂÄÚÈÝ£º
4ÔËÐУº
#vncserver
»áÏÔʾ£º
New linux.com:1 (root) desktop is South.redflag-linux.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/South.redflag-linux.com:1.log
˵Ã÷£¬ÒѾÕýÈ·ÔËÐÐÁË¡£
4 °´ÉÏÃæµÄ²½ÖèÔÙÔÚ192.168.228.100 µÄlinuxÉÏ°²×°Ò»´Î£¬È»ºóʹÓÃÃüÁîÐÐÊäÈ룺vncviewer 192.168.228.153:1
ÊäÈëÕýÈ·µÄvncÃÜÂëºó£¬¾Í¿ÉÒÔ½øÈëĬÈϵÄtwm½çÃæ¡£
5¡¢°²×°Windows°æµÄvnc
Windows°æµÄvnc¾ÍÊDZê×¼µÄÓ¦ÓóÌÐò£¬Í¨¹ý“ÏÂÒ»²½”µÄ·½Ê½°²×°Íê±Ïºó£¬¿ÉÒÔÔÚ×ÀÃæÕÒµ½Æô¶¯µÄvncviewer³ÌÐò£¬Ë«»÷´ò¿ª£¬ÊäÈëÔ¶³Ì»úÆ÷µÄIP£¬È磺
192.168.228.153:1
ÔÙÊäÈëÕýÈ·µÄvncÃÜÂ룬¼´¿É¡£
5 ½øÒ»²½µÄÅäÖÃ
1£©vncĬÈÏÆô¶¯µÄÊÇtwm½çÃ棬Ȼ¶øÒ»°ãÎÒÃÇʹÓõÄÓ¦¸ÃÊÇkde½çÃ棬¿ÉÒÔͨ¹ýÐÞ¸Ä/username/.vnc/xstartupÕâ¸öÎļþ£¬ÔÚÔÀ´µÄtwm &ÐÐÇ°Ãæ¼ÓÉÏ#£¬×¢Ê͵ô£»
È»ºóÔÙ×îºóÌí¼Ó£º
gnome-session& or kde&
±£´æºó£¬ÖØÆôvncserver¡£
Çë×¢Òâ,¸ÄÍêºó»¹Òª°ÑÔÀ´µÄ¿ªµÄ½ø³Ìkillµô,È»ºóÔÙÁ¬.
±ÈÈçÏÈ¿ªÁËÒ»¸ösession, vncserver :1,°Ñ×îºóÒ»ÐÐ twm&am
Ïà¹ØÎĵµ£º
Linux´ÅÅÌ´æ´¢Çø¹ÜÀíËãµÄÉÏÒ»¸ö¼¼ÇÉ£¬ºÜ¶àÅóÓÑÔÚÕâÉÏÃæ³£³£ÎÊÎÒ£¬½ñÌìÎҾͰÑÕâ·½ÃæµÄ¶«Î÷»ã×Üһϣ¬´ÓLinuxÌØÓеĽ»»»·ÖÇøµÄÔÀí¿ªÊ¼½éÉÜLinux´ÅÅÌ´æ´¢Çø¹ÜÀíµÄÔÀí¼°¼¼ÇÉ¡£
Linux´ÅÅÌ´æ´¢Çø¹ÜÀíÔÀíƪ
1. ½»»»¿Õ¼äÊÇʲô
Linux ÖÐµÄ ½»»»¿Õ¼ä£¨Swap space£© ÔÚÎïÀíÄڴ棨RAM£©±»³äÂúʱ±»Ê¹Óá£Èç¹ûϵͳÐèÒª¸ü¶àµÄÄÚ´æ×Ê ......
µ¼¶Á£º
¡¡¡¡1£®Socket¼ò½é
¡¡¡¡SocketÊÇTCP/IPÍøÂçµÄAPI£¬¿ÉÒÔÓÃËüÀ´¿ª·¢ÍøÂçÓ¦ÓóÌÐò£¬SocketÊý¾Ý´«ÊäÊÇÒ»ÖÖÌØÊâµÄI/O£¬SocketÒ²ÊÇÒ»ÖÖÎļþÃèÊö·û
¡¡¡¡2£®SocketµÄ½¨Á¢
¡¡¡¡int socket(int domain£¬ int type£¬ int protocol)
¡¡¡¡º¯Êý·µ»Ø£ºÒ»¸öÕûÐ͵ÄSocketÃèÊö·û£¬¿ÉÒÔÔÚºóÃæµ÷ÓÃËü¡£
¡¡¡¡²ÎÊý˵Ã÷£º
¡¡¡ ......
¼Ç“Linux³ÌÐòÉè¼ÆÈռǔ
µ±×Ô¼ºÎÞ·¨È¥Íê³É×Ô¼ºÏëÏñµÄÊÂÇéʱ£¬ÎҾͻá²ÉÈ¡´ëÊ©£¬Ö»ÒòΪÄÇÊÇÏëÏñÖ®ÖеÄÊÂÇé¡£
——Ï׸øΪδÀ´·Ü¶·µÄÄãÎÒËû£¨Ëý£©
×î½üLinuxºÜ»ð£¬ºÜ»ðµÄµØ·½×Ü»áÓкܶàÈË¡£ÎÒÒ²Ó¿ÈëÆäÖУ¬³ÉΪ´óº£ÖеÄÒ»·Ý×Ó¡£
²»Öª·½ÏòµÄÎÒ£¬¶«´³´³£¬Î÷ÅöÅö¡£ËäÓд´ÉË£¬¶àµÄ ......
ÕâÀïÖ¸Äں˵İ汾ºÅµÄÃüÁî»úÖÆ
LinuxÄں˰汾ÓÐÁ½ÖÖ£ºÎȶ¨°æºÍ¿ª·¢°æ£¬Îȶ¨µÄÄں˾ßÓй¤Òµ¼¶µÄÇ¿¶È£¬¿ÉÒԹ㷺µØÓ¦ÓúͲ¿Êð£¬ÐµÄÎȶ¨ÄÚºËÏà¶ÔÓڽϾɵÄÖ»ÊÇÐÞÕýһЩbug»ò¼ÓÈëһЩеÄÇý¶¯³ÌÐò£¬¶ø¿ª·¢°æÄÚºËÓÉÓÚÒªÊÔÑé¸÷ÖÖ½â¾ö·½°¸£¬ËùÒԱ仯ºÜ¿ì¡£
LinuxÄں˵ÄÃüÁî»úÖÆ£º
num.num.num
ÆäÖеÚÒ»¸öÊý×ÖÊÇÖ÷°æ±¾ºÅ£¬µÚ¶þ ......