【鼎革‧革鼎】︰ Raspbian Stretch 《六之 F.4 》

將要如何設定酪梨 guacamole 呢?這裡作者不過假借

[TUTORIAL] Jetty and Guacamole

VNC (Virtual Network Computing)

文本,略作補充耳。

【官方佈署文件】

The web application portion of Guacamole is packaged as a fully self-contained .war file. If you downloaded Guacamole from the main project web site, this file will be called guacamole.war. Deploying this involves copying the file into the directory your servlet container uses for .war files. In the case of Tomcat, this will be CATALINA_HOME/webapps/. The location of CATALINA_HOME will vary by how Tomcat was installed, but is commonly /var/lib/tomcat, /var/lib/tomcat7, or similar:

 

取得對應之 .war 封裝檔

wget https://sourceforge.net/projects/guacamole/files/current/binary/guacamole-0.9.13-incubating.war

 

將之拷貝至 jetty9 之 webapps 目錄。

sudo cp guacamole-0.9.13-incubating.war /usr/share/jetty9/webapps/

※ 參考

 

 

【官方組構文件】

After installing Guacamole, you need to configure users and connections before Guacamole will work. This chapter covers general configuration of Guacamole and the use of its default authentication method.

Guacamole’s default authentication method reads all users and connections from a single file called user-mapping.xml. This authentication method is intended to be:

  1. Sufficient for small deployments of Guacamole.
  2. A relatively-easy means of verifying that Guacamole has been properly set up.

Other, more complex authentication methods which use backend databases, LDAP, etc. are discussed in a separate, dedicated chapters.

Regardless of the authentication method you use, Guacamole’s configuration always consists of two main pieces: a directory referred to as GUACAMOLE_HOME, which is the primary search location for configuration files, and guacamole.properties, the main configuration file used by Guacamole and its extensions.

 

樹莓派 realvnc 伺服器簡易設定檔︰

建立 /usr/share/jetty9/.guacamole 目錄

 

創建 guacamole.properties 文字檔

 

創建 user-mapping.xml 文字檔

 

啟用 VNC 伺服器

 

打開 VNC 伺服器對話窗,選擇使用 VNC password ,此處作者並未顧慮安全將之任意設定為 raspberry 。

 

實測者應會發現 guacd 服務在重新開機後起不來也?

 

雖說可以 rc.local 拗救!

 

何不就嘗試利用 systemd-sysv 相容產生器呢?!

sudo systemctl enable guacd

 

畢竟 rc-local.service 也是這麼來的!?

 

無怪乎正常耶☆

 

 

至於怎樣玩轉酪梨,還請讀者自讀

【官方使用文件】

Guacamole provides access to much of the functionality of a desktop from within your web browser. Although most people use remote desktop tools only when absolutely necessary, we believe that Guacamole must be aimed at becoming a primary means of accessing desktops, and the interface is thus intended to be as seamless and unobtrusive as possible.

 

哩◎

 

 

 

 

 

 

 

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *