Connect To Citrix Access Gateway On Ubuntu 9.10

Posted: 15th November 2009 by Joep Cremers in Software
Tags: , , ,

Download Citrix Client 11.0 For Ubuntu

Go to http://citrix.com/English/ss/downloads/
Search Downloads by Product > Citrix Xenapp > Linux Client

Select:

Version 11.0 English German Japanese 3/2/09 2.1 mb .tar.gz
x86 client – requires OpenMotif v.2.3.1

Install Citrix Client For Linux

  1. $ sudo aptitude install libmotif3
  2. $ sudo tar -xvf linuxx86-11.0.140395.tar.gz
  3. $ sudo ./setupwfc

Select a setup option:
1. Install Citrix Receiver for Linux 11.0
2. Remove Citrix Receiver for Linux 11.0
3. Quit Citrix Receiver for Linux 11.0 setup
Enter option number 1-3 [1]: <1>

Please enter the directory in which Citrix Receiver for Linux is to be installed.
[default /home/ubuntu/ICAClient/linuxx86]
or type “quit” to abandon the installation: <enter>

The parent directory /home/ubuntu/ICAClient does not exist.
Do you want to create it? [default y]: <y>

You have chosen to install Citrix Receiver for Linux 11.0 in /home/ubuntu/ICAClient/linuxx86. Proceed with installation? [default n]: <y>

Select an option:
1. I accept
2. I do not accept
Enter option number 1-2 [2]: <1>

Continuing …
Creating directory /home/ubuntu/ICAClient/linuxx86
Core package…
Setting file permissions…
Integrating with browsers…
Integration complete.
Do you want to integrate Citrix Receiver with KDE and GNOME? [default y]: <y>

Do you want GStreamer to use the plugin from this client? [default y]: <y>

Select a setup option:
1. Install Citrix Receiver for Linux 11.0
2. Remove Citrix Receiver for Linux 11.0
3. Quit Citrix Receiver for Linux 11.0 setup
Enter option number 1-3 [2]: <3>

Install Certificates in Citrix Client

Now go to your Citrix Access Gateway website. You will get a error the a certificate is not trusted. This is not a message from Firefox, but from the ICAClient.

You have not chosen to trust “Thawte Premium Server CA”, the issuer of the server’s security certificate (SSL error 61).

citrix_client_ssl_error

This message depends on your certificate. Just replace “Thawte Premium Server CA” with your Certificate Authority. First we have to export the certificate from Firefox and copy it to the ICAClient installation.

Export CA Certificate

Firefox > Edit > Preferences > Advanced > Encryption > View Certificates > Authorities

ubuntu_certificate_manager

Now select your CA and export. Save certificate to file as a X.509 Certificate (DER).

Copy CA Certificate

  1. Rename the exported certificate from .cer to .crt and copy them to the following directory of the ICA Client.
  2. $ sudo cp *.crt /usr/lib/ICAClient/keystore/cacerts

You will find the Client under Applications > Internet > Citrix Receiver

If it doesn’t start, you have to execute the following:

  1. $ cd /usr/lib/
  2. $ sudo ln -s libXm.so.3.0.2 libXm.so.4

Update 24.01.2010: Create A Drive Mapping From Citrix To Ubuntu

  1. Create directory citrixmapping in your home folder
  2. Start Citrix Receiver and go to Tools > Settings > Drive Mapping
  3. Click ‘Enable Drive Mapping’ on the bottom
  4. Click the small box (Enable) to the left of the glasses (Read) and insert your directory. If you want a read-only mapping click the pencil (Write)
  5. Start your Citrix application and go to z:

Share or Bookmark:
  • StumbleUpon
  • Digg
  • del.icio.us
  • Reddit
  • Twitter
  • Technorati
  • Facebook
  • LinkedIn
  • Hyves
  • Google Bookmarks
  • Add to favorites
