Wie kann man noVNC mit TightVNC auf Amazon EC2 einrichten?

1073
Ankit Jain

Ich habe TightVNC auf einem Amazon EC2 Windows Server 2008 installiert.

Ich kann VNC mit dem TightVNC-Viewer ordnungsgemäß verwenden. Nun möchte ich noVNC darauf einrichten. Wie kann ich das machen?

0
Sie sollten einige Forschungsanstrengungen zeigen. Was hast du bisher versucht? Kamil Maciorowski vor 7 Jahren 0

2 Antworten auf die Frage

0
Drey

AFAIK according to readme of websockify project from this github page you should download websockify zip-archive, unzip it and run executable wrapper named "run" from the unzipped directory like this: ./run 5901 --wrap-mode=ignore -- vncserver -geometry 1024x768 :1 And after this on the client machine you should use noVNC client from noVNC project on the same github page.

0
Samuel M

Die npm-Version von websockify funktioniert hervorragend unter Windows. Folge diesen Schritten:

  1. Installieren Sie NodeJS (der globale Standardinstallationspfad lautet:% AppData% \ npm,% AppData% \ npm-cache)

  2. Installieren Sie die erforderlichen Komponenten, und führen Sie Folgendes aus:

    npm install -g express npm install -g optimist npm install -g richtliniendatei npm install -g ws npm install -g http-server npm install -g mimetypen npm install -g pkg

  3. Erstellen Sie unter "% AppData% \ npm \ node_modules" einen Ordner mit dem Namen "websockify" und kopieren Sie den Inhalt des Ordners "websockify \ other \ js".

  4. Führen Sie (Dokumentation der Argumente -> https://www.npmjs.com/package/pkg ) aus: pkg "% AppData% \ npm \ node_modules \ websockify \ websockify.js" --targets "latest-win-x86, latest- win-x64 "--out-path" Ihr Ausgabeordner "

Dank an gdan101: https://github.com/novnc/websockify/issues/67#issuecomment-354792644