3
我需要從另一臺Ubuntu PC和Windows PC進行遠程連接到一臺Ubuntu PC(需要看UI)。我知道我們可以使用VNC來做到這一點。任何人都可以用這些步驟解釋我,或給出一個正確的鏈接,其中有指示。使用vnc連接ubuntu
我按照以下步驟操作: 在我需要遠程訪問的Ubuntu機器上安裝vnc服務器。 我跟着下面的鏈接
http://www.ubuntu-unleashed.com/2007/10/setup-vnc-server-for-ubuntu-gutsy.html
當我做了第4步中的說明:
x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800
我得到
20/12/2012 02:12:02 passing arg to libvncserver: -httpport
20/12/2012 02:12:02 passing arg to libvncserver: 5801
20/12/2012 02:12:02 -usepw: found /home/sjayara5/.vnc/passwd
20/12/2012 02:12:02 x11vnc version: 0.9.12 lastmod: 2010-09-09 pid: 4821
20/12/2012 02:12:02 XOpenDisplay("") failed.
20/12/2012 02:12:02 Trying again with XAUTHLOCALHOSTNAME=localhost ...
20/12/2012 02:12:02
20/12/2012 02:12:02 *** XOpenDisplay failed. No -display or DISPLAY.
20/12/2012 02:12:02 *** Trying ":0" in 4 seconds. Press Ctrl-C to abort.
20/12/2012 02:12:02 *** 1 2 3 4
20/12/2012 02:12:06 XOpenDisplay(":0") failed.
20/12/2012 02:12:06 Trying again with XAUTHLOCALHOSTNAME=localhost ...
20/12/2012 02:12:06 XOpenDisplay(":0") failed.
20/12/2012 02:12:06 Trying again with unset XAUTHLOCALHOSTNAME ...
20/12/2012 02:12:06
20/12/2012 02:12:06 ***************************************
20/12/2012 02:12:06 *** XOpenDisplay failed (:0)
*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure.
一些提示和指導原則:
謝謝