RSS   



  可打印版本 | 推薦給朋友 | 訂閱主題 | 收藏主題 | 純文字版  


 


 
主題: [教學]架設Red Hat Linux的VNC Server   字型大小:||| 
moneyyea
銅驢友〔中級〕
等級: 9等級: 9等級: 9


 . 積分: 141
 . 文章: 108
 . 收花: 1332 支
 . 送花: 672 支
 . 比例: 0.5
 . 在線: 1920 小時
 . 瀏覽: 4332 頁
 . 註冊: 7114
 . 失蹤: 1933
#1 : 2007-2-18 07:02 AM     只看本作者 引言回覆

01.設定VNC Server
[root@mylinux ~]# vncserver

02.修改設定檔
[root@mylinux ~]# vi /root/.vnc/xstartup

#!/bin/sh

# Uncomment the following two lines for normal desktop:
umylinuxet SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &

[root@mylinux ~]# vi /etc/sysconfig/vncservers

# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the line below to start a VNC server on display :1
# as my 'myusername' (adjust this to your own).  You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted!  For a secure way of using VNC, see
# <URL:http://www.uk.research.att.com/vnc/sshvnc.html>.

VNCSERVERS="1:root"

03.設定密碼

[root@mylinux ~]# vncpasswd

04.啟動VNC Server

[root@mylinux ~]# service vncserver start

05.重開機之後,VNC Server依然啟動

[root@mylinux ~]# chkconfig vncserver on

[moneyyea 在  2007-2-18 07:04 AM 作了最後編輯]



[如果你喜歡本文章,就按本文章之鮮花~送花給作者吧,你的支持就是別人的動力來源]
本文連接  
檢閱個人資料  發私人訊息  Blog  快速回覆 新增/修改 爬文標記

   

快速回覆
表情符號

更多 Smilies

字型大小 : |||      [完成後可按 Ctrl+Enter 發佈]        

溫馨提示:本區開放遊客瀏覽。
選項:
關閉 URL 識別    關閉 表情符號    關閉 Discuz! 代碼    使用個人簽名    接收新回覆信件通知
發表時自動複製內容   [立即複製] (IE only)


 



所在時區為 GMT+8, 現在時間是 2024-5-22 04:16 AM
清除 Cookies - 連絡我們 - TWed2k © 2001-2046 - 純文字版 - 說明
Discuz! 0.1 | Processed in 0.019071 second(s), 6 queries , Qzip disabled