CentOS release 6.4 (Final) 安裝svn

來源:互聯網
上載者:User

標籤:centos release 6.4 (final) 安裝svn

一.安裝

[[email protected] ~]# yum install tigervnc-server

[[email protected] ~]# yum install -y tigervnc*

二.設定密碼

[[email protected] ~]# vncserver 


You will require a password to access your desktops.


Password:

Verify:

xauth:  creating new authority file /root/.Xauthority


New ‘demo:1 (root)‘ desktop is demo:1


Creating default startup script /root/.vnc/xstartup

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/demo:1.log


三.編輯設定檔

[[email protected] ~]# vim ~/.vnc/xstartup

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4D/E5/wKioL1RcOZvT6gckAAHmTc6AE6A174.jpg" title="1.png" alt="wKioL1RcOZvT6gckAAHmTc6AE6A174.jpg" />

[[email protected] ~]# vim /etc/sysconfig/vncservers

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/4D/E6/wKiom1RcOUTQYF_QAAFv6wCWuHY259.jpg" title="2.png" alt="wKiom1RcOUTQYF_QAAFv6wCWuHY259.jpg" />

四.啟動

[[email protected] ~]# service vncserver restart

關閉 VNC 伺服器:1:root                                    [確定]

正在啟動 VNC 伺服器:1:root xauth: (stdin):1:  bad display name "demo:1" in "add" command


New ‘demo:1 (root)‘ desktop is demo:1


Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/demo:1.log


                                                           [確定]

串連我的伺服器

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4D/E6/wKiom1RcO8Kw5p3-AACTFG-dF9k700.jpg" title="3.png" alt="wKiom1RcO8Kw5p3-AACTFG-dF9k700.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/4D/E5/wKioL1RcPGaDp6Z5AAB5ZpqtlWI895.jpg" title="4.png" alt="wKioL1RcPGaDp6Z5AAB5ZpqtlWI895.jpg" />

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/4D/E5/wKioL1RcPHHxbdm0AAMmK3ix-4s350.jpg" title="5.png" alt="wKioL1RcPHHxbdm0AAMmK3ix-4s350.jpg" />

安裝配置VNC過程中我遇到了問題如下:

VNC啟動時報“A VNC server is already running as :1”,是什麼問題?
       答:說明已經有使用者啟動了vnc服務,你可以ps aux|grep vnc查看是否有vnc的進程,如果有表示有人正在:1案頭上啟用來vnc服務,如果沒有,說明上一次啟用到vnc服務沒有正常退出,可以刪除/tmp/.X11-unix下的X1,並重啟VNC服務。
    在Linux伺服器上啟動VNC服務正常,但是用戶端無法串連報10061逾時是什麼問題?
       答:應該是Linux伺服器防火牆的設定問題,請檢查防火牆的設定規則。

引用在Linux系統中安裝和使用VNC http://7056824.blog.51cto.com/69854/132836

本文出自 “8055082” 部落格,轉載請與作者聯絡!

CentOS release 6.4 (Final) 安裝svn

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.