CentOS 6.3安裝和配置VNC

來源:互聯網
上載者:User

CentOS 6.3安裝和配置VNC    對於用慣了WIN系統的朋友來說,沒有圖形化操作介面的Linux用起來實在太難受了。實際上,Linux也是有圖形化操作介面的,這就是VNC。接下來羅伊將告訴大家如何 VNC圖形化操作介面。1,安裝GNOME案頭環境[root@tanvps ~]# yum -y groupinstall “GNOME Desktop Environment”2, 安裝KDE案頭環境[root@tanvps ~]# yum groupinstall “X Window System” “KDE (K Desktop Environment)”3,安裝VNC伺服器[root@tanvps ~]# yum -y install vnc-serverLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirror-fpt-telecom.fpt.net* extras: mirror-fpt-telecom.fpt.net* updates: mirror-fpt-telecom.fpt.netSetting up Install ProcessResolving Dependencies–> Running transaction check—> Package tigervnc-server.i686 0:1.0.90-0.17.20110314svn4359.el6 will be installed–> Finished Dependency ResolutionDependencies Resolved================================================== ==============================Package Arch Version RepositorySize================================================== ==============================Installing:tigervnc-server i686 1.0.90-0.17.20110314svn4359.el6 base 1.1 MTransaction Summary================================================== ==============================Install 1 Package(s)Total download size: 1.1 MInstalled size: 2.9 MDownloading Packages:tigervnc-server-1.0.90-0.17.20110314svn4359.el6.i686.rpm | 1.1 MB 00:02warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6Importing GPG key 0xC105B9DE:Userid : CentOS-6 Key (CentOS 6 Official Signing Key)Installed:tigervnc-server.i686 0:1.0.90-0.17.20110314svn4359.el6Complete![root@tanvps ~]#4,配置VNC[root@tanvps ~]# su -jackiebui[jackiebui@tanvps ~]# vncpasswdPassword:******verify:******[jackiebui@tanvps ~]# ls .vnc/5,編輯VNC設定檔[root@tanvps ~]# vi /etc/sysconfig/vncservers# The VNCSERVERS variable is a list of display:user pairs.## Uncomment the lines below to start a VNC server on display :2# 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 this URL:# http://kbase.redhat.com/faq/docs/DOC-7028# Use “-nolisten tcp” to prevent X connections to your VNC server via TCP.# Use “-localhost” to prevent remote VNC clients connecting except when# doing so through a secure tunnel. See the “-via” option in the# `man vncviewer’ manual page.VNCSERVERS=”1:jackiebui” //Uncomment 2 last lines, and edit your VNC userVNCSERVERARGS[2]=”-geometry 800×600 -nolisten tcp -localhost” // Save and exit啟動VNC[root@tanvps ~]# vncserver[root@tanvps ~]# chkconfig vncserver on //設定為開機啟動

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.