Twitter Updates

    follow me on Twitter

    G-AVLN in front of her home

    G-AVLN in front of her home

    Mostly Unix and Linux topics. But flying might get a mention too.

    Monday, April 14, 2008

    Ubuntu on XPS M1330 - Installing Citrix

    Last time I tried Citrix on Ubuntu, it failed, reporting the lack of OpenMotif libraries. Having researched the dependency, I now realise that I need to install libmotif3 first. With the system up to date, and all repositories set up, I can now do it:

    root@cherry:~# apt-get install libmotif3
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed
    libmotif3
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 1283kB of archives.
    After unpacking 3129kB of additional disk space will be used.
    Get: 1 http://gb.archive.ubuntu.com gutsy/multiverse libmotif3 2.2.3-2 [1283kB]
    Fetched 1283kB in 22s (57.8kB/s)
    Selecting previously deselected package libmotif3.
    (Reading database ... 88954 files and directories currently installed.)
    Unpacking libmotif3 (from .../libmotif3_2.2.3-2_i386.deb) ...
    Setting up libmotif3 (2.2.3-2) ...
    Processing triggers for libc6 ...
    ldconfig deferred processing now taking place
    root@cherry:~# exit
    alina@cherry:~$

    Now for Citrix: go to Citrix download site: http://www.citrix.com/site/ss/downloads/ and follow the links for "Clients" then "Linux". Identify the tarball (.tar.gz file) for your architecture and download it. Unless you have modified the default browser settings, the citrix client should have landed on your Desktop. By the way, notice that the following steps are done as ordinary user. That means that I am talking here about the Desktop of the user you are logged on as, rather than the desktop of the user "root".

    alina@cherry:~$ cd Desktop
    alina@cherry:~/Desktop$ tar zxvf en.linuxx86.tar.gz
    ./
    ./PkgId
    ./install.txt
    ./eula.txt
    ./readme.txt
    ./setupwfc
    ./linuxx86/
    ./linuxx86/hinst
    ./linuxx86/linuxx86.cor/
    ...

    The listing above has been concatenated, there should have been a lot more files whizzing in front of your eyes!

    In the current location (wherever you were when you unpacked the tarball), there should be the setup script (setu
    pwfc). Run it, and follow the prompts. If you accept the defaults (wise move!) then the whole process is relatively painless:

    alina@cherry:~/Desktop$ ./setupwfc
    Citrix Presentation Server Client 10.6 setup.

    Copyright 1996-2007 Citrix Systems, Inc. All rights reserved.

    Citrix, Independent Computing Architecture (ICA), Program Neighborhood,
    MetaFrame, and MetaFrame XP are registered trademarks and
    Citrix Presentation Server, Citrix Access Suite, and SpeedScreen are
    trademarks of Citrix Systems, Inc. in the United States and other countries.

    Microsoft, MS, MS-DOS, Outlook, Windows, Windows NT, and BackOffice are
    either registered trademarks or trademarks of Microsoft Corporation in
    the United States and other countries.

    All other Trade Names referred to are the Servicemark, Trademark,
    or Registered Trademark of the respective manufacturers.

    User install mode.

    Select a setup option:

    1. Install Citrix Presentation Server Client 10.6
    2. Remove Citrix Presentation Server Client 10.6
    3. Quit Citrix Presentation Server Client 10.6 setup

    Enter option number 1-3 [1]: 1

    Please enter the directory in which Citrix Presentation Server Client is to be installed.
    [default /home/alina/ICAClient/linuxx86]
    or type "quit" to abandon the installation:

    The parent directory /home/alina/ICAClient does not exist.
    Do you want it to be created? [default y]:

    You have chosen to install Citrix Presentation Server Client 10.6 in /home/alina/ICAClient/linuxx86.

    Proceed with installation? [default n]: y

    CITRIX(R) LICENSE AGREEMENT

    Use of this component is subject to the Citrix license covering the
    Citrix product(s) with which you will be using this component. This
    component is only licensed for use with such Citrix product(s).

    CTX_code EP_T_A34320

    Select an option:

    1. I accept
    2. I do not accept

    Enter option number 1-2 [2]: 1
    Installation proceeding...

    Checking available disk space ...

    Disk space available 117588256 K
    Disk space required 4961 K


    Continuing ...
    Creating directory /home/alina/ICAClient/linuxx86
    Core package...
    Setting file permissions...
    Integrating with browsers...

    Integration complete.
    Do you want to integrate the Citrix client with KDE and GNOME? [default y]:

    Select a setup option:

    1. Install Citrix Presentation Server Client 10.6
    2. Remove Citrix Presentation Server Client 10.6
    3. Quit Citrix Presentation Server Client 10.6 setup

    Enter option number 1-3 [1]: 3


    This *should* be it. Oh no, not yet! When I downloaded Citric client for RHEL (Red Hat Enterprise Linux), I was able to connect to the server at this point. Here, an essential SSL certificate was missing.

    So, one more preparation step, to create a file under the keystore directory, that will store the certificate for SSL Citrix.

    Edit a (new) file, called: ~/ICAClient/linuxx86/keystore/cacerts/UTN-USERFirst-Hardware.crt and paste into it the following lines (including those with BEGIN and END):

    -----BEGIN CERTIFICATE-----
    MIIEdDCCA1ygAwIBAgIQRL4Mi1AAJLQR0zYq/mUK/TANBgkqhkiG9w0BAQUFADCB
    lzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2Ug
    Q2l0eTEeMBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExho
    dHRwOi8vd3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3Qt
    SGFyZHdhcmUwHhcNOTkwNzA5MTgxMDQyWhcNMTkwNzA5MTgxOTIyWjCBlzELMAkG
    A1UEBhMCVVMxCzAJBgNVBAgTAlVUMRcwFQYDVQQHEw5TYWx0IExha2UgQ2l0eTEe
    MBwGA1UEChMVVGhlIFVTRVJUUlVTVCBOZXR3b3JrMSEwHwYDVQQLExhodHRwOi8v
    d3d3LnVzZXJ0cnVzdC5jb20xHzAdBgNVBAMTFlVUTi1VU0VSRmlyc3QtSGFyZHdh
    cmUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCx98M4P7Sof885glFn
    0G2f0v9Y8+efK+wNiVSZuTiZFvfgIXlIwrthdBKWHTxqctU8EGc6Oe0rE81m65UJ
    M6Rsl7HoxuzBdXmcRl6Nq9Bq/bkqVRcQVLMZ8Jr28bFdtqdt++BxF2uiiPsA3/4a
    MXcMmgF6sTLjKwEHOG7DpV4jvEWbe1DByTCP2+UretNb+zNAHqDVmBe8i4fDidNd
    oI6yqqr2jmmIBsX6iSHzCJ1pLgkzmykNRg+MzEk0sGlRvfkGzWitZky8PqxhvQqI
    DsjfPe58BEydCl5rkdbux+0ojatNh4lz0G6k0B4WixThdkQDf2Os5M1JnMWS9Ksy
    oUhbAgMBAAGjgbkwgbYwCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8wHQYD
    VR0OBBYEFKFyXyYbKJhDlV0HN9WFlp1L0sNFMEQGA1UdHwQ9MDswOaA3oDWGM2h0
    dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9VVE4tVVNFUkZpcnN0LUhhcmR3YXJlLmNy
    bDAxBgNVHSUEKjAoBggrBgEFBQcDAQYIKwYBBQUHAwUGCCsGAQUFBwMGBggrBgEF
    BQcDBzANBgkqhkiG9w0BAQUFAAOCAQEARxkP3nTGmZev/K0oXnWO6y1n7k57K9cM
    //bey1WiCuFMVGWTYGufEpytXoMs61quwOQt9ABjHbjAbPLPSbtNk28Gpgoiskli
    CE7/yMgUsogWXecB5BKV5UU0s4tpvc+0hY91UZ59Ojg6FEgSxvunOxqNDYJAB+gE
    CJChicsZUN/KHAG8HQQZexB2lzvukJDKxA4fFm517zP4029bHpbj4HR3dHuKom4t
    3XbWOTCC8KucUvIqx69JXn7HaOWCgchqJ/kniCrVWFCVH/A7HFe7fRQ5YiuayZSS
    KqMiDP+JJn1fIytH1xUdqWqeUQ0qUZ6B+dQ7XnASfxAynB67nfhmqA==
    -----END CERTIFICATE-----

    1 comment:

    Sarita Shekhar said...

    Hi,

    I am trying to install libmotif3.deb locally into my unix home directory, and not at the root or as superuser. Is there a mechanism to do this? Thanks!

    Blog Archive