X2go client для windows

doc:installation:x2goclient

Table of Contents

Installing the Qt-based X2Go Client

MS Windows

Quick

Detailed

Download latest x2goclient for Windows and install. Administrator rights required for a normal install.

Older versions are still available.

Versions prior to 3.99.0.2 may have problems connecting to x2goserver if an antivirus product is installed on the client (even if it is disabled/inactive). If you cannot use 3.99.0.2 or later, try using version 3.01-13.

The Windows installer is based on Nullsoft and thus can be called with “/S” (case-sensitive) to perform a silent installation.

To install X2Go Client without admin rights (and without a start menu entry or an entry in “add/remove programs”):

  1. Open the X2Go Client setup.exe in an archive manager such as 7-zip.

  2. Extract all the contents to a new folder of your choosing. Let’s assume this folder is called “x2goclient”.

  3. Move the “pulse” and “VcXsrv” folders from under x2goclient\$_OUTDIR\ to directly under x2goclient\ .

  4. Delete the x2goclient\$PLUGINSDIR\ folder and the x2goclient\$_OUTDIR\ folder.

  5. Once finished, your main folder should have dozens of files directly in it, the “pulse” subfolder, and the “VcXsrv” subfolder.

OS X

Xquartz (required by X2Go Client)

The X2Go OS X client uses the OS X X11 server which can be obtained from here.

  • The X11 server must be configured to accept remote sessions in its preferences.

  • One must also enable a root screen in X11 preferences if one wants truly full screen view in X2Go.

  • After installation of XQuartz, the user has to log off and log on again.

  • Read further hints here…

To make clipboard copy and paste — ⌘+V work normally use this one command:

echo "*VT100.translations: #override Meta <KeyPress> V: insert-selection(PRIMARY, CUT_BUFFER0) \n" > ~/.Xdefaults 

X2Go Client

Download the appropriate disk image from Download X2Go for OS X™.

If there are multiple options, choose the one closest to your current operating system’s version number. Do not try to use a build that is targeted at a higher OS X version number then you currently have.

Afterwards, open the disk image and “install” x2goclient.app as you would any other App Bundle by dragging it into /Applications/.

System Preferences Config

To use print, local media sharing, and sound, one must also enable Remote Login in the System Preferences.

Ubuntu / Debian

Quick

X2Go Client is part of Ubuntu 12.04 & later, as well as Debian Wheezy (7.0) & later. Install it using the software center or by following command:

apt-get install x2goclient

Detailed

The x2goclient package will install x2goclient on your GNU/Linux system and will make sure, that every needed package will be installed as dependency.

aptitude install x2goclient

You can now start X2Go Client by typing x2goclient at the command-line or you’ll find it inside the “Internet” section of your menu inside your graphical desktop environment.

If your version does not include X2Go or you want to try that latest builds (it always takes some time until a new version arrives in the official repositories) you can add our repositories:

Raspbian

Quick

X2Go Client is part of Raspbian Wheezy (7.0) & later. Install it using the software center or by following command:

apt-get install x2goclient

Detailed

The x2goclient package will install x2goclient on your GNU/Linux system and will make sure, that every needed package will be installed as dependency.

aptitude install x2goclient

You can now start X2Go Client by typing x2goclient at the command-line or you’ll find it inside the “Internet” section of your menu inside your graphical desktop environment.

If your version does not include X2Go or you want to try that latest builds (it always takes some time until a new version arrives in the official repositories) you can add our repositories:

Fedora

X2Go Client is part of Fedora 19 and later. Install it using the
software installer or the following command:

yum install x2goclient

Redhat

Slackware

FreeBSD

GNU/Linux with installation from source tarball

The sources of this X2Go component are available as source tarballs.

doc/installation/x2goclient.txt

· Last modified: 2023/12/19 23:59 by

gratuxri

Привет! На связи Александр Бархатов — DevOps-инженер в крупнейшем продуктовом холдинге. Сегодня без удаленного доступа к компьютерам и серверам сложно представить полноценную работу как технических специалистов, так и обычных пользователей. Для организации удаленного доступа используют специальный класс программного обеспечения. К таким программам относят, например, TeamViewer, AmmyyAdmin, AnyDesk. Однако порой бывает довольно трудно найти достойную альтернативу для ОС семейства Linux. В связи с этим мы протестировали и нашли решение для пользователей Linux-систем — программу под названием X2Go.

