On my Windows 10 laptop (may the Lord forgive me …)  I used bitwise, an awesome tool to connect to all UNIX server using SSH protocol, but without any X server.

In this lab, we shall use X2Go to connect to an CentOS 7.2 server thru an Xfce session.

Install X2Go client on Windows

Download the latest QT-base X2Go client, and install it :

x2go

 

 

 

 

x2go1

 

 

 

 

 

 

 

 

 

x2go2

 

 

 

 

 

 

 

 

 


x2go3

 

 

 

 

 

 

 

 

 

x2go4

 

 

 

 

 

 

 

 

 

x2go5

 

 

 

 

 

 

 

 

 

It’s done !

Install X2Go seerver on Linux (here : CentOS 7.2)

Add EPEL repository :

[root@x2go ~]# yum -y install epel-release

Install X2Go server :

[root@x2go ~]# yum -y install x2goserver
...
...
...

Installed:
  x2goserver.x86_64 0:4.0.1.19-6.el7

Dependency Installed:
  bc.x86_64 0:1.06.95-13.el7                                      fontconfig.x86_64 0:2.10.95-7.el7
  fontpackages-filesystem.noarch 0:1.44-8.el7                     fuse.x86_64 0:2.9.2-6.el7
  fuse-libs.x86_64 0:2.9.2-6.el7                                  fuse-sshfs.x86_64 0:2.5-1.el7
  libICE.x86_64 0:1.0.9-2.el7                                     libNX_X11.x86_64 0:3.5.0.32-3.el7
  libNX_Xcomposite.x86_64 0:3.5.0.32-3.el7                        libNX_Xdamage.x86_64 0:3.5.0.32-3.el7
  libNX_Xdmcp.x86_64 0:3.5.0.32-3.el7                             libNX_Xext.x86_64 0:3.5.0.32-3.el7
  libNX_Xfixes.x86_64 0:3.5.0.32-3.el7                            libNX_Xinerama.x86_64 0:3.5.0.32-3.el7
  libNX_Xpm.x86_64 0:3.5.0.32-3.el7                               libNX_Xrandr.x86_64 0:3.5.0.32-3.el7
  libNX_Xrender.x86_64 0:3.5.0.32-3.el7                           libNX_Xtst.x86_64 0:3.5.0.32-3.el7
  libSM.x86_64 0:1.2.2-2.el7                                      libX11.x86_64 0:1.6.3-2.el7
  libX11-common.noarch 0:1.6.3-2.el7                              libXau.x86_64 0:1.0.8-2.1.el7
  libXcomp.x86_64 0:3.5.0.32-3.el7                                libXcompext.x86_64 0:3.5.0.32-3.el7
  libXcompshad.x86_64 0:3.5.0.32-3.el7                            libXext.x86_64 0:1.3.3-3.el7
  libXfont.x86_64 0:1.5.1-2.el7                                   libXmu.x86_64 0:1.1.2-2.el7
  libXt.x86_64 0:1.1.4-6.1.el7                                    libfontenc.x86_64 0:1.1.2-3.el7
  libjpeg-turbo.x86_64 0:1.2.90-5.el7                             libpng.x86_64 2:1.5.13-7.el7_2
  libxcb.x86_64 0:1.11-4.el7                                      libxkbfile.x86_64 0:1.0.8-5.el7
  lsof.x86_64 0:4.87-4.el7                                        nx-libs.x86_64 0:3.5.0.32-3.el7
  nxagent.x86_64 0:3.5.0.32-3.el7                                 perl.x86_64 4:5.16.3-286.el7
  perl-Capture-Tiny.noarch 0:0.24-1.el7                           perl-Carp.noarch 0:1.26-244.el7
  perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7                    perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7
  perl-Config-Simple.noarch 0:4.59-15.el7                         perl-DBD-SQLite.x86_64 0:1.39-3.el7
  perl-DBI.x86_64 0:1.627-4.el7                                   perl-Data-Dumper.x86_64 0:2.145-3.el7
  perl-Encode.x86_64 0:2.51-7.el7                                 perl-Exporter.noarch 0:5.68-3.el7
  perl-File-BaseDir.noarch 0:0.03-14.el7                          perl-File-Path.noarch 0:2.09-2.el7
  perl-File-Temp.noarch 0:0.23.01-3.el7                           perl-File-Which.noarch 0:1.09-12.el7
  perl-Filter.x86_64 0:1.49-3.el7                                 perl-Getopt-Long.noarch 0:2.40-2.el7
  perl-HTTP-Tiny.noarch 0:0.033-3.el7                             perl-IO-Compress.noarch 0:2.061-2.el7
  perl-Net-Daemon.noarch 0:0.48-5.el7                             perl-PathTools.x86_64 0:3.40-5.el7
  perl-PlRPC.noarch 0:0.2020-14.el7                               perl-Pod-Escapes.noarch 1:1.04-286.el7
  perl-Pod-Perldoc.noarch 0:3.20-4.el7                            perl-Pod-Simple.noarch 1:3.28-4.el7
  perl-Pod-Usage.noarch 0:1.63-3.el7                              perl-Scalar-List-Utils.x86_64 0:1.27-248.el7
  perl-Socket.x86_64 0:2.010-3.el7                                perl-Storable.x86_64 0:2.45-3.el7
  perl-Sys-Syslog.x86_64 0:0.33-3.el7                             perl-Text-ParseWords.noarch 0:3.29-4.el7
  perl-Time-HiRes.x86_64 4:1.9725-3.el7                           perl-Time-Local.noarch 0:1.2300-2.el7
  perl-constant.noarch 0:1.27-2.el7                               perl-libs.x86_64 4:5.16.3-286.el7
  perl-macros.x86_64 4:5.16.3-286.el7                             perl-parent.noarch 1:0.225-244.el7
  perl-podlators.noarch 0:2.5.1-3.el7                             perl-threads.x86_64 0:1.87-4.el7
  perl-threads-shared.x86_64 0:1.43-6.el7                         psmisc.x86_64 0:22.20-9.el7
  pwgen.x86_64 0:2.07-1.el7                                       x2goagent.x86_64 0:3.5.0.32-3.el7
  xkeyboard-config.noarch 0:2.14-1.el7                            xorg-x11-font-utils.x86_64 1:7.5-20.el7
  xorg-x11-fonts-misc.noarch 0:7.5-9.el7                          xorg-x11-xauth.x86_64 1:1.0.9-1.el7
  xorg-x11-xkb-utils.x86_64 0:7.7-12.el7