Related posts:
  1. Install Cisco VPN Client On Ubuntu 9.10
  2. Installing Ubuntu 8.04 LTS Server and VMware Server 2
  3. Install Ubuntu 9.04 On PS3
  4. Install Ubuntu 9.10 On PS3
  5. Connect To Cisco VPN Using VPNC On Ubuntu 9.10
  1. Brian says:

    Thank you. I needed to use this to do work in my lab at school.

  2. Brian says:

    I am having one problem. I’m still getting the certificate not trusted message. I copied the certificate like you said. Maybe I exported the wrong one, named it wrong, or put it in the wrong location?

  3. Karl says:

    In Ubuntu 9.10 I followed your procedure. There is now a Ubuntu menu ‘Application > Internet > Citix Receiver’, but no client, and nothing happens. I did install libmotif3. More suggestions?

  4. Joep Cremers says:

    @Karl
    Have you tried the last part in the post?
    First reboot and then execute the following:
    1. $ cd /usr/lib/
    2. $ sudo ln -s libXm.so.3.0.2 libXm.so.4

  5. Joep Cremers says:

    @Brian
    The filename doesn’t matter, just make sure you choose the right one and export it as X.509 Certificate (DER) and save it as .crt
    Save it in your home directory and copy it to /usr/lib/ICAClient/keystore/cacerts

  6. Craig says:

    Hello,
    I have an interesting issue. I have properly installed the libmotif3 package and the Citrix client on my Linux Mint 8 machine (Ubuntu 9.10 is the underlying operating system) and I can launch applications from a remote server with no problem. My issue is this: when using a remote application, I am unable to browse (or read/write) to files located on my machine. When I try to browse to my machine, my machine does not even show up as an option to browse to. I have used the Citrix client on an XP machine before and I understand that I’m not looking for just simply the “C” drive, but I am looking for the main drive on my machine which is labeled differently. I did not follow the instructions on replacing the certificates yet, simply because I am not receiving the error message described above. If anyone could help me with this problem, I would appreciate it greatly.

  7. Joep Cremers says:

    @Craig
    I added “Create A Drive Mapping From Citrix To Ubuntu” to the post.

  8. Craig says:

    Thank you very much, I can now access files in the folder I specify! I only have one other question now… when I launch an application that requires Citrix, everything goes smooth, but when I launch the Citrix client from my operating system’s menu, then it launches OK, but I also have a window that comes up and won’t go away titled “PnaAuthDialog_popup”. Do you know why this window appears and if it is normal for it to be there and not go away? Thank you very much for your help!

  9. Craig says:

    … I forgot to say something about that mysterious window… the window titled “PnaAuthDialog_popup” only has a title and that’s it! The main part of the window where the content should be is completely blank. There is only a title and the window border. Thanks again.

  10. Craig says:

    For some reason, the post I made before the one above did not make it to this page.

    Mr. Cremers, I had mentioned that the drive mapping help worked, thanks! Then I mentioned that I have an unwanted window that pops up when I launch the Citrix client from the operating system menu. This unwanted window is titled “PnaAuthDialog_popup” and it has no content in the main part of the window. This window does not appear when I launch an application through Citrix. It only appears when I launch the Citrix client through the operating system’s menu. Also, it will not go away no matter what I do. It finally goes away when I exit the client. Thank you for any help you might give!

  11. Craig says:

    OK, now that post is showing up… I don’t know what’s going on. I apologize.

  12. Scot says:

    This was great! I did not even have to copy the certificate, because when I went to my Citrix Access Gateway website, I was able to work with no problem.

  13. Glyn says:

    I am having the same issue as Craig with this pnaauthdialog_popup box. I think it is something to do with the licence that you need to agree to, but without anything in the box you are unable to. Had a similar problem on another Linux system, but the only thing I can remember from that is I had to use the touch command on a file in the .ICAClient folder. However I cannot seem to see this file under Ubuntu. Any ideas?

  14. paolo marino says:

    Thanks a lot! worked perfectly for me.

  15. peter says:

    Hello,
    Everything went fine up until the certificate part. I do not have a /usr/lib/ICAClient/keystore/cacerts path on my system. Can I create this manually and copy the .crt there?

  16. Mallik says:

    Hello i have an intersting problem, i did install all the required citrix and certificates, i am able to launch the remote desktop window after enter the remote machine name /ip address.. it is getting disappeared and doing nothing, remote machine is not getting open

    please hlep me here how to remote my machine

    thanks
    Mallik

  17. lw says:

    Thank you for this concise and illustrative tutorial, it was dead-on !

  18. Dirk says:

    Also for me this was the solution for the certificate problems I had for months; thank you very much! I had first tried to put the certificates in the directory:
    /usr/share/ca-certificates/mozilla, which was recommended at a forum. But only the directory /usr/lib/ICAClient/keystore/cacerts worked.

  19. Sebastien says:

    PB with pnaauthdialog_popup box:
    I have the same issue as Craig on Ubuntu 10.04 LTS with Citrix receiver 11.100. It seems that the problem could be due to compiz and some graphic driver. To work arround, I disabled the visual effect and now the pnaauthdialog_popup box is not displayed.
    May be it can help someone.
    Sébastien

  20. Tony says:

    The problem with the pnaauthdialog_popup, while goes away with the disabling of compiz, this does not fix the problem. There are some environments (such as using AWN) where disabling compiz is not an option.

  21. Segey says:

    Hello,
    I need to setup network access to other network via the Citrix Access Gateway. Is this solution helps me? I use ubuntu 10.04. And i want to make this ubuntu machine as router for other computers in my local network for access to other network.

    Thanks!

  22. Evan says:

    Ubuntu users use this cmd to solve ssl error 61 problem instead of export, save, rename, and copy

    “cp /usr/share/ca-certificates/mozilla/* /usr/lib/ICAClient/keystore/cacerts/”

    Fixes all certificate problems

  23. Joep Cremers says:

    @Evan
    That works too and is much easier. Thanks.