X2Go использует протокол NX technology (более известный под именами NX или NoMachine) и позволяет организовать удаленный доступ к рабочему столу. Среди достоинств X2Go можно выделить высокую скорость подключения при низкой скорости интернет-соединения, возможность запуска отдельных приложений, проброс устройств (принтеры, внешние накопители и т. д.), отсутствие дополнительной настройки, а также шифрование трафика посредством протокола SSH.

В этой статье мы произведем установку X2Go на ОС Ubuntu версии 22.04. Подключаться будем, используя официальную клиентскую программу для ОС Windows 10.

Install X2Go Client for Windows with winget

To install X2Go Client for Windows with winget, use the following command:


winget install --id=X2go.x2goclient -e

Get started today

Set up, deploy and upgrade all your devices from an intuitive, lightning-fast cloud platform.

FREE TRIAL

About X2Go Client for Windows

X2Go Client is a graphical client (Qt5) for the X2Go system. You can use it to connect to running sessions and start new sessions.

Last updated 14 days ago

v4.1.2.2-2020.02.13

Other apps by X2Go Client for Windows

Website

Download (.msi)

Publisher: X2Go Project

Tags

  • cloud
  • nx
  • online
  • vdi
  • x11

Related: Server install guide

Windows Client

There is a Windows client available to access remote linux servers.

The client can be downloaded from the x2go
site. Download
x2goclient-xxx-setup.exe from the Windows link, and install like any other installer.

Linux Client

First, install the X2Go PPA. While X2Go is available in the general repositories, this
allows us to track the newest patches and get additional add-ons not available in the
general repository.

sudo apt-add-repository ppa:x2go/stable -y

Then, install the package:

sudo apt update && sudo apt install -y x2goclient

Client Configuration — All OSes

Once the client is installed, configuration should be similar across OSes.

When the client opens, setup a new connection.

Set the following variables to connect to a serve:

  • Under the session tab:
    • Session name — This is an arbitrary string which will name the session
    • Host — An IP or DNS name with the server’s hostname
    • Login — SSH Username on the host
    • SSH port: defaults to 22, modify as needed
    • If possible, use the RSA/DSA key. This is more secure than password connections.
      Specify the path to your private key.
    • Click the ghost icon if you’d like to set a new icon. This is purely aesthetic.
    • IMPORTANT: Ensure the session type is correct. More about this below.
  • Input/Output tab:
    • Change the resolution to your desired size if you’d like.

Selecting Session Type

The session type is an important setting — it decides what remote shell is connected to.

The first option for session type is picking a Display Environment (KDE, MATE, XFCE,
etc). You must select a DE which is already installed on the system, or the connection
will fail. Selecting a DE will also force the user to connect to a background session,
not the console output session.

The next option is using “Connect to local desktop”. This is equivilent to a console
connection, and whatever is done on this view will also be visible to the system’s
monitors / VM console, if connected.

Finally, you can use “Single application” to run an X2Go session with just a single
application, instead of an entire remote window. This can be useful when you only ever
need to run a remote application. If this option is used, you must also specify the full
path to the application. This does not always work well on Windows (at least Windows 7
where I have tested it).

Connecting

Once the session details are saved, you’ll see a box on the right side of the client for
your session. Click the box to connect.

Уровень сложностиПростой

Время на прочтение3 мин

Количество просмотров34K

Однажды мне потребовалось организовать удаленный доступ к графическому интерфейсу Ubuntu. При этом необходимо было найти решение on-premise, поскольку использовать его предполагалось в корпоративной сети, где доступ к чувствительной информации исключал облачные решения вроде TeamViewer. Кроме того, канал связи с удаленной машиной обладал низкой пропускной способностью.