Complete!

Install “x2goserver-xsession” package :

[root@x2go ~]# yum -y install x2goserver-xsession
...
...
...
Installed:
  x2goserver-xsession.x86_64 0:4.0.1.19-6.el7

Complete!

Xfce

We need to install Xfce as well :

[root@x2go ~]# yum -y groups install "Server with GUI"
[root@x2go ~]# yum -y groupinstall Xfce

Activate “graphical” target :

  • Current target :
[root@x2go ~]# systemctl get-default
multi-user.target
  • Toggle to “graphical” target :
[root@x2go ~]# systemctl set-default graphical.target
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/graphical.target.

Then reboot your server.

start an X2Go session

Start X2Go on your Windows workstation

x2go6

 

 

 

 

 

 

 

 

 

 

 

 

Set hostname or I.P. address, Linux user name, and select “xfce” session type

x2go7

 

 

 

 

 

 

 

 

 

Click on this New session, enter the password :

x2go8

 

 

 

 

 

 

 

 

 

x2go9

 

 

 

 

 

 

 

 

 

 

 

Install “xterm” package :

x2go10

 

 

 

 

 

 

 

 

 

 

 

From Now, you can launch an xterm session :

x2go11

 

 

 

 

 

 

 

 

 

 

 

Install “xclock” :

x2go12

 

 

 

 

 

 

 

 

 

 

 

It works !

x2go13

 

 

 

 

 

 

 

 

 

 

 

 

PDF24    Send article as PDF   

Leave a Reply

Your email address will not be published. Required fields are marked *


*