#vi /etc/sysconfig/vncserver //編輯vncserver配置文件
VNCSERVERS=”1:root”
VNCSERVERARGS[1]=”-geometry 800×600 -0.0.0.0″
#vncpasswd //創(chuàng)建vnc口令
#vncserver (service vncserver start) //啟動(dòng)vncserver
#service iptables stop //關(guān)閉iptables防火墻
#vi .vnc/xstartup //編輯xstartup的腳本
#!/bin/sh
vncconfig -iconic &
# 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
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
twm &
在windowx xp 客戶(hù)端打開(kāi)vic viewer 連接輸入: Fedora ip add:1
其它:
#vi /etc/sysconfig/iptables //允許5901端口通過(guò)
-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5901 -j ACCEPT
#vi /etc/sysconfig/vncserver //允許連接兩個(gè)不同的用戶(hù),當(dāng)然同時(shí)需要iptables開(kāi)放5902端口
VNCSERVERS=”1:root 2:keith”
vncviewer 切換全屏模式--F8
標(biāo)簽:齊齊哈爾 阿壩 大興安嶺 六安 黔西 韶關(guān) 哈密 廣州
巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Fedora 9系統(tǒng)下創(chuàng)建和配置vncserver過(guò)程》,本文關(guān)鍵詞 Fedora,系統(tǒng),下創(chuàng),建和,配置,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。