x2go

Post tags: | debian | linux | x2go |

Research

X2Go’s “X Server” is called “nxagent”. It is part of the nx-libs package. As of version 3.5.0.x, nxagent is forked from the X.org 6.9 codebase (from 2005.)

x2go - doc:installation:start

Client

The clients of X2Go need to be installed on machines that shall access remote machines running X2Go Server.

  • X2Go Client – based on Qt4
  • PyHoca-GUI – wxPython based system tray applet
  • PyHoca-CLI – X2Go command line client (CLI) written in Python

Server and Components

The core of every remote machine providing access via X2Go is the X2Go Server. All other components are add-on products for X2Go Servers and can optionally be installed (or left out).

  • X2Go Server
  • X2Go Desktop Bindings
  • X2Go Desktop Sharing
  • X2Go Client-Side Printing
  • X2Go Session Broker

doc:installation:x2goserver

Add our X2Go Debian Repository.
Get the repository archive key
        apt-key adv --recv-keys --keyserver keys.gnupg.net E1F958385BFE2B6E
        
editor /etc/apt/sources.list.d/x2go.list
        
         --- X2Go Repository (release builds)
        deb http://packages.x2go.org/debian wheezy main
         --- X2Go Repository (sources of release builds)
        deb-src http://packages.x2go.org/debian wheezy main
        
         --- X2Go Repository (nightly builds)
         --- #deb http://packages.x2go.org/debian wheezy heuler
         --- X2Go Repository (sources of nightly builds)
         --- #deb-src http://packages.x2go.org/debian wheezy heuler
        
apt update and install
        apt-get update
        apt-get install x2go-keyring && apt-get update
         --- Now you can search for X2Go related package that are now available for your APT system:
         --- apt-cache search x2go
        apt-get install x2goserver x2goserver-xsession
        

Poking and Prodding

ps -ef |grep x2
        root      2492     1  0 17:28 ?        00:00:01 /usr/bin/perl /usr/sbin/x2gocleansessions
        root      2493     1  0 17:28 ?        00:00:00 startpar -f -- x2goserver
        craig     4208     1  0 17:33 ?        00:00:01 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp -nolisten tcp -R -auth /home/craig/.Xauthority -geometry 800x600 -name X2GO-craig-50-1420331580_stRTERMINAL_dp24 :50
        craig     4261     1  0 17:33 ?        00:00:00 /bin/bash /usr/bin/x2goruncommand 50 4208 craig-50-1420331580_stRTERMINAL_dp24 30002 TERMINAL pulse R
        
pstree -p
        init(1)─┬─VBoxService(2000)─┬─{VBoxService}(2002)
                │                   └─{VBoxService}(2013)
                ├─sshd(2462)─┬─sshd(2525)───sshd(2610)───bash(2611)───su(6497)───bash(6513)
                │            └─sshd(3959)───sshd(3964)
                ├─startpar(2493)
                ├─x2goagent(4208)
                ├─x2gocleansessio(2492)
                └─x2goruncommand(4261)───rxvt(4364)───bash(4374)─┬─iceweasel(9198)─┬─{iceweasel}(9213)
                                                                 │                 └─{iceweasel}(12880)
                                                                 └─pstree(12908)
        
2492 /usr/bin/perl /usr/sbin/x2gocleansessions
        2493 startpar -f -- x2goserver
        4208 /usr/lib/nx/../x2go/bin/x2goagent -extension XFIXES -nolisten tcp
               -nolisten tcp -R -auth /home/craig/.Xauthority -geometry 800x600
               -name X2GO-craig-50-1420331580_stRTERMINAL_dp24 :50
        4261 /bin/bash /usr/bin/x2goruncommand 50 4208 craig-50-1420331580_stRTERMINAL_dp24
               30002 TERMINAL pulse R