Сначала я перебрал несколько вариантов знакомых мне решений:

  • VNC (Virtual Network Computing) — старый протокол, который основан на передаче массивов пикселей по протоколу RFB (Remote Framebuffer) для организации удаленного соединения. Он оказался слишком медленным и требовательным к пропускной способности каналов передачи данных. Особенно это критично для корпоративных сетей, подключенных через VPN, которые хостятся в другой части света;

  • RDP (Remote Desktop Protocol) — протокол, который позволяет отправлять более сложные графические примитивы и высокоуровневые команды. Обычно используется для организации служб удаленных рабочих столов в Windows, но серверы для Linux также доступны, например xRDP. К минусам можно отнести сложность настройки/конфигурации на стороне хоста.

Я продолжил поиски и открыл для себя еще один способ организации удаленного рабочего стола — протокол NX.

Что такое NX?

В Linux для работы с графическими интерфейсами (GUI) используется X-сервер. Обычно окружения рабочего стола вроде GNOME, KDE или LXDE запускаются поверх Х-сервера, что позволяет запускать другие программы.

Компания NoMachine решила оптимизировать подключение к X-серверу по сети. Так появился протокол NX, который значительно снизил нагрузку на сеть.

NX — это не просто протокол доставки картинки, а, по сути, терминальный сервер для Linux. Он позволяет в удаленной операционной системе авторизовать пользователя, организовать для него полноценный сеанс и запустить в нем графическое окружение. Тот же VNC так не умеет.

На протяжении нескольких лет NoMachine развивала протокол как одноименный коммерческий продукт — NoMachine  — и как community-проект FreeNX. Выпуская четвертую версию продукта, NoMachine решила больше не развивать FreeNX. Но сообщество осталось, и от основного репозитория отделилось много форков. Многие были уверены, что лучше знают, как надо. И некоторые из них оказались правы. Так, кроме FreeNX появились X2Go, QVD, RX, Neatx (от Google). Все эти протоколы друг с другом несовместимы, а некоторые уже “умерли”. Я выбрал X2Go.

Преимущества X2Go

Главные преимущества open-source реализации протокола NX X2Go перед аналогами — это:

  • Высокая скорость в условиях низкой пропускной способности канала передачи данных;

  • Простота настройки на стороне хоста. Т.к. X2Go работает через SSH, то все, что нужно сделать, — это убедиться, что SSH работает и порт 22 открыт в настройках файервола;

  • Безопасность — протокол работает поверх SSH (пользователю доступны безопасные механизмы аутентификации, в том числе с ключами). Нет необходимости открывать дополнительный порт в настройках файервола.

Кроме того, X2Go позволяет запускать отдельное приложение на удаленном компьютере, например среду разработки; дает возможность подключаться к запущенной сессии пользователя; имеет свой брокер соединений (полезно для автоматизации рабочих мест).

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

Как установить X2Go

Установка сервера на примере Ubuntu

Стабильные версии сервера и клиента X2Go можно установить из штатных репозиториев актуальных релизов Ubuntu. Необходимо инсталлировать два пакета:

sudo apt-get install x2goserver x2goserver-xsession

Проверяем, что сервер запущен:

sudo systemctl status x2goserver

Если вы используете не Xfce, возможно, потребуется установить дополнительные пакеты для графических оболочек. Например, при использовании Lubuntu подключаем поддержку LFCE:

sudo apt-get install x2golxdebindings

Также может потребоваться создать нового пользователя, если нужен доступ с нескольких рабочих мест.

Установка клиента

Клиентское ПО X2Go для Windows, Linux и OS X можно скачать на сайте проекта. Большой минус — нет поддержки мобильных клиентов, при том что NoMachine поддерживает и Android и iOS. Но клиенты NoMachine с сервером X2Go несовместимы.

Если на локальном компьютере установлена Ubuntu, достаточно добавить пакет x2goclient:

sudo apt-get install x2goclient

А так выглядит клиент X2Go для Windows:

В случае если возникли проблемы с основным клиентом, написанным на Qt, можно использовать альтернативный клиент, написанный на wxPython. 

Таким образом я решил свою задачу. Благодарю сообщество и всех, кто работает над этой темой. Буду рад, если мой опыт кому-то поможет.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows debugger is found on this machine
  • Vaio event service windows 10 64 bit
  • Не отображается пользователь при входе в систему windows 10
  • Rearm windows 10 что это
  • Acpi atk0100 driver windows 7