營運:CentOS 6.x 系列安裝 VNC + Firefox

來源:互聯網
上載者:User

標籤:

為什麼要在 Linux 跑 案頭 和 Firefox?見仁見智,總有人需要的。

 

 


說明:查看有沒有安裝VNC

命令:rpm -qa|grep tigervnc

返回:沒有返回說明未安裝VNC

 

說明:安裝VNC

命令:yum install tigervnc tigervnc-server -y

返回:

 

說明:安裝案頭

命令:yum groupinstall -y "Desktop" "X Window System"

 

說明:查看服務 NetworkManager 是否啟動,因為它會和 network 服務衝突

命令:chkconfig --list

 

說明:設定 NetworkManager 服務不開機啟動

命令:chkconfig NetworkManager off

 

說明:停止正在啟動並執行 NetworkManager 服務

命令:service NetworkManager stop

 

說明:設定VNC重啟啟動

命令:chkconfig vncserver on

 

說明:初次開機VNC,設定密碼

命令:vncserver

 

說明:編輯 xstartup 檔案,把最後的 twm & 刪掉,並加上gnome-session &

命令:vi /root/.vnc/xstartup(註:wq 退出並儲存)

 

說明:編輯 /etc/sysconfig/vncservers 檔案,新增內容

內容:

VNCSERVERS="1:root"

VNCSERVERARGS[2]="-geonetry 800x600"

命令:vi /etc/sysconfig/vncservers

 

說明:重啟VNC服務

命令:service vncserver restart

 

說明:按照firefox

命令:yum -y install firefox

 

說明:安裝firefox中文包

命令:yum -y groupinstall chinese-support

營運:CentOS 6.x 系列安裝 VNC + Firefox

相關文章

聯繫我們

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