Ubuntu 13.10にCitrix Receiver for Linux 13.0をインストール
Ubuntu 13.10にCitrix Receiver for Linuxをインストールしようとしてだいぶハマったのでメモ。
インストールした環境はUbuntu 13.10 日本語 Remixの64bit版。
インストールするのはCitrix Receiver for Linux 13.0。何はともあれ、こちらのダウンロードページの「For 64-bit Systems」セクションの、「Receiver for Linux」、「File Type: .deb」となっているものをダウンロードする。
「Download」ボタンを押すとポップアップ画面が表示されて、ダウンロードのために便利なブラウザプラグインのようなものをまずインストールしろと奨められるけれど、これは辞退。ポップアップ下部にある「manually」云々のリンクをクリックして直接ダウンロードする。
取得したdebを使ってふつうにインストールしようとすると依存性解決ができずエラーとなるので、こちらの公式トラブルシューティングページを参考にする。
1. Install the dependencies libmotif4:i386 nspluginwrapper lib32z1 libc6-i386 by executing the following command:
(次のコマンドを実行して依存パッケージlibmotif4:i386、nspluginwrapper、lib32z1、libc6-i386をインストールする。…というのだがこれだけでは不十分だった。)
sudo apt-get install libmotif4:i386 nspluginwrapper lib32z1 libc6-i386
(実際には次のコマンドを実行する必要があった: sudo apt-get install libmrm4:i386 libuil4:i386 libxft2:i386 libxmu6:i386 libxm4:i386 libmotif4:i386 nspluginwrapper lib32z1 libc6-i386)2. Get the official Citrix Receiver 13.0 .deb from: https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-130.html
(右記のURLから公式のCitrix Receiver 13.0を取得する:https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-130.html)Note: Download from "For 64-bit Systems" section. The download popup may not work in Chrome, use Firefox.
(注意:「For 64-bit Systems」というセクションからダウンロードする。Chromeではダウンロード・ポップアップ画面がうまく動かない可能性がある。Firefoxを使うこと。)3. Fix the broken .deb package:
(壊れた.debパッケージを手直しする。)
The .deb package is broken. You can fix it using the following commands:
(ダウンロードした.debパッケージは壊れている。次の一連のコマンドを実行してこれを手直しする必要がある:)
cd ~/Downloads
mkdir ica_temp
dpkg-deb -x icaclient_13.0.0.256735_amd64.deb ica_temp
dpkg-deb --control icaclient_13.0.0.256735_amd64.deb ica_temp/DEBIAN
sudo vi ica_temp/DEBIAN/control(ここでVimが起動するので…)
Change the line that starts with "Depends: ..." to:
("Depends: ..."の行を次のように修正する:)
Depends: libc6-i386 (>= 2.7-1), lib32z1, nspluginwrapperNow rebuild the package: dpkg -b ica_temp icaclient-modified.deb
(最後に、右記コマンドを実行してパッケージをリビルドする: dpkg -b ica_temp icaclient-modified.deb)4. Install the fixed package:
(手直ししたパッケージを次のコマンドでインストールする:)
sudo dpkg -i icaclient-modified.debThis installation may throw the following error:
(インストール中に次のようなエラーが発生するかもしれない:)
dpkg: error processing icaclient (--install):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing icaclientThis can be resolved by changing line 2648 in /var/lib/dpkg/info/icaclient.postinst from echo $Arch|grep "i[0-9]86" >/dev/null to echo $Arch|grep -E "i[0-9]86|x86_64" >/dev/null.
(このエラーは…云々かんぬん。私の環境では発生しなかったので以下略。)Then restart the post-install sudo dpkg --configure icaclient.
5. Add more SSL certificates.
(SSL証明書を追加する…云々。私の環境では発生しなかったのでここも省略。)
Some sites can give an SSL error. Firefox has many more certificates than Citrix, so add them.
For example, sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/
以上で、インストールは完了し「Unity Dash」(コンピューターとオンラインリソースを検索)にもアイコンが登録されるがこいつはクリックしても何も起こらない。なぜならアイコンが指し示すパスには実行ファイルが存在しないから。
よってスタンドアローンのレシーバーは使用できないわけだけど、さいわいなことに(?)ブラウザから起動する「Webインターフェース」とか何とかいうタイプのクライアントは起動可能な状態になっている。WindowsやMacなどでアクセスするのと同じURLにアクセスしてログオンし、遷移先画面で「デスクトップ」等のアイコンをクリックすれば、リモートデスクトップの画面が起動する。