Citrix vpn client linux

Как установить Citrix клиент на Ubuntu 14.04.1 Desktop

Понадобилось мне уметь использовать в своей работе опубликованные приложения на системе нового образца, а именно релиза Ubuntu 14.04.1 Desktop amd64 , поэтому данная заметка будет своего рода напоминалка шагов, которые нужно сделать, чтобы использовать опубликованные приложения от Citrix. В работу данных шагов включена практическая часть , как установить клиент Citrix Receiver 13 для последующего использования приложений Windows. В роли таких приложений у меня на работе выступает возможность подключения клиентом , как версии 7 так и 8 к определенным базам. Также в ходе практической демонстрации как происходит подключение, я покажу пути решения проблем, с которыми я столкнулся.

Итак, сперва запрещу системе обновлять на более новые релизы :

$ sudo nano /etc/update-manager/release-upgrades

Обновляю систему до актуального состояния:

$ sudo apt-get update && sudo apt-get upgrade -y

Создам каталог, где буду располагаться скачанные deb файлы клиента Citrix:

Далее посредством браузера по ссылке (http://www.citrix.ru/downloads/citrix-receiver/linux/receiver-for-linux-131.html) скачиваю deb пакеты применительно к своей архитектуре amd64 в созданный каталог ica.

Далее перехожу к установке клиента:

$ sudo dpkg -i ica/icaclient_13.1.0.285639_amd64.deb

В процессе установки обнаружатся недостающие компоненты, для их установки следует запустить нижеследующую команду:

$ sudo apt-get –f install –y

Повторяю установку клиентской части Citrix и она завершается успешно, ошибок не было выявлено в процессе:

$ sudo dpkg -i ica/icaclient_13.1.0.285639_amd64.deb

Устанавливаю поддержку USB:

$ sudo dpkg -i ica/ctxusb_2.4.285639_amd64.deb

Selecting previously unselected package ctxusb.

(Reading database … 167659 files and directories currently installed.)

Preparing to unpack …/ctxusb_2.4.285639_amd64.deb …

Unpacking ctxusb (2.4.285639) …

Setting up ctxusb (2.4.285639) …

* Starting Citrix USB daemon [fail] – А почему статус ошибочный

Processing triggers for ureadahead (0.100.0-16) …

Начинаю смотреть логи, почему так происходит натыкаюсь на то что в системе не найден некоторый модул ь :

$ sudo tail -f /var/log/syslog | grep ctxusbd

Dec 11 15:16:41 srv-serv ctxusbd[8380]: libcap: libcap.so.1: cannot open shared object file: No such file or directory

Dec 11 15:20:39 srv-serv ctxusbd[8501]: libcap: libcap.so.1: cannot open shared object file: No such file or directory

Пока поправить, эту ошибку не знаю. Двигаюсь дальше, запускаю собственно сам клиент, действия как его вызвать смотрите ниже:

Т.к. дефолтный графический интерфейс Ubuntu 14.04.1 Desktop – это Unity, то чтобы вызвать приложение , нужно посредством системного меню, где имеют место установленные приложения вызвать Dash, которое находится в самом верхнем значке панели Unity и после в строке поиска набрать – «Citrix». По мере ввода будут отображаться приложения, имеющие полное соответствие с набранным.

Приложение у меня не запустилось и в логах, нет ни каких сообщений об этом. Даже по окончании этой заметки данное приложение у меня с использованием GUI интерфейса не запустилось, только консольное подключение работало и проблем не знало. Видимо это из-за стола с графическим интерфейсом Unity.

Читайте также:  Серверное программное обеспечение windows server

Заходим на Web— интерфейс сервера, где развернут Citrix:

Если не получиться вдруг зайти, то можно как вариант прописать соответствие имени хоста и IP адреса в файл /etc/hosts:

$ sudo nano /etc/hosts

Сохраняем внесенные изменения.

Далее открываем браузер и вводим в строку адреса следующий URL:
http://ekt-ts10.dsplit.local/Citrix/AccessPlatform — авторизуюсь

User name: alektest

И нажимаю Log In

Меня перекинет на страницу, где будут отображены все опубликованные и доступные данному пользователю приложения и скачиваем уже существующее приложение “S2013

, выделив его и сохранив (Save Target As) куда-либо удобнее, по умолчанию скачиваемое приложение именуется , как launch.ica

, а после сохранившийся файл переименовываем, как 1c.ica, хотя можно было здесь это и сразу в процессе скачивания.

$ mv launch.ica 1c.ica

Запускаю клиент Citrix из консоли с указанием на скачанное приложение :

в консоли вижу ошибки:

(wfica:2575): Gtk-WARNING **: Unable to locate theme engine in module_path: «murrine»,

$ sudo apt-get install gtk2-engines-murrine:i386 –y)

Пробую запустить скачанное приложение еще раз.

И окно аутентификации на сервере

, но обнаружил – не работает клавиатура, а через некоторое время вообще приложение зависло, мышкой не могу нажать на ОК, ОТМЕНА, Параметры.

