linux vncserver配置,linuxvncserver

來源:互聯網
上載者:User

linux vncserver配置,linuxvncserver

需要使用Linux的遠端桌面服務,xmanager之前用過,感覺一般,這次嘗試下vnc

我的作業系統是centos7

一服務端安裝VNCServer

#yum -y install vnc *vnc-server*

設定密碼

# vncserver

You will require a password to access your desktops.

Password: 123456            #輸入vnc 串連密碼

Verify: 123456                 #確認vnc密碼

xauth: creating new authority file /root/.Xauthority

New ‘localhost.localdomain:1 (root)’ desktop is localhost.localdomain:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log

啟動服務

啟動一個視窗,如1號視窗

# vncserver :1

停止服務

[root@iZ23zjkwlj8Z ~]# vncserver -kill :1
Killing Xvnc process ID 1661

安裝GNOME案頭

裝完後記得重啟下vncserver

#yum groupinstall "GNOME Desktop" "Graphical Administration Tools"

二用戶端

我是Windows,用的用戶端http://www.realvnc.com/,下載對應平台的VNC-Viewer

輸入IP:視窗號,ok登入成功

網上說的修改 vi /root/.vnc/xstartup才能啟動gnome案頭,我沒有遇到過這種情況

我裝完gnome,重啟vncserver即可使用了。

 

 

 

聯繫我們

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