X2Go KDrive

What is X2Go KDrive ?

X2Go KDrive is a new kdrive X Server for X2Go. It could be used instead of x2goagent. X2Go KDrive works similar to Xephyr and based on it's code. It won't replace x2goagent, users will be able to chose if they want to run their sessions in x2goagent or in X2Go KDrive.

Why do we need X2Go KDrive?

The main reason - we want to be able to run modern desktops such as Unity, KDE-5, Gnome-3 and the applications built with the latest toolkits without limitations.

What is the difference between x2goagent and X2Go KDrive

x2goagent (or nxagent) is based on NX technologies. It's basically kind of X-proxy (like Xnest). It accepting X-protocol requests from X-Client and forwarding them to remote X-Server. In opposite, X2Go KDrive is a real X-Server (like Xephyr). It's processing the requests from X-Client and rendering images on the remote display, like normal X-Server rendering them into the graphic display, using the video driver. You could say, that the difference between x2goagent and X2Go KDrive it's the same as difference between Xnest and Xephyr.

Advantages of x2goagent

NX-Protocol using the network transparency of X-protocol. It mean's that instead of sending images over network, it sending the X-requests like “create window” or “move window from one position to another” or “write text in the window”. So if you running legacy X-applications, it'll work much faster on the slow networks, than protocols, which are transferring images between server and client.

Advantages of X2Go KDrive

1. X2Go KDrive based on the recent X.Org code

Unlike the NX-libraries, which are based on obsolete X.Org-6, X2Go KDrive is based on the recent X.Org-7. It brings multiply advantages:

2. X2Go KDrive is a real X-Server

If x2goagent is just a proxy between X-Servers on the server and client sides, X2Go KDrive is a standalone X-Server. It brings a lot of advantages over NX-protocol:

How X2Go KDrive works

X2Go KDrive works similar to Xephyr with only difference, that it's not rendering frames in the X-window but transferring them instead over the network to x2gokdriveclient. x2gokdriveclient running on the client computer, rendering the frames, capturing the input events and sending them back to the server.

How to use X2Go KDrive

x2gokdriveclient and x2gokdrive binaries are made to be compatible with nxproxy and x2goagent. You can just rename x2gokdriveclient to nxproxy and x2gokdrive to x2goagent and start the X2Go session using X2Go Client. It works only if X2Go Client is running on Linux. The versions of X2Go Client and X2Go Server, which can run parallel x2goagent and X2Go KDrive sessions are coming soon.

Please keep in mind:

We don't have a binary builds yet. If you want to try it, you need to build it by yourself or wait until binary packages are ready.

Or just take a look at screenshots:

KDE-5 on Open SUSE Leap 42.3

x2gokdriveclient display menu

Gnome-3 in SLE-classic mode on SLES 12sp1

Gnome-3 in modern look on Debian Stretch.

How to build X2Go KDrive

download the x2gokdrive from git:

x2gokdrive

We assuming, that you are familiar with make, Xorg and know how to build software from sources.

You'll need a xorg-server sources (1.19.2), zlib, libpng and libjpeg.

Configure Xorg to build xkdrive and start a build process (make). After that copy x2gokdrive directories in xorg-server/hw/kdrive, than change to xorg-server/hw/kdrive/x2gokdrive and run make x2go. This should build x2gokdrive binary.

The simplest way to build x2gokdrive if you are using your system source packages. I'll give some examples for Debian, SLE12sp1 and OpenSUSE Leap 42.3

Debian Stretch

SLES 12SP1 or OpenSUSE Leap 42.3

How to build x2gokdrive client

To build x2gokdriveclient you'll need QT-5.

What X2Go KDrive already can do

What need to be done (sorted by priority)