И после соединение было сброшено

Заметил еще одно но, после запуска, файл 1c.ica удаляется, поэтому запрещю его удаление:

$ sudo chown ekzorchik:ekzorchik 1c.ica

$ sudo chattr +i 1c.ica

$ sudo apt-get install gtk2-engines

и клавиатура работает

Запускаю снова и опубликованное приложение запускается:

ввожу аутентификационные данные на подключение

Нажимаю ОК и попадаю в следующее окно уже авторизации в программе базы опубликованного приложения:

И нажимаю «ОК» и передо мной разворачивается приложение подключенное к определенной базе

Завершаю работу с программой

Файл – Выход — Да

и возвращаюсь в консоль, проверяю не удалился ли файл 1c.ica, нет не удалился.

Подправляю конфиг 1c.ica чтобы миновать окно аутентификации на сервере:

chattr: Operation not permitted while setting flags on 1c.ica

$ sudo chattr -i 1c.ica

Ниже пример моего конфигурционного файла на прозрачное подключение к опубликованному приложению . Пояснять в этой заметке значение каждого параметра не имеет смысла, есть документация.

Источник

Ubuntu Documentation

The Citrix ICA Client (Citrix Receiver) allows access to remote Windows sessions that run on a Citrix server.

These instructions are for current/recent Ubuntu/ICA versions. For historical reference, instructions for older Ubuntu/ICA versions are at CitrixICAClientHowToOlderVersions.

If you are considering deployment of the Receiver in your workplace (as opposed to installation on just your machine), have a look at the Citrix Receiver deployment how-to in the Ubuntu for the Enterprise wiki.

Citrix Receiver 13.1 on Ubuntu 14.04

1. (64-bit only) Alternative install procedure that can be added to a deployment bash script

2. (64-bit only) Enable i386 Multiarch

Even the Citrix Receiver for 64-bit systems has a lot of dependencies on packages from the i386 architecture. If you are using 64-bit Ubuntu and have not already configured i386 multiarch, you must configure it by running:

N.B. The download link currently directs you to receiver 13.2 rather than 13.1 and the 64-bit deb no longer has i386 architecture dependencies.

3. Download the Citrix Receiver for Linux .deb package

