亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3066 | 回復(fù): 0
打印 上一主題 下一主題

fedora8的遠程桌面的配制 [復(fù)制鏈接]

論壇徽章:
1
15-16賽季CBA聯(lián)賽之北控
日期:2022-03-04 22:35:50
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-03-30 11:01 |只看該作者 |倒序瀏覽

 來源: www.linuxdiyf.com 作者:tJbwhy
剛裝的fedora8,因為不能在辦公桌旁放2臺計算機,所以我把一臺放到了機房,除了ssh之外,難道不可以想windows一樣控制著linux的桌面嗎?
看到fedora8本身就有“遠程桌面”的選項,我選擇了之后不知道該怎么用,在網(wǎng)絡(luò)上查找部分資料后發(fā)現(xiàn),vnc有forlinux版本的,我之前一直對vnc有個不太好的認識,認為他就是個后臺軟件、黑客軟件。
今天發(fā)現(xiàn)這個東西功能也蠻強大的。
下面是我配置vnc的過程:
1:安裝vnc
執(zhí)行命令 yum install vnc-server
安裝的過程中提示:
Importing GPG key 0x4F2A6FD2 "Fedora Project " from /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Is this ok [y/N]: y
Importing GPG key 0xDB42A60E "Red Hat, Inc " 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,修改成如下內(nèi)容:
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內(nèi)容:
[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
結(jié)束了。


本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u/31/showart_511777.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP