X2Go is a solution for remotely accessing X11-based desktops and applications more efficiently than using standard X11 forwarding. The X2Go server is available for Linux, and the client is available for all major desktop operating systems.
Users must be authorized before they can use X2Go with SENS servers. Please send email to senshelp@buffalo.edu if you have a need to use the X2Go software with SENS servers.
The client component of X2Go should be installed on any device that will be used to access a remote system.
For University-owned PCs maintained by SENS, the X2Go client can be installed from Software Center.
For personally-owned Pcs, the X2Go client for Windows can be obtained from the X2Go downloads page. The installer contains all components required to use the X2Go client.
XQuartz is a required dependency of the X2Go client and should be installed if not present. It is installed by default on University-owned systems that are maintained by SENS.
For University-owned Macintosh computers maintained by SENS, the X2Go client can be installed from JAMF Self Service.
For personally-owned Macintosh computers, the X2Go client for macOS can be obtained from the X2Go downloads page.
X2Go is available in the default Ubuntu package repositories. To install the X2Go client, run the following command:
$ sudo apt install x2goclient
X2Go is available in the default Fedora package repositories. To install the X2Go client, run the following command:
$ sudo yum install x2goclient
X2Go is available in EPEL. To enable EPEL repositories, run the following command:
$ sudo yum install epel-release
Once the EPEL repos are enabled, the X2Go client can be installed by running the following command:
$ sudo yum install x2goclient
The FreeBSD X2Go client can be obtained from this FreshPorts page.
The X2Go client source may be found on the X2Go web site.
In order to connect to the SENS X2Go Broker, the device must first be connected to UB’s network. This can be done by connecting to UB’s Wi-Fi or Ethernet while on-campus or by connecting to UB’s VPN while off-campus.
Once connected to UB’s network, follow the set of instructions for your operating system to begin a broker session.
The easiest method for connecting to the broker involves creating a shortcut that can be reused for future connections.
"C:\Program Files (x86)\x2goclient\x2goclient.exe" --broker-url=ssh://lts-broker.sens.buffalo.edu/usr/bin/x2gobroker-ssh
SENS X2Go Broker
".Open this shortcut to connect to the SENS X2Go Broker. This shortcut may be moved or renamed as desired.
Here is a shortcut application. Opening this application will open the X2Go client with the required options to connect to the SENS X2Go Broker.
Alternatively, open Terminal and enter the following command.
/Applications/x2goclient.app/Contents/MacOS/x2goclient --broker-url=ssh://lts-broker.sens.buffalo.edu/usr/bin/x2gobroker-ssh
Open a terminal application and enter the following command.
x2goclient --broker-url=ssh://lts-broker.sens.buffalo.edu/usr/bin/x2gobroker-ssh
Once it has started, X2Go will prompt for your credentials. Enter your UBITName and password.
When connected to the X2Go broker, several session options will be presented. The following subsections describe each session option.
This option will start and connect to a full Linux desktop environment running remotely on a SENS server. It may be used similarly to a lab workstation.
This mode offers the highest compatibility with various applications, but it requires the most overhead. All applications launched in this mode are constrained to the desktop window, while other options allow application windows to behave like other windows on the local device.
To end a desktop session, log out of it using the option in the desktop’s menu bar.
This option will allow a variety of applications to be launched on a SENS server while behaving similarly to the local devices’ windows. Once the connection has been established, a menu of applications can be opened by clicking the Applications… button (which resembles a CD) in the X2Go window.
To end the session, select the Terminate button (which resembles a power icon) in the X2Go window.
⚠️ Due to resource and network contraints, applications may take a minute or two to launch. Please allow some time for the application to launch before attempting to launch it again.
ℹ️ Some applications may have difficulty running in this mode. If that is the case, please try running them again with a Full Desktop connection.
This option will open a terminal application on a SENS server and display the terminal as a window on the local device. This terminal may be used to launch both command-line and graphical applications, similar to the terminal on a lab workstation.
To end the session, close all terminal windows.
ℹ️ Some applications may have difficulty running in this mode. If that is the case, please try running them again with a Full Desktop connection.
If the connection to the server is lost or the suspend option is used, the X2Go session will enter a suspended state. In a suspended session, applications will continue to run but will have reduced access to system resources until the session is resumed. If system resources are depleted, suspended sessions may be terminated.
Users are limited to having one session at a time. If a user reconnects or attempts to start a new session while one session already exists, they will be prompted to resume or terminate the existing session.
One session can be used to run multiple applications simultaneously. However, we ask users to please be mindful of the limited resources on this system and use no more than is necessary for the work they are currently performing.