¸Õ×°µÄfedora8£¬ÒòΪ²»ÄÜÔڰ칫×ÀÅÔ·Å2̨¼ÆËã»ú£¬ËùÒÔÎÒ°Ñһ̨·Åµ½ÁË»ú·¿£¬³ýÁËsshÖ®Í⣬ÄѵÀ²»¿ÉÒÔÏëwindowsÒ»Ñù¿ØÖÆ×ÅlinuxµÄ×ÀÃæÂð£¿
¿´µ½fedora8±¾Éí¾ÍÓС°Ô¶³Ì×ÀÃæ¡±µÄÑ¡ÏÎÒÑ¡ÔñÁËÖ®ºó²»ÖªµÀ¸ÃÔõôÓã¬ÔÚÍøÂçÉϲéÕÒ²¿·Ö×ÊÁϺó·¢ÏÖ£¬vncÓÐforlinux°æ±¾µÄ£¬ÎÒ֮ǰһֱ¶ÔvncÓиö²»Ì«ºÃµÄÈÏʶ£¬ÈÏΪËû¾ÍÊǸöºǫ́Èí¼þ¡¢ºÚ¿ÍÈí¼þ¡£
½ñÌì·¢ÏÖÕâ¸ö¶«Î÷¹¦ÄÜÒ²ÂùÇ¿´óµÄ¡£
ÏÂÃæÊÇÎÒÅäÖÃvncµÄ¹ý³Ì£º
1£º°²×°vnc
Ö´ÐÐÃüÁî yum install vnc-server
°²×°µÄ¹ý³ÌÖÐÌáʾ£º
Importing GPG key 0x4F2A6FD2 "Fedora Project <fedora@redhat.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc <security@redhat.com>" from /etc/pki/rpm-gpg/RPM-GPG-KEY
Is this ok [y/N]: y
ÎÒÈ«²¿Ñ¡ÔñÁËy¡£
2£ºÆô¶¯vncserver£º
[root@localhost ~]# vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth:  creating new authority file /root/.Xauthority
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
3£º±à¼xstartup£¬Ð޸ijÉÈçÏÂÄÚÈÝ£º
vi /root/.vnc/xstartup 
[root@localhost ~]# vi /root/.vnc/xstartup 
# 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" &
#twm &
ÅäÖÆiptables£º
[root@localhost ~]# iptables -I INPUT 1 -p TCP --dport 5901 -j ACCEPT
[root@localhost ~]# iptables -I INPUT 1 -p TCP --dport 5801 -j ACCEPT
²é¿´iptablesÄÚÈÝ£º
[root@localhost ~]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:5801 
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:5901 
²»ÒªÍü¼Ç±£´æ
 service iptables save
½áÊøÁË¡£
                  	
				

marco.chan ÓÚ 2007-11-14 13:10:31·¢±í:
[code]°²×°µÄ¹ý³ÌÖÐÌáʾ£º" from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
" from /etc/pki/rpm-gpg/RPM-GPG-KEY
  
Importing GPG key 0x4F2A6FD2 "Fedora Project
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc
Is this ok [y/N]: y[/code]Õâ¶Î´úÂëÖ»ÊÇ˵Ã÷ÄãµÄyum֮ǰûÓе¼Èë¶ÔÓ¦µÄKEYÖµ£¬²¢²»ÊÇËùÓÐÈ˵ĵçÄÔ¶¼»á³öÏÖÕâ¸öµ¼ÈëµÄÈ·È϶¯×÷¡£
½¨ÒéÂ¥Ö÷°ÑÕâ¶Î´úÂë´ÓÔÎÄɾ³ý£¬²»È»ÓпÉÄÜ»áÎ󵼺óÃæ¿´ÌùµÄÅóÓÑ£¬»¹ÒÔΪÉÙÁËÕâÒ»²½ÖèÄØ¡£
¸úÎÒÏà·´£¬ÎÒÒ»°ãÓÃtsclientºÍvncviewÁ¬½Óµ½windowsÉÏÈ¥¡£¡£¡£
[ ±¾Ìû×îºóÓÉ marco.chan ÓÚ 2007-11-14 13:26 ±à¼ ]