Ubuntu 12.04 Unity案頭環境VNC配置手記

來源:互聯網
上載者:User

注意,本說明只適用於Ubuntu 12.04 unity 案頭版本,其他版本請酌情參考即可。

安裝vnc:
sudo apt-get install vnc4server

運行服務端:
安裝好後直接運行 vncserver 即可,更多參數可以參考man vncserver。首次運行要求設定密碼,組建組態檔案在~/.vnc目錄下,無限root許可權運行。

在另外一台電腦通過遠程vnc可以連結到案頭:
例如:vncviewer 1.2.3.4:1 串連到遠端案頭

配置問題:
預設設定檔~/.vnc/xstartup如下:


#!/bin/sh

# 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 &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

採用預設配置可能存在的問題:
1. 採用預設配置,你登陸到vnc案頭後,只能看到案頭背景和一個終端,其他什麼也沒有,如。

2. 登陸時出現 Counld not acquire name on session bus 等錯誤提示,如。

 

接下來請看第2頁精彩內容:

VNC的安裝配置

CentOS 6.3安裝和配置VNC

Linux下強制不檢測依賴安裝VNC

CentOS6 VNC服務安裝配置

VNC遠端控制安裝和設定

Windows遠端桌面訪問Ubuntu 12.04 之安裝VNC

  • 1
  • 2
  • 下一頁

聯繫我們

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