Go to https://www.citrix.com/downloads/citrix-receiver/legacy-receiver-for-linux/receiver-for-linux-13-2.html

  • Near the bottom of the page, select either «For 64-bit Systems» or «For 32-bit Systems» as appropriate, and goto the «Receiver for Linux» package.
  • Look for «File Type: .deb» under the Download buttons.
  • Click this .deb file, and have it open in Ubuntu Software Center for installation (so you can skip step 4), Or download the .deb file and install it as described in step 4..
  • Optionally download the «USB Support Package». This package provides support for passing USB devices from your local Ubuntu machine into the remote Windows session (if your Citrix server is configured to allow that).
  • Читайте также:  Itunes dark mode windows 10

    4. Install the downloaded package(s) and dependencies

    In case your Ubuntu Software Center didn’t install the Citrix receiver, so you had to download it, now install it as follows:

    5. Add more SSL certificates

    By default, Citrix Receiver only trusts a few root CA certificates, which causes connections to many Citrix servers to fail with an SSL error. The ‘ca-certificates’ package (already installed on most Ubuntu systems) provides additional CA certificates in /usr/share/ca-certificates/mozilla/ that can be conveniently added to Citrix Receiver to avoid these errors:

    6. Configure Citrix Receiver

    To map drives (to allow access to files on your local Ubuntu machine via a share drive in the remote Windows session), see the «File Access» tab.

    7. (64-bit only) Fix Firefox plugin installation

    Starting with Citrix Receiver 13.1, the 64-bit version of Citrix Receiver switched from a 32-bit plugin (using nspluginwrapper to allow it to run within a 64-bit browser) to a native 64-bit plugin. However, the install script still configures the plugin to run within nspluginwrapper, which doesn’t work with a 64-bit plugin. The above will reconfigure the plugin to run without nspluginwrapper.

    8. Configure Firefox

    In Firefox, go to Tools -> Add-ons -> Plugins, and make sure the «Citrix Receiver for Linux» plugin is set to «Always Activate».

    Starting in Firefox 32, plugins are set to «Ask to Activate» by default, but for some reason the activation prompt is never displayed for the Citrix Receiver plugin, so the plugin will not work unless it is set to «Always Activate».

    9. Configure Chrome/Chromium

    To use Citrix Receiver in Chrome and/or Chromium, run:

    Known Issues / Workarounds

    If you are running KDE 4.10 or later: In System Settings, make sure GTK is set to a theme other than Oxygen. The Oxygen theme seems to cause the Citrix Receiver to constantly crash when trying to launch fullscreen applications (such as Terminal Servers or VDI).

    Some people have experienced problems with Citrix Receiver 13.0 showing only random fragments of windows. It is not clear if this is a bug in the graphics library that Citrix has adopted with this version and/or its interaction with certain Citrix server configurations. If you experience this, you are likely to have better success with version 12.1, see CitrixICAClientHowToOlderVersions. The behavior of Citrix Receiver 13.1 for the affected people has not yet been determined.

    Sometimes the Citrix client will not go full-screen with Unity. The Unity launcher and status bar will still be visible, and the Citrix mouse will be in a slightly different position than the client mouse. This can be fixed enabling legacy fullscreen in compizconfig-settings-manager. It is in ‘advanced search’ then ‘Plugin: workarounds’, then second on the list.

  • You can exit from the FULL SCREEN mode (in Unity) by pressing Ctrl+F2 followed by Ctrl+Super+Arrow_Down.
  • You can prevent Citrix from starting FULL SCREEN by opening a terminal (Ctrl+Alt+T), gedit

    /.ICAClient/All_Regions.ini and setting DesiredHRES=1366 and DesiredVRES=768 for example.

    You can solve keyboard layout problems looking for your keyboard layout in http://support.citrix.com/proddocs/topic/receivers-java-101/java-parameters-keyboard-layouts.html and updating KeyboardLayout value in

    There is a bug in Citrix Receiver 13.1.0.285639, that the receiver can not be started from unity. The problem is a missing hash in a parameter, as a workaround it can be fixed by executing the follwing command. The problem and and solution are also described here: http://discussions.citrix.com/topic/358076-deb-package-uses-icaroot-instead-of-icaroot-spelling-error/#entry1844542

    CitrixICAClientHowTo (последним исправлял пользователь jajodo3 2015-11-22 02:31:25)

    The material on this wiki is available under a free license, see Copyright / License for details
    You can contribute to this wiki, see Wiki Guide for details

    Источник

    2 Ways to Install Citrix Receiver and Connect to Desktops from Ubuntu and Other Linux

    3 min

    This guide explains 2 ways to Install Citrix Receiver and Connect to Desktops from Ubuntu and Other Linux.

    Читайте также:  Windows paging file usage

    Many organizations use commercial Citrix technology to provide their employees with remote connections via virtual machines. Citrix uses its proprietory tech to provide connection services.

    To connect to a Citrix Virtual machine, you need Citrix client software to be installed. Citrix provides the client installer for Windows systems which you can just install and it will work.

    However, for Linux, the story is different. Because of various package dependencies, compatibility of upstream Kernel version – it is sometimes difficult to install Citrix Workspace App (formerly Citrix XenApp plugin).

    Here are two ways that you can install and connect to Citrix desktops. The first method requires the installation of packages and requires admin privileges. The second method is browser-based which requires Google Chome browser only (no admin privilege requires).

    Method 1: Install Citrix Receiver in Linux and Connect to Desktops

    Install Citrix Workspace App for Fedora, Red Hat, and Other .rpm based distributions

    Download the below .rpm package for 64-bit systems. Go to the below link. Click on RPM Packages, then Red Hat Full Package (self service support). Then click on Download file under “Citrix Workspace app for Linux (x86_64)”

    Open the .rpm package via Software or any package manager for installation. All the dependencies should already be present in your current system.

    Now, go to the Uses section below on how to use it.

    Install Citrix Workspace App for Ubuntu, Linux Mint, and Other Debian based distributions

    Download the below .deb package for 64-bit systems. Go to the below link. Click on Debian Packages, then Full Package (self service support). Then click on Download file under “Citrix Workspace app for Linux (x86_64)”

    Open the .deb package via Software or any package manager for installation. All the dependencies should already be present in your current system.

    Now, go to the Uses section below on how to use it.

    How to Use Citrix Workspace App

    After the successful installation, open any browser and visit to your organization’s login page. And try to open the virtual machines.

    The virtual machine .ica files should be downloaded. You can click to open it. It will open via Citrix Workspace App by default file associations.

    Now, your target desktop should be opening with native Citrix plugin.

    Method 2: Install and Connect to Citrix Desktop via Google Chrome Extension

    Go to the below page and click on the “Add to Chrome” for the Citrix Workspace App Chrome Extension.

    Remember, this extension is the official Citrix provided extension. But it will not work in any other Chromium-based browser e.g. Microsoft Edge, Chromium, Vivaldi, etc.

    So, you have to use Google Chrome only to make it work.

    How to use Citrix Workspace Chrome Extension

    After installation, click on Launch or visit chrome://apps from Google Chrome Browser.

    Click on the Citrix Workspace App.

    Now, type the URL of your Organization’s Citrix login. And you should be all set.

    Troubleshooting

    The keyboard binding should work when you logged in to the virtual machine. Sometimes, the ALT+TAB doesn’t work while you are inside the Citrix virtual machines with native windows. Instead, it switches the applications on the host systems.

    If this happens, change the ALT+TAB keyboard binding to something else e.e. ALT+

    in your host system temporarily.

    We bring the latest tech, software news and stuff that matters. Stay in touch via Telegram, Twitter, YouTube, and Facebook and never miss an update!

    Источник

  • Оцените статью